diff --git a/audio/out/ao.c b/audio/out/ao.c index 0acd439033..5834345d59 100644 --- a/audio/out/ao.c +++ b/audio/out/ao.c @@ -82,7 +82,7 @@ static const struct ao_driver * const audio_out_drivers[] = { #if HAVE_OPENSLES &audio_out_opensles, #endif -#if HAVE_SDL1 || HAVE_SDL2 +#if HAVE_SDL2 &audio_out_sdl, #endif #if HAVE_SNDIO diff --git a/wscript b/wscript index eb0a6df636..49cb12a9c3 100644 --- a/wscript +++ b/wscript @@ -481,12 +481,6 @@ audio_output_features = [ 'desc': 'SDL2', 'func': check_pkg_config('sdl2'), 'default': 'disable' - }, { - 'name': '--sdl1', - 'desc': 'SDL (1.x)', - 'deps': '!sdl2', - 'func': check_pkg_config('sdl'), - 'default': 'disable' }, { 'name': '--oss-audio', 'desc': 'OSS', diff --git a/wscript_build.py b/wscript_build.py index 78db131beb..efd9dc8424 100644 --- a/wscript_build.py +++ b/wscript_build.py @@ -240,7 +240,6 @@ def build(ctx): ( "audio/out/ao_pcm.c" ), ( "audio/out/ao_pulse.c", "pulse" ), ( "audio/out/ao_rsound.c", "rsound" ), - ( "audio/out/ao_sdl.c", "sdl1" ), ( "audio/out/ao_sdl.c", "sdl2" ), ( "audio/out/ao_sndio.c", "sndio" ), ( "audio/out/ao_wasapi.c", "wasapi" ),