build: drop support for SDL1

For some reason it was supported for ao_sdl because we've only used SDL1
API.
This commit is contained in:
wm4 2018-02-12 18:02:35 +01:00 committed by Kevin Mitchell
parent 02f9087de9
commit 1dcf511376
3 changed files with 1 additions and 8 deletions

View File

@ -82,7 +82,7 @@ static const struct ao_driver * const audio_out_drivers[] = {
#if HAVE_OPENSLES #if HAVE_OPENSLES
&audio_out_opensles, &audio_out_opensles,
#endif #endif
#if HAVE_SDL1 || HAVE_SDL2 #if HAVE_SDL2
&audio_out_sdl, &audio_out_sdl,
#endif #endif
#if HAVE_SNDIO #if HAVE_SNDIO

View File

@ -481,12 +481,6 @@ audio_output_features = [
'desc': 'SDL2', 'desc': 'SDL2',
'func': check_pkg_config('sdl2'), 'func': check_pkg_config('sdl2'),
'default': 'disable' 'default': 'disable'
}, {
'name': '--sdl1',
'desc': 'SDL (1.x)',
'deps': '!sdl2',
'func': check_pkg_config('sdl'),
'default': 'disable'
}, { }, {
'name': '--oss-audio', 'name': '--oss-audio',
'desc': 'OSS', 'desc': 'OSS',

View File

@ -240,7 +240,6 @@ def build(ctx):
( "audio/out/ao_pcm.c" ), ( "audio/out/ao_pcm.c" ),
( "audio/out/ao_pulse.c", "pulse" ), ( "audio/out/ao_pulse.c", "pulse" ),
( "audio/out/ao_rsound.c", "rsound" ), ( "audio/out/ao_rsound.c", "rsound" ),
( "audio/out/ao_sdl.c", "sdl1" ),
( "audio/out/ao_sdl.c", "sdl2" ), ( "audio/out/ao_sdl.c", "sdl2" ),
( "audio/out/ao_sndio.c", "sndio" ), ( "audio/out/ao_sndio.c", "sndio" ),
( "audio/out/ao_wasapi.c", "wasapi" ), ( "audio/out/ao_wasapi.c", "wasapi" ),