From 790d5baee128cb40800fee392e74c01afefe4756 Mon Sep 17 00:00:00 2001 From: James Courtier-Dutton Date: Tue, 21 Aug 2001 19:39:50 +0000 Subject: First checkin of new audio_out architecture. Audio sync and AC3 formatting now done in xine-lib/src/xine-engine/audio_out.c Audio out now done in xine-lib/src/audio_out/* Currently, only xine-lib/src/audio_oss_out.c is active. Re-support of others will follow as other people implement them. ao_functions split into ao_instance and ao_driver and function in a similar fashion as video_out. All decoder plugins now call ao_instance instead of ao_functions. ao_instance is used in xine-lib/src/xine-engine/audio_out.c ao_driver is used in xine-lib/src/audio_out/* See also changes in xine-ui files CVS patchset: 459 CVS date: 2001/08/21 19:39:50 --- src/libmpg123/xine_decoder.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/libmpg123/xine_decoder.c') diff --git a/src/libmpg123/xine_decoder.c b/src/libmpg123/xine_decoder.c index 61c5c7d0d..649c51526 100644 --- a/src/libmpg123/xine_decoder.c +++ b/src/libmpg123/xine_decoder.c @@ -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: xine_decoder.c,v 1.4 2001/08/07 14:15:04 guenter Exp $ + * $Id: xine_decoder.c,v 1.5 2001/08/21 19:39:50 jcdutton Exp $ * * stuff needed to turn libmpg123 into a xine decoder plugin */ @@ -44,7 +44,7 @@ typedef struct mpgdec_decoder_s { mpgaudio_t *mpg; - ao_functions_t *audio_out; + ao_instance_t *audio_out; int output_sampling_rate; int output_open; @@ -55,7 +55,7 @@ int mpgdec_can_handle (audio_decoder_t *this_gen, int buf_type) { } -void mpgdec_init (audio_decoder_t *this_gen, ao_functions_t *audio_out) { +void mpgdec_init (audio_decoder_t *this_gen, ao_instance_t *audio_out) { mpgdec_decoder_t *this = (mpgdec_decoder_t *) this_gen; -- cgit v1.2.3