From 4743982b138d1a3afa910ab040794ef285a8f37b Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Tue, 16 Jan 2001 21:13:02 +0000 Subject: [PATCH] . --aout sdl now works --- plugins/sdl/aout_sdl.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/plugins/sdl/aout_sdl.c b/plugins/sdl/aout_sdl.c index 6905e157e3..180cf8525b 100644 --- a/plugins/sdl/aout_sdl.c +++ b/plugins/sdl/aout_sdl.c @@ -42,7 +42,7 @@ #include "common.h" /* boolean_t, byte_t */ #include "threads.h" #include "mtime.h" -#include "plugins.h" +#include "tests.h" #include "audio_output.h" /* aout_thread_t */ @@ -139,6 +139,12 @@ static int aout_Probe( probedata_t *p_data ) /* Otherwise, there are good chances we can use this plugin, return 100. */ SDL_CloseAudio(); + + if( TestMethod( AOUT_METHOD_VAR, "sdl" ) ) + { + return( 999 ); + } + return( 50 ); }