[vlc-commits] File Aout: reorder options
Jean-Baptiste Kempf
git at videolan.org
Tue Aug 30 01:35:37 CEST 2011
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Aug 30 01:07:41 2011 +0200| [ddc2725acbdddf67dae8543ad0825dc72740296d] | committer: Jean-Baptiste Kempf
File Aout: reorder options
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ddc2725acbdddf67dae8543ad0825dc72740296d
---
modules/audio_output/file.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/modules/audio_output/file.c b/modules/audio_output/file.c
index c2a6b35..cccc01c 100644
--- a/modules/audio_output/file.c
+++ b/modules/audio_output/file.c
@@ -81,8 +81,9 @@ static void Play ( audio_output_t *, block_t * );
#define FORMAT_LONGTEXT N_("One of \"u8\", \"s8\", \"u16\", \"s16\", " \
"\"u16_le\", \"s16_le\", \"u16_be\", \"s16_be\", \"fixed32\", " \
"\"float32\" or \"spdif\"")
+
#define CHANNELS_TEXT N_("Number of output channels")
-#define CHANNELS_LONGTEXT N_("By default, all the channels of the incoming " \
+#define CHANNELS_LONGTEXT N_("By default (0), all the channels of the incoming " \
"will be saved but you can restrict the number of channels here.")
#define WAV_TEXT N_("Add WAVE header")
@@ -112,14 +113,14 @@ vlc_module_begin ()
set_category( CAT_AUDIO )
set_subcategory( SUBCAT_AUDIO_AOUT )
+ add_savefile( "audiofile-file", "audiofile.wav", FILE_TEXT,
+ FILE_LONGTEXT, false )
add_string( "audiofile-format", "s16",
FORMAT_TEXT, FORMAT_LONGTEXT, true )
change_string_list( format_list, 0, 0 )
add_integer( "audiofile-channels", 0,
CHANNELS_TEXT, CHANNELS_LONGTEXT, true )
change_integer_range( 0, 6 )
- add_savefile( "audiofile-file", "audiofile.wav", FILE_TEXT,
- FILE_LONGTEXT, false )
add_bool( "audiofile-wav", true, WAV_TEXT, WAV_LONGTEXT, true )
set_capability( "audio output", 0 )
More information about the vlc-commits
mailing list