diff options
| author | Kelebek1 <eeeedddccc@hotmail.co.uk> | 2022-10-08 19:27:54 +0100 |
|---|---|---|
| committer | Kelebek1 <eeeedddccc@hotmail.co.uk> | 2022-10-09 13:47:59 +0100 |
| commit | 8c9e238a7baef2c3f8a9a608ec8bebeeccfa6676 (patch) | |
| tree | 1e13efa4263c8e06c28787175f54e57b39fe33dd /src/audio_core/sink/sdl2_sink.h | |
| parent | 61883d8820c057259c6c6113934a44f69742164c (diff) | |
Choose the SDL audio backend when Cubeb reports too high of a latency
Diffstat (limited to 'src/audio_core/sink/sdl2_sink.h')
| -rw-r--r-- | src/audio_core/sink/sdl2_sink.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/audio_core/sink/sdl2_sink.h b/src/audio_core/sink/sdl2_sink.h index f01eddc1b..27ed1ab94 100644 --- a/src/audio_core/sink/sdl2_sink.h +++ b/src/audio_core/sink/sdl2_sink.h @@ -87,4 +87,11 @@ private: */ std::vector<std::string> ListSDLSinkDevices(bool capture); +/** + * Get the reported latency for this sink. + * + * @return Minimum latency for this sink. + */ +u32 GetSDLLatency(); + } // namespace AudioCore::Sink |
