summaryrefslogtreecommitdiff
path: root/src/xine-engine/audio_out.h
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2002-12-24 14:00:55 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2002-12-24 14:00:55 +0000
commitb18d857dad27367e9c517d68a5fe501a48fec164 (patch)
treef12827081644ed85c610b22abb1dcfa3d4a17dff /src/xine-engine/audio_out.h
parent359d8d8860cc1748a0f0e18bc791c80392cf7e48 (diff)
downloadxine-lib-b18d857dad27367e9c517d68a5fe501a48fec164.tar.gz
xine-lib-b18d857dad27367e9c517d68a5fe501a48fec164.tar.bz2
discard buffers on flush so decoder will return faster. seeking should be
faster as well. (on a problematic stream i have, seeking time was reduced from 2.5s to 0.8s) CVS patchset: 3665 CVS date: 2002/12/24 14:00:55
Diffstat (limited to 'src/xine-engine/audio_out.h')
-rw-r--r--src/xine-engine/audio_out.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xine-engine/audio_out.h b/src/xine-engine/audio_out.h
index 99fb40496..fd63e762f 100644
--- a/src/xine-engine/audio_out.h
+++ b/src/xine-engine/audio_out.h
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: audio_out.h,v 1.44 2002/12/21 12:56:52 miguelfreitas Exp $
+ * $Id: audio_out.h,v 1.45 2002/12/24 14:00:57 miguelfreitas Exp $
*/
#ifndef HAVE_AUDIO_OUT_H
#define HAVE_AUDIO_OUT_H
@@ -253,6 +253,7 @@ struct xine_audio_port_s {
int64_t passthrough_offset;
int flush_audio_driver;
+ int discard_buffers;
int do_compress;
double compression_factor; /* current compression */
@@ -320,6 +321,7 @@ xine_audio_port_t *ao_new_port (xine_t *xine, ao_driver_t *driver) ;
#define AO_PROP_PCM_VOL 1
#define AO_PROP_MUTE_VOL 2
#define AO_PROP_COMPRESSOR 3
+#define AO_PROP_DISCARD_BUFFERS 4
/* audio device control ops */