From a68f00985f1ae81290abcdcd41bbdb5c58968bb6 Mon Sep 17 00:00:00 2001 From: Michael Roitzsch Date: Wed, 23 Apr 2003 16:15:00 +0000 Subject: I am not a Win32 developer, but I guess this is a sweet misunderstanding: audio_directx_out is an audio OUTPUT plugin, not a audio DECODER plugin therefore this buffer type is wrong here, since only DECODERS need to register buffer types CVS patchset: 4664 CVS date: 2003/04/23 16:15:00 --- src/audio_out/audio_directx_out.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'src/audio_out/audio_directx_out.c') diff --git a/src/audio_out/audio_directx_out.c b/src/audio_out/audio_directx_out.c index 2d233278e..12b66fb08 100755 --- a/src/audio_out/audio_directx_out.c +++ b/src/audio_out/audio_directx_out.c @@ -923,13 +923,7 @@ static void *init_class (xine_t *xine, void *data) { return audiox; } -static uint32_t audio_types[] = { - BUF_AUDIO_DIRECTX, - 0 - }; - -static decoder_info_t dec_info_audio = { - audio_types, /* supported types */ +static ao_info_t ao_info_directx = { 1 /* priority */ }; @@ -938,7 +932,7 @@ static decoder_info_t dec_info_audio = { */ plugin_info_t xine_plugin_info[] = { /* type, API, "name", version, special_info, init_function */ - { PLUGIN_AUDIO_OUT, AO_DIRECTX_IFACE_VERSION, "directx", XINE_VERSION_CODE, &dec_info_audio, init_class }, + { PLUGIN_AUDIO_OUT, AO_DIRECTX_IFACE_VERSION, "directx", XINE_VERSION_CODE, &ao_info_directx, init_class }, { PLUGIN_NONE, 0, "", 0, NULL, NULL } }; -- cgit v1.2.3