diff options
author | FearlessTobi <thm.frey@gmail.com> | 2023-08-27 03:54:01 +0200 |
---|---|---|
committer | FearlessTobi <thm.frey@gmail.com> | 2023-08-27 18:03:10 +0200 |
commit | c2f827b85e0e932938ea6b542108953f2b13f92b (patch) | |
tree | 563ea78205673ccac68d3207dd571ae75860e6ac /src/core/hle/service/audio/hwopus.h | |
parent | Merge pull request #11356 from lat9nq/console-mode-pg (diff) | |
download | yuzu-c2f827b85e0e932938ea6b542108953f2b13f92b.tar yuzu-c2f827b85e0e932938ea6b542108953f2b13f92b.tar.gz yuzu-c2f827b85e0e932938ea6b542108953f2b13f92b.tar.bz2 yuzu-c2f827b85e0e932938ea6b542108953f2b13f92b.tar.lz yuzu-c2f827b85e0e932938ea6b542108953f2b13f92b.tar.xz yuzu-c2f827b85e0e932938ea6b542108953f2b13f92b.tar.zst yuzu-c2f827b85e0e932938ea6b542108953f2b13f92b.zip |
Diffstat (limited to 'src/core/hle/service/audio/hwopus.h')
-rw-r--r-- | src/core/hle/service/audio/hwopus.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/hle/service/audio/hwopus.h b/src/core/hle/service/audio/hwopus.h index ece65c02c..91d9998ac 100644 --- a/src/core/hle/service/audio/hwopus.h +++ b/src/core/hle/service/audio/hwopus.h @@ -18,8 +18,10 @@ struct OpusMultiStreamParametersEx { u32 number_stereo_streams; u32 use_large_frame_size; u32 padding; - std::array<u32, 64> channel_mappings; + std::array<u8, 0x100> channel_mappings; }; +static_assert(sizeof(OpusMultiStreamParametersEx) == 0x118, + "OpusMultiStreamParametersEx has incorrect size"); class HwOpus final : public ServiceFramework<HwOpus> { public: @@ -29,6 +31,7 @@ public: private: void OpenHardwareOpusDecoder(HLERequestContext& ctx); void OpenHardwareOpusDecoderEx(HLERequestContext& ctx); + void OpenHardwareOpusDecoderForMultiStreamEx(HLERequestContext& ctx); void GetWorkBufferSize(HLERequestContext& ctx); void GetWorkBufferSizeEx(HLERequestContext& ctx); void GetWorkBufferSizeForMultiStreamEx(HLERequestContext& ctx); |