diff options
author | James Courtier-Dutton <jcdutton@users.sourceforge.net> | 2001-08-21 19:39:50 +0000 |
---|---|---|
committer | James Courtier-Dutton <jcdutton@users.sourceforge.net> | 2001-08-21 19:39:50 +0000 |
commit | 790d5baee128cb40800fee392e74c01afefe4756 (patch) | |
tree | 4aa716c83a891ca3876968ede7f74c7482bfa7f0 /src/xine-engine/load_plugins.c | |
parent | f92de1992b6c30602b6785c0fb84fe3be6730c54 (diff) | |
download | xine-lib-790d5baee128cb40800fee392e74c01afefe4756.tar.gz xine-lib-790d5baee128cb40800fee392e74c01afefe4756.tar.bz2 |
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
Diffstat (limited to 'src/xine-engine/load_plugins.c')
-rw-r--r-- | src/xine-engine/load_plugins.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/xine-engine/load_plugins.c b/src/xine-engine/load_plugins.c index 619717545..56936d1a1 100644 --- a/src/xine-engine/load_plugins.c +++ b/src/xine-engine/load_plugins.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: load_plugins.c,v 1.37 2001/08/14 01:38:17 guenter Exp $ + * $Id: load_plugins.c,v 1.38 2001/08/21 19:39:50 jcdutton Exp $ * * * Load input/demux/audio_out/video_out/codec plugins @@ -713,11 +713,11 @@ char **xine_list_audio_output_plugins(void) { return plugin_ids; } -ao_functions_t *xine_load_audio_output_plugin(config_values_t *config, +ao_driver_t *xine_load_audio_output_plugin(config_values_t *config, char *id) { DIR *dir; - ao_functions_t *aod = NULL; + ao_driver_t *aod = NULL; dir = opendir (XINE_PLUGINDIR); @@ -757,7 +757,7 @@ ao_functions_t *xine_load_audio_output_plugin(config_values_t *config, if((initplug = dlsym(plugin, "init_audio_out_plugin")) != NULL) { - aod = (ao_functions_t *) initplug(config); + aod = (ao_driver_t *) initplug(config); if (aod) printf("load_plugins: audio output plugin %s successfully" |