Commit 4743982b authored by Sam Hocevar's avatar Sam Hocevar

 . --aout sdl now works
parent 63757407
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
#include "common.h" /* boolean_t, byte_t */ #include "common.h" /* boolean_t, byte_t */
#include "threads.h" #include "threads.h"
#include "mtime.h" #include "mtime.h"
#include "plugins.h" #include "tests.h"
#include "audio_output.h" /* aout_thread_t */ #include "audio_output.h" /* aout_thread_t */
...@@ -139,6 +139,12 @@ static int aout_Probe( probedata_t *p_data ) ...@@ -139,6 +139,12 @@ static int aout_Probe( probedata_t *p_data )
/* Otherwise, there are good chances we can use this plugin, return 100. */ /* Otherwise, there are good chances we can use this plugin, return 100. */
SDL_CloseAudio(); SDL_CloseAudio();
if( TestMethod( AOUT_METHOD_VAR, "sdl" ) )
{
return( 999 );
}
return( 50 ); return( 50 );
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment