From: notaz Date: Sun, 29 Jul 2012 21:37:24 +0000 (+0300) Subject: support sdl audio X-Git-Tag: r15~8 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8a2f79b8743b44a0728902293acf101c9b2d882;p=pcsx_rearmed.git support sdl audio --- 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"