[Clam-devel] AudioFileMemoryLoader patch

Pawel Bartkiewicz tuuresairon at gmail.com
Thu Jun 26 05:59:08 PDT 2008


The position is being set to 0 when the network starts now. This patch
also contains the fixes from
AudioFileMemoryLoader-bounds_and_isconfigured.patch.


On 24/06/2008, Pawel Bartkiewicz <tuuresairon at gmail.com> wrote:
> Files can be looped now. I've tested it quite thoroughly and I can
> find no more errors.
>
>
> On 23/06/2008, Pawel Bartkiewicz <tuuresairon at gmail.com> wrote:
>> Some small fixes suggested by David:
>> - added bounds to the position InControl
>> - replaced redundant Configure with IsConfigured (Configure was being
>> called twice for the inner MonoAudioFileReader)
>> and a small fix in the header file.
>>
>> The loop option doesn't work yet.
>>
>>
>> On 23/06/2008, Pawel Bartkiewicz <tuuresairon at gmail.com> wrote:
>>> On 21/06/2008, David García Garzón <dgarcia at iua.upf.edu> wrote:
>>>> in all platforms? Belive us, the delta is needed. There is arithmetic
>>>> involved, when comparing you are substracting and comparing to 0. And it
>>>> is
>>>> safer if you use .9/samplerate delta instead 1./samplerate. Just in
>>>> case.
>>>
>>> Ok, you're right, I haven't thought about that.
>>>
>>>> Also include <cmath> instead <math.h> and std::fabs instead fabs. If
>>>> there
>>>> is
>>>> no need for the include to be in the hxx move it to the cxx.
>>>
>>> Sorry, I did that by mistake and didn't notice.
>>>
>>>> I dont think that latest revisions solve that. The step value is the
>>>> step
>>>> for
>>>> the slider, not for the spinbox. A related todo is making the control
>>>> sender
>>>> have an step smaller than .01. Anyway when we address the feedback
>>>> control
>>>> part, we could provide a better option.
>>>
>>> Yes, it still doesn't work as expected in the newest revision.
>>>
>>>> Just svn add it and provide it as part of the next patch.
>>>
>>> Well... as you wish. I'm not sure how the binary .pos file will be
>>> handled, though.
>>>
>>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: AudioFileMemoryLoader-bounds_and_isconfigured_and_rewind.patch
Type: text/x-diff
Size: 1543 bytes
Desc: not available
URL: <http://lists.clam-project.org/pipermail/clam-devel-clam-project.org/attachments/20080626/8d4c3a18/attachment-0003.patch>


More information about the clam-devel mailing list