diff options
| author | 2024-02-20 20:42:28 -0500 | |
|---|---|---|
| committer | 2024-02-20 22:15:38 -0500 | |
| commit | ea4703cb3111a21bc65588e3e01712b006f4d367 (patch) | |
| tree | 3684c170810c59e9ba747802499d0a5605677f5d /src/audio_core/opus/decoder.h | |
| parent | audio: rewrite IAudioRenderer (diff) | |
| download | yuzu-ea4703cb3111a21bc65588e3e01712b006f4d367.tar.gz yuzu-ea4703cb3111a21bc65588e3e01712b006f4d367.tar.xz yuzu-ea4703cb3111a21bc65588e3e01712b006f4d367.zip | |
audio: rewrite IHardwareOpusDecoderManager
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: | |||
| 22 | explicit OpusDecoder(Core::System& system, HardwareOpus& hardware_opus_); | 22 | explicit OpusDecoder(Core::System& system, HardwareOpus& hardware_opus_); |
| 23 | ~OpusDecoder(); | 23 | ~OpusDecoder(); |
| 24 | 24 | ||
| 25 | Result Initialize(OpusParametersEx& params, Kernel::KTransferMemory* transfer_memory, | 25 | Result Initialize(const OpusParametersEx& params, Kernel::KTransferMemory* transfer_memory, |
| 26 | u64 transfer_memory_size); | ||
| 27 | Result Initialize(OpusMultiStreamParametersEx& params, Kernel::KTransferMemory* transfer_memory, | ||
| 28 | u64 transfer_memory_size); | 26 | u64 transfer_memory_size); |
| 27 | Result Initialize(const OpusMultiStreamParametersEx& params, | ||
| 28 | Kernel::KTransferMemory* transfer_memory, u64 transfer_memory_size); | ||
| 29 | Result DecodeInterleaved(u32* out_data_size, u64* out_time_taken, u32* out_sample_count, | 29 | Result DecodeInterleaved(u32* out_data_size, u64* out_time_taken, u32* out_sample_count, |
| 30 | std::span<const u8> input_data, std::span<u8> output_data, bool reset); | 30 | std::span<const u8> input_data, std::span<u8> output_data, bool reset); |
| 31 | Result SetContext([[maybe_unused]] std::span<const u8> context); | 31 | Result SetContext([[maybe_unused]] std::span<const u8> context); |