Re: OT(ish): Strange coding problem (audio related)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2011-01-28 at 06:28 -0600, Gabriel Beddingfield wrote:
> On Fri, Jan 28, 2011 at 6:09 AM, James Stone <jamesmstone@xxxxxxxxx> wrote:
> > .. I wonder if this bugfix should be added to some other projects? I
> > think the same fft.h is used in one of the functions in audacity?
> > Perhaps someone who is on LAD could cross-post this?
> 
> First, should probably check if the value should be floor()'d or
> round()'ed.  The "fix" I have above is rounded... but I haven't dug in
> to the algo see if it should actually be floored().

I wouldn't use the log operation at all:

for (k = 0, le = 2; (1 << k) < fftFrameSize; k++)

Peter.

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/listinfo/linux-audio-user


[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux