AudioCommon: SupportsDPL2Decoder, SupportsLatencyControl, SupportsVolumeChanges

This commit is contained in:
Michael Maltese
2016-10-09 19:18:16 -07:00
parent 4834a90e63
commit 45903b7b4d
3 changed files with 32 additions and 15 deletions

View File

@ -18,6 +18,9 @@ namespace AudioCommon
void InitSoundStream();
void ShutdownSoundStream();
std::vector<std::string> GetSoundBackends();
bool SupportsDPL2Decoder(const std::string& backend);
bool SupportsLatencyControl(const std::string& backend);
bool SupportsVolumeChanges(const std::string& backend);
void UpdateSoundStream();
void ClearAudioBuffer(bool mute);
void SendAIBuffer(const short* samples, unsigned int num_samples);