Previous 199869 Revisions Next

r32070 Friday 12th September, 2014 at 01:18:35 UTC by R. Belmont
SDL: Allow -sound dsound on SDL Windows builds. [R. Belmont]
[src/osd/sdl]sdl.mak sdlmain.c

trunk/src/osd/sdl/sdlmain.c
r32069r32070
5353#if defined(SDLMAME_EMSCRIPTEN)
5454#include "modules/sound/js_sound.h"
5555#endif
56#if defined(SDLMAME_WIN32)
57#include "modules/sound/direct_sound.h"
58#endif
5659#if !defined(NO_DEBUGGER)
5760#include "modules/debugger/debugqt.h"
5861#endif
r32069r32070
536539void sdl_osd_interface::sound_register()
537540{
538541   sound_options_add("sdl", OSD_SOUND_SDL);
542#if defined(SDLMAME_WIN32)
543   sound_options_add("dsound", OSD_SOUND_DIRECT_SOUND);
544#endif
545
539546#if defined(SDLMAME_EMSCRIPTEN)
540547   sound_options_add("js", OSD_SOUND_JS);
541548   sound_options_add("auto", OSD_SOUND_JS); // making JS audio default one
trunk/src/osd/sdl/sdl.mak
r32069r32070
409409   $(SDLOBJ)/output.o \
410410   $(SDLOBJ)/watchdog.o \
411411
412ifeq ($(BASE_TARGETOS),win32)
413   $(OSDOBJ)/modules/sound/direct_sound.o
414endif
415
412416ifdef NO_USE_MIDI
413417DEFS += -DDISABLE_MIDI=1
414418endif

Previous 199869 Revisions Next


© 1997-2024 The MAME Team