# HG changeset patch # User albeu # Date 1048797739 0 # Node ID f7295ec4fb17fd0db3804adf0315f410880afdb3 # Parent e3db09ae5154a894dccf6ee9f81c5740be44c855 New option -audiofile-cache to enable a cache for the stream used by -audiofile diff -r e3db09ae5154 -r f7295ec4fb17 cfg-common.h --- 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;