From a0103dd05ce4f42f3be2ff951ea44d6e76dadc2f Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 7 Sep 2008 22:42:51 +0200 Subject: output: replace audio_output.*Func with audio_output.plugin Instead of copying all that stuff from the audio output plugin to the audio output structure, store a pointer to the plugin. --- src/output_api.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/output_api.h') diff --git a/src/output_api.h b/src/output_api.h index c73e30a20..9d17d8664 100644 --- a/src/output_api.h +++ b/src/output_api.h @@ -67,14 +67,8 @@ struct audio_output_plugin { struct audio_output { int open; const char *name; - const char *type; - AudioOutputFinishDriverFunc finishDriverFunc; - AudioOutputOpenDeviceFunc openDeviceFunc; - AudioOutputPlayFunc playFunc; - AudioOutputDropBufferedAudioFunc dropBufferedAudioFunc; - AudioOutputCloseDeviceFunc closeDeviceFunc; - AudioOutputSendMetadataFunc sendMetdataFunc; + const struct audio_output_plugin *plugin; int convertAudioFormat; struct audio_format inAudioFormat; -- cgit v1.2.3