[vlc-devel] commit: Added float 32/64 (non native) support to aout_BitsPerSample. ( Laurent Aimar )

git version control git at videolan.org
Sat Feb 6 16:08:03 CET 2010


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sat Feb  6 15:38:53 2010 +0100| [0df216d366edc9b660e663e78fa1abd373a690bb] | committer: Laurent Aimar 

Added float 32/64 (non native) support to aout_BitsPerSample.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0df216d366edc9b660e663e78fa1abd373a690bb
---

 src/audio_output/common.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/audio_output/common.c b/src/audio_output/common.c
index cd0bf82..34650f2 100644
--- a/src/audio_output/common.c
+++ b/src/audio_output/common.c
@@ -220,11 +220,13 @@ unsigned int aout_BitsPerSample( vlc_fourcc_t i_format )
 
     case VLC_CODEC_S32L:
     case VLC_CODEC_S32B:
-    case VLC_CODEC_FL32:
+    case VLC_CODEC_F32L:
+    case VLC_CODEC_F32B:
     case VLC_CODEC_FI32:
         return 32;
 
-    case VLC_CODEC_FL64:
+    case VLC_CODEC_F64L:
+    case VLC_CODEC_F64B:
         return 64;
 
     default:




More information about the vlc-devel mailing list