Claudio, Have you pushed your Tremor support to cvs? I just downloaded a snapshot but did not see any enable option for tremor in configure -h Regards, Shane
On 3/5/07, Claudio Ciccani <[EMAIL PROTECTED]> wrote: > Rich Rattanni wrote: > > Claudio: > > This morning Shane and I recompiled libvorbis and FusionSound with > > the -msoft-float option. It did not have any effect on the audio (still > > sounds distorted). I tried using both my application and music.c to > > play audio. (was recompiling libvorbis and FusionSound with > > -msoft-float all that was required?) > > > > I'm not expert about gcc's internals, but if float emulation is > implemented using 16.16 fixed point numbers, it doesn't work because > FusionSound requires larger integer part: internally volume is > represented as a 9.23 fixed point number, therefore the floating value > must be multiplied by 2^23 to obtain the internal value (this happens in > src/core/playback.c, fs_playback_set_volume()). > If my assumption is right, the attached patch should fix the problem. > > BTW: > Right today, I have added support for using the Tremor decoder in the > vorbis music provider. Unlike libvorbis, this is an integers based > decoder, so it's optimal for embedded devices without a FPU. > Get it from xiph's svn (http://svn.xiph.org/trunk/Tremor/) > > > -- > Regards, > Claudio Ciccani > > [EMAIL PROTECTED] > http://directfb.org > http://sf.net/projects/php-directfb > > _______________________________________________ > directfb-users mailing list > [email protected] > http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users > > > -- Registered Linux User: #293401 _______________________________________________ directfb-users mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
