mirror of
https://github.com/holub/mame
synced 2025-06-07 13:23:50 +03:00
3rdparty/portaudio: Enabled PulseAudio backend for Linux. [invertego]
This commit is contained in:
parent
e96df77695
commit
c5927d37e7
@ -1677,6 +1677,17 @@ project "portaudio"
|
|||||||
MAME_DIR .. "3rdparty/portaudio/src/hostapi/alsa/pa_linux_alsa.c",
|
MAME_DIR .. "3rdparty/portaudio/src/hostapi/alsa/pa_linux_alsa.c",
|
||||||
MAME_DIR .. "3rdparty/portaudio/src/hostapi/oss/pa_unix_oss.c",
|
MAME_DIR .. "3rdparty/portaudio/src/hostapi/oss/pa_unix_oss.c",
|
||||||
}
|
}
|
||||||
|
if _OPTIONS["NO_USE_PULSEAUDIO"]~="1" then
|
||||||
|
defines {
|
||||||
|
"PA_USE_PULSEAUDIO=1",
|
||||||
|
}
|
||||||
|
files {
|
||||||
|
MAME_DIR .. "3rdparty/portaudio/src/hostapi/pulseaudio/pa_linux_pulseaudio_block.c",
|
||||||
|
MAME_DIR .. "3rdparty/portaudio/src/hostapi/pulseaudio/pa_linux_pulseaudio.c",
|
||||||
|
MAME_DIR .. "3rdparty/portaudio/src/hostapi/pulseaudio/pa_linux_pulseaudio_cb.c",
|
||||||
|
MAME_DIR .. "3rdparty/portaudio/src/common/pa_ringbuffer.c",
|
||||||
|
}
|
||||||
|
end
|
||||||
end
|
end
|
||||||
if _OPTIONS["targetos"]=="macosx" then
|
if _OPTIONS["targetos"]=="macosx" then
|
||||||
defines {
|
defines {
|
||||||
|
Loading…
Reference in New Issue
Block a user