diff options
author | 2021-04-28 20:19:31 +1000 | |
---|---|---|
committer | 2021-04-28 20:19:31 +1000 | |
commit | 557a6c5e583794af3c5dd8d6f6824e60ef7cbfa2 (patch) | |
tree | 676b5e65ade895c95b3b5de3901539eebe808d6a /docs/release/scripts/src/osd/modules.lua | |
parent | 3593491a9013163e0b42cde336f0ec3237e45dbc (diff) |
0.231 filestag231
Diffstat (limited to 'docs/release/scripts/src/osd/modules.lua')
-rw-r--r-- | docs/release/scripts/src/osd/modules.lua | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/docs/release/scripts/src/osd/modules.lua b/docs/release/scripts/src/osd/modules.lua index d7987b5b80e..3f9e1948c6e 100644 --- a/docs/release/scripts/src/osd/modules.lua +++ b/docs/release/scripts/src/osd/modules.lua @@ -82,6 +82,7 @@ function osdmodulesbuild() MAME_DIR .. "src/osd/modules/sound/js_sound.cpp", MAME_DIR .. "src/osd/modules/sound/direct_sound.cpp", MAME_DIR .. "src/osd/modules/sound/pa_sound.cpp", + MAME_DIR .. "src/osd/modules/sound/pulse_sound.cpp", MAME_DIR .. "src/osd/modules/sound/coreaudio_sound.cpp", MAME_DIR .. "src/osd/modules/sound/sdl_sound.cpp", MAME_DIR .. "src/osd/modules/sound/xaudio2_sound.cpp", @@ -270,6 +271,12 @@ function osdmodulesbuild() } end + if _OPTIONS["NO_USE_PULSEAUDIO"]=="1" then + defines { + "NO_USE_PULSEAUDIO", + } + end + if _OPTIONS["NO_USE_MIDI"]=="1" then defines { "NO_USE_MIDI", @@ -501,6 +508,11 @@ function osdmodulestargetconf() } end + if _OPTIONS["NO_USE_PULSEAUDIO"]=="0" then + links { + ext_lib("pulse"), + } + end end @@ -579,6 +591,23 @@ if not _OPTIONS["NO_USE_PORTAUDIO"] then end newoption { + trigger = "NO_USE_PULSEAUDIO", + description = "Disable PulseAudio interface", + allowed = { + { "0", "Enable PulseAudio" }, + { "1", "Disable PulseAudio" }, + }, +} + +if not _OPTIONS["NO_USE_PULSEAUDIO"] then + if _OPTIONS["targetos"]=="linux" then + _OPTIONS["NO_USE_PULSEAUDIO"] = "0" + else + _OPTIONS["NO_USE_PULSEAUDIO"] = "1" + end +end + +newoption { trigger = "MODERN_WIN_API", description = "Use Modern Windows APIs", allowed = { |