Commit a7bb5dff authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

rawaud: default FOURCC with local rather than low endianess

parent 80ba00a8
...@@ -48,11 +48,17 @@ static void Close( vlc_object_t * ); ...@@ -48,11 +48,17 @@ static void Close( vlc_object_t * );
#define FOURCC_TEXT N_("FOURCC code of raw input format") #define FOURCC_TEXT N_("FOURCC code of raw input format")
#define FOURCC_LONGTEXT N_( \ #define FOURCC_LONGTEXT N_( \
"FOURCC code of the raw input format. This is a four character string. Default is s16l." ) "FOURCC code of the raw input format. This is a four character string." )
#define LANG_TEXT N_("Forces the audio language.") #define LANG_TEXT N_("Forces the audio language.")
#define LANG_LONGTEXT N_("Forces the audio language for the output mux. Three letter ISO639 code. Default is 'eng'. ") #define LANG_LONGTEXT N_("Forces the audio language for the output mux. Three letter ISO639 code. Default is 'eng'. ")
#ifdef WORDS_BIGENDIAN
# define FOURCC_DEFAULT "s16b"
#else
# define FOURCC_DEFAULT "s16l"
#endif
vlc_module_begin(); vlc_module_begin();
set_shortname( "Raw Audio" ); set_shortname( "Raw Audio" );
set_description( N_("Raw audio demuxer") ); set_description( N_("Raw audio demuxer") );
...@@ -63,7 +69,8 @@ vlc_module_begin(); ...@@ -63,7 +69,8 @@ vlc_module_begin();
add_shortcut( "rawaud" ); add_shortcut( "rawaud" );
add_integer( "rawaud-channels", 2, 0, CHANNELS_TEXT, CHANNELS_LONGTEXT, false ); add_integer( "rawaud-channels", 2, 0, CHANNELS_TEXT, CHANNELS_LONGTEXT, false );
add_integer( "rawaud-samplerate", 48000, 0, SAMPLERATE_TEXT, SAMPLERATE_LONGTEXT, false ); add_integer( "rawaud-samplerate", 48000, 0, SAMPLERATE_TEXT, SAMPLERATE_LONGTEXT, false );
add_string( "rawaud-fourcc", "s16l", NULL, FOURCC_TEXT, FOURCC_LONGTEXT, false ); add_string( "rawaud-fourcc", FOURCC_DEFAULT, NULL,
FOURCC_TEXT, FOURCC_LONGTEXT, false );
add_string( "rawaud-lang", "eng", NULL, LANG_TEXT, LANG_LONGTEXT, false); add_string( "rawaud-lang", "eng", NULL, LANG_TEXT, LANG_LONGTEXT, false);
vlc_module_end(); vlc_module_end();
......
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