mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +00:00
Make ALSA optional
This commit is contained in:
parent
2d7e91ba8a
commit
40d305b35d
6 changed files with 17 additions and 7 deletions
|
|
@ -45,7 +45,7 @@
|
|||
#ifdef _WIN32
|
||||
#include "Emu/Audio/XAudio2/XAudio2Thread.h"
|
||||
#endif
|
||||
#ifdef __linux__
|
||||
#ifdef HAVE_ALSA
|
||||
#include "Emu/Audio/ALSA/ALSAThread.h"
|
||||
#endif
|
||||
|
||||
|
|
@ -199,7 +199,7 @@ void rpcs3_app::InitializeCallbacks()
|
|||
case audio_renderer::null: return std::make_shared<NullAudioThread>();
|
||||
#ifdef _WIN32
|
||||
case audio_renderer::xaudio: return std::make_shared<XAudio2Thread>();
|
||||
#elif __linux__
|
||||
#elif defined(HAVE_ALSA)
|
||||
case audio_renderer::alsa: return std::make_shared<ALSAThread>();
|
||||
#endif
|
||||
case audio_renderer::openal: return std::make_shared<OpenALThread>();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue