From b9e199808dbb4875ab8095952eeeaadaf7860849 Mon Sep 17 00:00:00 2001 From: atmosfear Date: Tue, 12 Jun 2001 14:24:26 +0000 Subject: Added support for writing wave files and specifying filename to write to. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1113 b3059339-0415-0410-9bf9-f77b7e298cf2 --- cfg-mplayer.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'cfg-mplayer.h') diff --git a/cfg-mplayer.h b/cfg-mplayer.h index 05c3a9f130..c1355dad74 100644 --- a/cfg-mplayer.h +++ b/cfg-mplayer.h @@ -27,6 +27,9 @@ extern int vo_dbpp; extern int osd_level; extern int sub_unicode; +extern char *ao_outputfilename; +extern int ao_pcm_waveheader; + #ifdef HAVE_X11 extern char *mDisplayName; #endif @@ -104,6 +107,10 @@ struct config conf[]={ {"dumpfile", &stream_dump_name, CONF_TYPE_STRING, 0, 0, 0}, {"dumpaudio", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 1}, {"dumpvideo", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 2}, + + {"aofile", &ao_outputfilename, CONF_TYPE_STRING, 0, 0, 0}, + {"waveheader", &ao_pcm_waveheader, CONF_TYPE_FLAG, 0, 0, 1}, + {"nowaveheader", &ao_pcm_waveheader, CONF_TYPE_FLAG, 0, 1, 0}, // {"auds", &avi_header.audio_codec, CONF_TYPE_STRING, 0, 0, 0}, // {"vids", &avi_header.video_codec, CONF_TYPE_STRING, 0, 0, 0}, -- cgit v1.2.3