diff options
author | Liam <byteslice@airmail.cc> | 2023-06-08 07:15:51 +0200 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-06-08 07:15:51 +0200 |
commit | 6c34adb1de2965a9c5800970703bb1288764026f (patch) | |
tree | 419d795b517fa790a42ca90ce8f17bda41e85af7 /src/audio_core | |
parent | Merge pull request #10650 from qurious-pixel/android_tv (diff) | |
download | yuzu-6c34adb1de2965a9c5800970703bb1288764026f.tar yuzu-6c34adb1de2965a9c5800970703bb1288764026f.tar.gz yuzu-6c34adb1de2965a9c5800970703bb1288764026f.tar.bz2 yuzu-6c34adb1de2965a9c5800970703bb1288764026f.tar.lz yuzu-6c34adb1de2965a9c5800970703bb1288764026f.tar.xz yuzu-6c34adb1de2965a9c5800970703bb1288764026f.tar.zst yuzu-6c34adb1de2965a9c5800970703bb1288764026f.zip |
Diffstat (limited to 'src/audio_core')
-rw-r--r-- | src/audio_core/audio_core.cpp | 8 | ||||
-rw-r--r-- | src/audio_core/audio_core.h | 14 |
2 files changed, 0 insertions, 22 deletions
diff --git a/src/audio_core/audio_core.cpp b/src/audio_core/audio_core.cpp index 07a679c32..703ef4494 100644 --- a/src/audio_core/audio_core.cpp +++ b/src/audio_core/audio_core.cpp @@ -47,12 +47,4 @@ AudioRenderer::ADSP::ADSP& AudioCore::GetADSP() { return *adsp; } -void AudioCore::SetNVDECActive(bool active) { - nvdec_active = active; -} - -bool AudioCore::IsNVDECActive() const { - return nvdec_active; -} - } // namespace AudioCore diff --git a/src/audio_core/audio_core.h b/src/audio_core/audio_core.h index e33e00a3e..ea047773e 100644 --- a/src/audio_core/audio_core.h +++ b/src/audio_core/audio_core.h @@ -57,18 +57,6 @@ public: */ AudioRenderer::ADSP::ADSP& GetADSP(); - /** - * Toggle NVDEC state, used to avoid stall in playback. - * - * @param active - Set true if nvdec is active, otherwise false. - */ - void SetNVDECActive(bool active); - - /** - * Get NVDEC state. - */ - bool IsNVDECActive() const; - private: /** * Create the sinks on startup. @@ -83,8 +71,6 @@ private: std::unique_ptr<Sink::Sink> input_sink; /// The ADSP in the sysmodule std::unique_ptr<AudioRenderer::ADSP::ADSP> adsp; - /// Is NVDec currently active? - bool nvdec_active{false}; }; } // namespace AudioCore |