changeset 9711:f7295ec4fb17

New option -audiofile-cache to enable a cache for the stream used by -audiofile
author albeu
date Thu, 27 Mar 2003 20:42:19 +0000
parents e3db09ae5154
children b320a02fa57b
files cfg-common.h
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/cfg-common.h	Thu Mar 27 20:40:50 2003 +0000
+++ b/cfg-common.h	Thu Mar 27 20:42:19 2003 +0000
@@ -91,6 +91,7 @@
 
 	// demuxer.c - select audio/sub file/demuxer
 	{ "audiofile", &audio_stream, CONF_TYPE_STRING, 0, 0, 0, NULL },
+	{ "audiofile-cache", &audio_stream_cache, CONF_TYPE_INT, CONF_RANGE, 50, 65536, NULL},
 	{ "subfile", &sub_stream, CONF_TYPE_STRING, 0, 0, 0, NULL },
 	{ "demuxer", &demuxer_type, CONF_TYPE_INT, CONF_RANGE, 1, DEMUXER_TYPE_MAX, NULL },
 	{ "audio-demuxer", &audio_demuxer_type, CONF_TYPE_INT, CONF_RANGE, 1, DEMUXER_TYPE_MAX, NULL },
@@ -323,6 +324,7 @@
 extern struct config dvbin_opts_conf[];
 #endif
 
+extern int audio_stream_cache;
 
 extern int sws_chr_vshift;
 extern int sws_chr_hshift;