Commit 514a4f6c authored by Jean-Paul Saman's avatar Jean-Paul Saman

access/alsa.c: format 'araw' is not specific enough

The codec format 'araẃ' is a vlc internal codec that selects the
araw audio decoder. It does not specify the bits per sample.
parent 3677caf8
...@@ -72,7 +72,7 @@ static void DemuxClose( vlc_object_t * ); ...@@ -72,7 +72,7 @@ static void DemuxClose( vlc_object_t * );
#define FORMAT_TEXT N_( "Format" ) #define FORMAT_TEXT N_( "Format" )
#define FORMAT_LONGTEXT N_( \ #define FORMAT_LONGTEXT N_( \
"Sample format FOURCC (eg: araw, s8, s16l, s24l, s32l, f64l)" ) "Sample format FOURCC (eg: s8, s16l, s24l, s32l, f64l)" )
#define SAMPLERATE_TEXT N_( "Samplerate" ) #define SAMPLERATE_TEXT N_( "Samplerate" )
#define SAMPLERATE_LONGTEXT N_( \ #define SAMPLERATE_LONGTEXT N_( \
...@@ -104,7 +104,7 @@ vlc_module_begin() ...@@ -104,7 +104,7 @@ vlc_module_begin()
add_bool( CFG_PREFIX "stereo", true, NULL, STEREO_TEXT, STEREO_LONGTEXT, add_bool( CFG_PREFIX "stereo", true, NULL, STEREO_TEXT, STEREO_LONGTEXT,
true ) true )
add_string( CFG_PREFIX "format", "araw", NULL, FORMAT_TEXT, add_string( CFG_PREFIX "format", "s16l", NULL, FORMAT_TEXT,
FORMAT_LONGTEXT, true ) FORMAT_LONGTEXT, true )
add_integer( CFG_PREFIX "samplerate", 48000, NULL, SAMPLERATE_TEXT, add_integer( CFG_PREFIX "samplerate", 48000, NULL, SAMPLERATE_TEXT,
SAMPLERATE_LONGTEXT, true ) SAMPLERATE_LONGTEXT, true )
......
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