From c3cc38e4c40d23178330e035c8befc0443a2868b Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Fri, 28 Dec 2012 08:07:14 +0100 Subject: vo/ao: SDL 1.2+ audio driver, SDL 2.0+ accelerated video driver This mainly serves as a fallback for platforms where nothing better is available; also as a debugging help. Both the audio and video driver are not first class - the audio driver lacks delay detection, and the video driver only supports a single YUV color space. Configure options: --disable-sdl2 to disable SDL 2.0+ detection, --disable-sdl to disable SDL 1.2+ detection. Both options need to be specified to turn off SDL support entirely. --- audio/out/ao.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'audio/out/ao.c') diff --git a/audio/out/ao.c b/audio/out/ao.c index 915af93793..85e9548454 100644 --- a/audio/out/ao.c +++ b/audio/out/ao.c @@ -45,6 +45,7 @@ extern const struct ao_driver audio_out_pcm; extern const struct ao_driver audio_out_pss; extern const struct ao_driver audio_out_lavc; extern const struct ao_driver audio_out_portaudio; +extern const struct ao_driver audio_out_sdl; static const struct ao_driver * const audio_out_drivers[] = { // native: @@ -72,6 +73,9 @@ static const struct ao_driver * const audio_out_drivers[] = { #endif #ifdef CONFIG_OPENAL &audio_out_openal, +#endif +#ifdef CONFIG_SDL + &audio_out_sdl, #endif &audio_out_null, // should not be auto-selected: -- cgit v1.2.3