Choose the SDL audio backend when Cubeb reports too high of a latency

This commit is contained in:
Kelebek1
2022-10-08 19:27:54 +01:00
parent 61883d8820
commit 8c9e238a7b
7 changed files with 95 additions and 32 deletions

View File

@@ -96,4 +96,11 @@ private:
*/
std::vector<std::string> ListCubebSinkDevices(bool capture);
/**
* Get the reported latency for this sink.
*
* @return Minimum latency for this sink.
*/
u32 GetCubebLatency();
} // namespace AudioCore::Sink