diff options
author | FengChen <vonchenplus@gmail.com> | 2022-09-16 18:28:56 +0200 |
---|---|---|
committer | FengChen <vonchenplus@gmail.com> | 2022-09-16 18:28:56 +0200 |
commit | 672e61d8022aaa178b66bd92f2038d260dc3d104 (patch) | |
tree | 2fb441a61d7bab020ba9c71eccb3f5547ea33193 /src/core/hle/service/audio/hwopus.h | |
parent | Merge pull request #8863 from german77/triggers (diff) | |
download | yuzu-672e61d8022aaa178b66bd92f2038d260dc3d104.tar yuzu-672e61d8022aaa178b66bd92f2038d260dc3d104.tar.gz yuzu-672e61d8022aaa178b66bd92f2038d260dc3d104.tar.bz2 yuzu-672e61d8022aaa178b66bd92f2038d260dc3d104.tar.lz yuzu-672e61d8022aaa178b66bd92f2038d260dc3d104.tar.xz yuzu-672e61d8022aaa178b66bd92f2038d260dc3d104.tar.zst yuzu-672e61d8022aaa178b66bd92f2038d260dc3d104.zip |
Diffstat (limited to 'src/core/hle/service/audio/hwopus.h')
-rw-r--r-- | src/core/hle/service/audio/hwopus.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/core/hle/service/audio/hwopus.h b/src/core/hle/service/audio/hwopus.h index 265dd0cc6..e6092e290 100644 --- a/src/core/hle/service/audio/hwopus.h +++ b/src/core/hle/service/audio/hwopus.h @@ -11,6 +11,16 @@ class System; namespace Service::Audio { +struct OpusMultiStreamParametersEx { + u32 sample_rate; + u32 channel_count; + u32 number_streams; + u32 number_stereo_streams; + u32 use_large_frame_size; + u32 padding; + std::array<u32, 64> channel_mappings; +}; + class HwOpus final : public ServiceFramework<HwOpus> { public: explicit HwOpus(Core::System& system_); @@ -21,6 +31,7 @@ private: void OpenHardwareOpusDecoderEx(Kernel::HLERequestContext& ctx); void GetWorkBufferSize(Kernel::HLERequestContext& ctx); void GetWorkBufferSizeEx(Kernel::HLERequestContext& ctx); + void GetWorkBufferSizeForMultiStreamEx(Kernel::HLERequestContext& ctx); }; } // namespace Service::Audio |