Commit 1e4a18a2 authored by Laurent Aimar's avatar Laurent Aimar

Added s32l/b support to aout.

parent 9e50567b
...@@ -51,11 +51,13 @@ extern "C" { ...@@ -51,11 +51,13 @@ extern "C" {
# define AOUT_FMT_S16_NE VLC_FOURCC('s','1','6','b') # 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_U16_NE VLC_FOURCC('u','1','6','b')
# define AOUT_FMT_S24_NE VLC_FOURCC('s','2','4','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') # define AOUT_FMT_SPDIF_NE VLC_FOURCC('s','p','d','b')
#else #else
# define AOUT_FMT_S16_NE VLC_FOURCC('s','1','6','l') # 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_U16_NE VLC_FOURCC('u','1','6','l')
# define AOUT_FMT_S24_NE VLC_FOURCC('s','2','4','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') # define AOUT_FMT_SPDIF_NE VLC_FOURCC('s','p','d','i')
#endif #endif
......
...@@ -159,6 +159,8 @@ unsigned int aout_BitsPerSample( vlc_fourcc_t i_format ) ...@@ -159,6 +159,8 @@ unsigned int aout_BitsPerSample( vlc_fourcc_t i_format )
case VLC_FOURCC('s','2','4','b'): case VLC_FOURCC('s','2','4','b'):
return 24; 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','l','3','2'):
case VLC_FOURCC('f','i','3','2'): case VLC_FOURCC('f','i','3','2'):
return 32; return 32;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment