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.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.h')
-rw-r--r-- | src/audio_core/opus/decoder.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/audio_core/opus/decoder.h b/src/audio_core/opus/decoder.h index fd728958a..1b8c257d4 100644 --- a/src/audio_core/opus/decoder.h +++ b/src/audio_core/opus/decoder.h @@ -22,10 +22,10 @@ public: explicit OpusDecoder(Core::System& system, HardwareOpus& hardware_opus_); ~OpusDecoder(); - Result Initialize(OpusParametersEx& params, Kernel::KTransferMemory* transfer_memory, - u64 transfer_memory_size); - Result Initialize(OpusMultiStreamParametersEx& params, Kernel::KTransferMemory* transfer_memory, + Result Initialize(const OpusParametersEx& params, Kernel::KTransferMemory* transfer_memory, u64 transfer_memory_size); + Result Initialize(const OpusMultiStreamParametersEx& params, + Kernel::KTransferMemory* transfer_memory, u64 transfer_memory_size); Result DecodeInterleaved(u32* out_data_size, u64* out_time_taken, u32* out_sample_count, std::span<const u8> input_data, std::span<u8> output_data, bool reset); Result SetContext([[maybe_unused]] std::span<const u8> context); |