diff options
author | Liam <[email protected]> | 2024-02-20 20:42:28 -0500 |
---|---|---|
committer | Liam <[email protected]> | 2024-02-20 22:15:38 -0500 |
commit | ea4703cb3111a21bc65588e3e01712b006f4d367 (patch) | |
tree | 3684c170810c59e9ba747802499d0a5605677f5d /src/audio_core/opus/hardware_opus.h | |
parent | 0471e54e5a74e3171da77ca95f0420142d675947 (diff) | |
download | yuzu-android-ea4703cb3111a21bc65588e3e01712b006f4d367.tar.gz yuzu-android-ea4703cb3111a21bc65588e3e01712b006f4d367.zip |
audio: rewrite IHardwareOpusDecoderManager
Diffstat (limited to 'src/audio_core/opus/hardware_opus.h')
-rw-r--r-- | src/audio_core/opus/hardware_opus.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/audio_core/opus/hardware_opus.h b/src/audio_core/opus/hardware_opus.h index b10184baa..caa746840 100644 --- a/src/audio_core/opus/hardware_opus.h +++ b/src/audio_core/opus/hardware_opus.h @@ -16,14 +16,14 @@ class HardwareOpus { public: HardwareOpus(Core::System& system); - u64 GetWorkBufferSize(u32 channel); - u64 GetWorkBufferSizeForMultiStream(u32 total_stream_count, u32 stereo_stream_count); + u32 GetWorkBufferSize(u32 channel); + u32 GetWorkBufferSizeForMultiStream(u32 total_stream_count, u32 stereo_stream_count); Result InitializeDecodeObject(u32 sample_rate, u32 channel_count, void* buffer, u64 buffer_size); Result InitializeMultiStreamDecodeObject(u32 sample_rate, u32 channel_count, u32 totaL_stream_count, u32 stereo_stream_count, - void* mappings, void* buffer, u64 buffer_size); + const void* mappings, void* buffer, u64 buffer_size); Result ShutdownDecodeObject(void* buffer, u64 buffer_size); Result ShutdownMultiStreamDecodeObject(void* buffer, u64 buffer_size); Result DecodeInterleaved(u32& out_sample_count, void* output_data, u64 output_data_size, |