[vlc-devel] commit: Added s32l/b support to aout. (Laurent Aimar )
git version control
git at videolan.org
Tue Aug 19 21:10:36 CEST 2008
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Tue Aug 19 20:54:05 2008 +0200| [1e4a18a2156a1bb3743601c0273997a08b56e50a] | committer: Laurent Aimar
Added s32l/b support to aout.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1e4a18a2156a1bb3743601c0273997a08b56e50a
---
include/vlc_aout.h | 2 ++
src/audio_output/common.c | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/include/vlc_aout.h b/include/vlc_aout.h
index 993fa01..4e05c9f 100644
--- a/include/vlc_aout.h
+++ b/include/vlc_aout.h
@@ -51,11 +51,13 @@ extern "C" {
# define AOUT_FMT_S16_NE VLC_FOURCC('s','1','6','b')
# define AOUT_FMT_U16_NE VLC_FOURCC('u','1','6','b')
# define AOUT_FMT_S24_NE VLC_FOURCC('s','2','4','b')
+# define AOUT_FMT_S32_NE VLC_FOURCC('s','3','2','b')
# define AOUT_FMT_SPDIF_NE VLC_FOURCC('s','p','d','b')
#else
# define AOUT_FMT_S16_NE VLC_FOURCC('s','1','6','l')
# define AOUT_FMT_U16_NE VLC_FOURCC('u','1','6','l')
# define AOUT_FMT_S24_NE VLC_FOURCC('s','2','4','l')
+# define AOUT_FMT_S32_NE VLC_FOURCC('s','3','2','l')
# define AOUT_FMT_SPDIF_NE VLC_FOURCC('s','p','d','i')
#endif
diff --git a/src/audio_output/common.c b/src/audio_output/common.c
index e3bbb06..41b40ac 100644
--- a/src/audio_output/common.c
+++ b/src/audio_output/common.c
@@ -159,6 +159,8 @@ unsigned int aout_BitsPerSample( vlc_fourcc_t i_format )
case VLC_FOURCC('s','2','4','b'):
return 24;
+ case VLC_FOURCC('s','3','2','l'):
+ case VLC_FOURCC('s','3','2','b'):
case VLC_FOURCC('f','l','3','2'):
case VLC_FOURCC('f','i','3','2'):
return 32;
More information about the vlc-devel
mailing list