[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [fluid-dev] File output with FluidSynth API
From: |
David Henningsson |
Subject: |
Re: [fluid-dev] File output with FluidSynth API |
Date: |
Thu, 18 Mar 2010 01:59:59 +0100 |
User-agent: |
Thunderbird 2.0.0.23 (X11/20090817) |
Pedro Lopez-Cabanillas wrote:
> On Friday, March 12, 2010, Felix Krause wrote:
>> I see the problem; fluid_curtime casts the seconds from glong to an
>> unsigned int, which leads to an overflow - especially when you multiply the
>> seconds with 1000. Are you on a 64bit linux? That might be the reason why
>> you don't have problems with it - int has afaik 8 byte on 64bit, but only 4
>> on 32bit (I'm compiling 32bit). However, the code works on Windows compiled
>> as 32bit, but the time format could be another one there...
>
> Yes, it is an overflow. I've committed a fix in revision 286. Please test.
Thanks for fixing!
// David
- Re: [fluid-dev] File output with FluidSynth API, Felix Krause, 2010/03/02
- Re: [fluid-dev] File output with FluidSynth API, David Henningsson, 2010/03/04
- Re: [fluid-dev] File output with FluidSynth API, Felix Krause, 2010/03/05
- Re: [fluid-dev] File output with FluidSynth API, David Henningsson, 2010/03/06
- Re: [fluid-dev] File output with FluidSynth API, Felix Krause, 2010/03/11
- Re: [fluid-dev] File output with FluidSynth API, David Henningsson, 2010/03/11
- Re: [fluid-dev] File output with FluidSynth API, Felix Krause, 2010/03/11
- Re: [fluid-dev] File output with FluidSynth API, Pedro Lopez-Cabanillas, 2010/03/17
- Re: [fluid-dev] File output with FluidSynth API,
David Henningsson <=