Excerpts from David Olofson's message of 2010-11-13 18:24:26 +0100: > On Saturday 13 November 2010, at 18.07.22, Philipp Überbacher > <hollun...@lavabit.com> wrote: > [...] > > One thing I wonder about is the exact value of the center. I've seen > > panning in software between -1 and +1 and a center of +/- 0 where it > > made a difference whether it was + or -. > > That sounds like a bug to me. Incorrect sign special-casing, where the signal > is inverted in one of the cases...? > > Although -0.0f is physically different from 0.0f on many platforms, that sign > bit shouldn't affect the results in this case, as the value is still 0.
I don't remember exactly what was off, whether it was just the display or whether it resulted in different audio. Nevertheless it's annoying and I don't quite know how to get rid of it entirely. Maybe display -0 or +0 as 0? In some languages you need to be tricky to achieve even that, java comes to mind as it treats -0 == +0. _______________________________________________ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev