From d8a2f79b8743b44a0728902293acf101c9b2d882 Mon Sep 17 00:00:00 2001 From: notaz Date: Mon, 30 Jul 2012 00:37:24 +0300 Subject: [PATCH] support sdl audio --- Makefile | 3 +++ configure | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8c2628c2..5720bab5 100644 --- a/Makefile +++ b/Makefile @@ -79,6 +79,9 @@ plugins/dfsound/%.o: CFLAGS += -DUSEALSA OBJS += plugins/dfsound/alsa.o LDLIBS += -lasound endif +ifeq "$(SOUND_DRIVER)" "sdl" +OBJS += plugins/dfsound/sdl.o +endif ifeq "$(SOUND_DRIVER)" "none" OBJS += plugins/dfsound/nullsnd.o endif diff --git a/configure b/configure index 8c40b7dc..babf4444 100755 --- a/configure +++ b/configure @@ -28,7 +28,7 @@ platform_list="generic pandora maemo caanoo libretro" platform="generic" builtin_gpu_list="peops unai neon" builtin_gpu="" -sound_driver_list="oss alsa libretro none" +sound_driver_list="oss alsa sdl libretro none" sound_driver="alsa" plugins="plugins/spunull/spunull.so \ plugins/dfxvideo/gpu_peops.so plugins/gpu_unai/gpu_unai.so" @@ -138,7 +138,7 @@ if [ "x$builtin_gpu" != "x" ]; then fi case "$sound_driver" in -oss|alsa|libretro|none) +oss|alsa|sdl|libretro|none) ;; *) echo "unsupported sound driver: $sound_driver" -- 2.39.5