diff options
author | Kelebek1 <eeeedddccc@hotmail.co.uk> | 2023-08-23 08:14:40 +0200 |
---|---|---|
committer | Kelebek1 <eeeedddccc@hotmail.co.uk> | 2023-08-23 09:33:26 +0200 |
commit | 39c8ddcda281e5f5b125c78b55741e39a50ff254 (patch) | |
tree | ca88e6666c76d755015945c1f5f228edb47287ef /src/audio_core/sink/sdl2_sink.h | |
parent | Merge pull request #11302 from vonchenplus/vulkan_macos (diff) | |
download | yuzu-39c8ddcda281e5f5b125c78b55741e39a50ff254.tar yuzu-39c8ddcda281e5f5b125c78b55741e39a50ff254.tar.gz yuzu-39c8ddcda281e5f5b125c78b55741e39a50ff254.tar.bz2 yuzu-39c8ddcda281e5f5b125c78b55741e39a50ff254.tar.lz yuzu-39c8ddcda281e5f5b125c78b55741e39a50ff254.tar.xz yuzu-39c8ddcda281e5f5b125c78b55741e39a50ff254.tar.zst yuzu-39c8ddcda281e5f5b125c78b55741e39a50ff254.zip |
Diffstat (limited to '')
-rw-r--r-- | src/audio_core/sink/sdl2_sink.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/audio_core/sink/sdl2_sink.h b/src/audio_core/sink/sdl2_sink.h index 27ed1ab94..9211d2e97 100644 --- a/src/audio_core/sink/sdl2_sink.h +++ b/src/audio_core/sink/sdl2_sink.h @@ -88,10 +88,11 @@ private: std::vector<std::string> ListSDLSinkDevices(bool capture); /** - * Get the reported latency for this sink. + * Check if this backend is suitable for use. + * Checks if enabled, its latency, whether it opens successfully, etc. * - * @return Minimum latency for this sink. + * @return True is this backend is suitable, false otherwise. */ -u32 GetSDLLatency(); +bool IsSDLSuitable(); } // namespace AudioCore::Sink |