diff options
author | Liam <byteslice@airmail.cc> | 2024-02-21 02:42:28 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2024-02-21 04:15:38 +0100 |
commit | ea4703cb3111a21bc65588e3e01712b006f4d367 (patch) | |
tree | 3684c170810c59e9ba747802499d0a5605677f5d /src/audio_core/opus/decoder_manager.h | |
parent | audio: rewrite IAudioRenderer (diff) | |
download | yuzu-ea4703cb3111a21bc65588e3e01712b006f4d367.tar yuzu-ea4703cb3111a21bc65588e3e01712b006f4d367.tar.gz yuzu-ea4703cb3111a21bc65588e3e01712b006f4d367.tar.bz2 yuzu-ea4703cb3111a21bc65588e3e01712b006f4d367.tar.lz yuzu-ea4703cb3111a21bc65588e3e01712b006f4d367.tar.xz yuzu-ea4703cb3111a21bc65588e3e01712b006f4d367.tar.zst yuzu-ea4703cb3111a21bc65588e3e01712b006f4d367.zip |
Diffstat (limited to 'src/audio_core/opus/decoder_manager.h')
-rw-r--r-- | src/audio_core/opus/decoder_manager.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/audio_core/opus/decoder_manager.h b/src/audio_core/opus/decoder_manager.h index 70ebc4bab..8f6876d5c 100644 --- a/src/audio_core/opus/decoder_manager.h +++ b/src/audio_core/opus/decoder_manager.h @@ -22,17 +22,19 @@ public: return hardware_opus; } - Result GetWorkBufferSize(OpusParameters& params, u64& out_size); - Result GetWorkBufferSizeEx(OpusParametersEx& params, u64& out_size); - Result GetWorkBufferSizeExEx(OpusParametersEx& params, u64& out_size); - Result GetWorkBufferSizeForMultiStream(OpusMultiStreamParameters& params, u64& out_size); - Result GetWorkBufferSizeForMultiStreamEx(OpusMultiStreamParametersEx& params, u64& out_size); - Result GetWorkBufferSizeForMultiStreamExEx(OpusMultiStreamParametersEx& params, u64& out_size); + Result GetWorkBufferSize(const OpusParameters& params, u32& out_size); + Result GetWorkBufferSizeEx(const OpusParametersEx& params, u32& out_size); + Result GetWorkBufferSizeExEx(const OpusParametersEx& params, u32& out_size); + Result GetWorkBufferSizeForMultiStream(const OpusMultiStreamParameters& params, u32& out_size); + Result GetWorkBufferSizeForMultiStreamEx(const OpusMultiStreamParametersEx& params, + u32& out_size); + Result GetWorkBufferSizeForMultiStreamExEx(const OpusMultiStreamParametersEx& params, + u32& out_size); private: Core::System& system; HardwareOpus hardware_opus; - std::array<u64, MaxChannels> required_workbuffer_sizes{}; + std::array<u32, MaxChannels> required_workbuffer_sizes{}; }; } // namespace AudioCore::OpusDecoder |