Make ALSA optional

This commit is contained in:
Jan Beich 2017-08-03 22:43:27 +00:00 committed by Ani
parent 2d7e91ba8a
commit 40d305b35d
6 changed files with 17 additions and 7 deletions

View file

@ -166,7 +166,7 @@ void fmt_class_string<audio_renderer>::format(std::string& out, u64 arg)
case audio_renderer::null: return "Null";
#ifdef _WIN32
case audio_renderer::xaudio: return "XAudio2";
#elif __linux__
#elif defined(HAVE_ALSA)
case audio_renderer::alsa: return "ALSA";
#endif
case audio_renderer::openal: return "OpenAL";