CVS Commit: vlc

Jean-Paul Saman jpsaman at wxs.nl
Mon Aug 12 22:38:09 CEST 2002


Christophe Massiot wrote:
> At 22:35 +0200 12/08/2002, cvs at videolan.org wrote :
> 
>> Update of /var/cvs/videolan/vlc/modules/audio_filter/converter
>> Added Files:
>>     fixed32tofloat32.c
>>
>> Log Message:
>> Added fixed32tofloat32 conversion.
> 
> 
> This one is obviously not working. You can't expect :
>         *p_out = (float) *p_in;
> to take care of everything, for the simple reason that a vlc_fixed_t is 
> in the range [-8, +8[ (and in fact the corresponding s32 value is in 
> [-32768, 32768[), and the value expected in float must be in [-1, 1[.
> 

Correct. I wasn't finished and got stuck at getting it launched in vlc.
I should have mentioned that, sorry!

Greetings,
Jean-Paul Saman.


-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc-devel mailing list