summaryrefslogtreecommitdiff
path: root/src/xine-engine/audio_out.h
diff options
context:
space:
mode:
authorGuenter Bartsch <guenter@users.sourceforge.net>2003-02-01 19:22:30 +0000
committerGuenter Bartsch <guenter@users.sourceforge.net>2003-02-01 19:22:30 +0000
commit3b51c7c00f8fb5c0b74c962f3d7f4ca19e3c23d6 (patch)
tree6b2a1ce94fbc34247e1cb9100be1aeeff40b62c5 /src/xine-engine/audio_out.h
parent6134658975a976b70b74b7bcb7809b715289d6b7 (diff)
downloadxine-lib-3b51c7c00f8fb5c0b74c962f3d7f4ca19e3c23d6.tar.gz
xine-lib-3b51c7c00f8fb5c0b74c962f3d7f4ca19e3c23d6.tar.bz2
adding flush-mode so seek() and play() work for video processing (enix)
CVS patchset: 4080 CVS date: 2003/02/01 19:22:30
Diffstat (limited to 'src/xine-engine/audio_out.h')
-rw-r--r--src/xine-engine/audio_out.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/xine-engine/audio_out.h b/src/xine-engine/audio_out.h
index ab7cbd008..67a841f2e 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.49 2003/01/11 19:06:52 guenter Exp $
+ * $Id: audio_out.h,v 1.50 2003/02/01 19:22:30 guenter Exp $
*/
#ifndef HAVE_AUDIO_OUT_H
#define HAVE_AUDIO_OUT_H
@@ -176,8 +176,7 @@ struct ao_format_s {
struct xine_audio_port_s {
uint32_t (*get_capabilities) (xine_audio_port_t *this); /* for constants see below */
- /*
- * Get/Set audio property
+ /* * Get/Set audio property
*
* See AO_PROP_* bellow
*/
@@ -227,6 +226,12 @@ struct xine_audio_port_s {
int (*status) (xine_audio_port_t *this, xine_stream_t *stream,
uint32_t *bits, uint32_t *rate, int *mode);
+ /*
+ * set flush mode, can be used in grad_mode to free all
+ * audio buffers automatically while the engine is navigating
+ */
+
+ void (*set_flush_mode) (xine_audio_port_t *this, int flush_mode);
};
typedef struct audio_driver_class_s audio_driver_class_t;