From 34b80110e86716725dd815250ea9075129e7b2ee Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Fri, 27 Dec 2002 03:40:07 +0000 Subject: quite experimental changes on post plugin api to enable rewiring of streams. Michael, please let me know if you have a better idea! :) CVS patchset: 3689 CVS date: 2002/12/27 03:40:07 --- src/xine-engine/audio_out.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/xine-engine/audio_out.h') diff --git a/src/xine-engine/audio_out.h b/src/xine-engine/audio_out.h index 1367c6c3d..82d1577f3 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.47 2002/12/27 02:03:06 miguelfreitas Exp $ + * $Id: audio_out.h,v 1.48 2002/12/27 03:40:07 miguelfreitas Exp $ */ #ifndef HAVE_AUDIO_OUT_H #define HAVE_AUDIO_OUT_H @@ -220,6 +220,12 @@ struct xine_audio_port_s { * Flush audio_out fifo. */ void (*flush) (xine_audio_port_t *this); + + /* + * Check if port is opened for this stream and get parameters. + */ + int (*status) (xine_audio_port_t *this, xine_stream_t *stream, + uint32_t *bits, uint32_t *rate, int *mode); }; -- cgit v1.2.3