CVS Commit: vlc
Christophe Massiot
massiot at via.ecp.fr
Mon Aug 12 22:48:09 CEST 2002
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[.
--
Christophe Massiot.
--
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