AudioCommon: Move logic for default sound backend there from ConfigManager

This way, we don't have to leak the HAVE_ALSA define there.
This commit is contained in:
Florent Castelli
2017-02-05 02:15:38 +01:00
parent 31dfaafe0b
commit 9ebfaa9324
3 changed files with 20 additions and 11 deletions

View File

@ -18,6 +18,7 @@ namespace AudioCommon
{
void InitSoundStream();
void ShutdownSoundStream();
std::string GetDefaultSoundBackend();
std::vector<std::string> GetSoundBackends();
bool SupportsDPL2Decoder(const std::string& backend);
bool SupportsLatencyControl(const std::string& backend);