summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/audio/hwopus.h
diff options
context:
space:
mode:
authorFearlessTobi <thm.frey@gmail.com>2023-08-27 03:54:01 +0200
committerFearlessTobi <thm.frey@gmail.com>2023-08-27 18:03:10 +0200
commitc2f827b85e0e932938ea6b542108953f2b13f92b (patch)
tree563ea78205673ccac68d3207dd571ae75860e6ac /src/core/hle/service/audio/hwopus.h
parentMerge pull request #11356 from lat9nq/console-mode-pg (diff)
downloadyuzu-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.h5
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);