diff options
author | FearlessTobi <thm.frey@gmail.com> | 2023-08-30 18:29:43 +0200 |
---|---|---|
committer | FearlessTobi <thm.frey@gmail.com> | 2023-08-30 18:29:43 +0200 |
commit | a7a5835ffb75f13fbb8d895f6dab756e8ddacb1e (patch) | |
tree | 409c834c44cd80e7dabd681b87b4864d7f87d11e /src/core/hle | |
parent | Merge pull request #11380 from t895/settings-integration (diff) | |
download | yuzu-a7a5835ffb75f13fbb8d895f6dab756e8ddacb1e.tar yuzu-a7a5835ffb75f13fbb8d895f6dab756e8ddacb1e.tar.gz yuzu-a7a5835ffb75f13fbb8d895f6dab756e8ddacb1e.tar.bz2 yuzu-a7a5835ffb75f13fbb8d895f6dab756e8ddacb1e.tar.lz yuzu-a7a5835ffb75f13fbb8d895f6dab756e8ddacb1e.tar.xz yuzu-a7a5835ffb75f13fbb8d895f6dab756e8ddacb1e.tar.zst yuzu-a7a5835ffb75f13fbb8d895f6dab756e8ddacb1e.zip |
Diffstat (limited to 'src/core/hle')
-rw-r--r-- | src/core/hle/service/audio/hwopus.cpp | 6 | ||||
-rw-r--r-- | src/core/hle/service/audio/hwopus.h | 1 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/core/hle/service/audio/hwopus.cpp b/src/core/hle/service/audio/hwopus.cpp index 4a8276ed1..1557e6088 100644 --- a/src/core/hle/service/audio/hwopus.cpp +++ b/src/core/hle/service/audio/hwopus.cpp @@ -267,6 +267,10 @@ void HwOpus::GetWorkBufferSizeEx(HLERequestContext& ctx) { GetWorkBufferSize(ctx); } +void HwOpus::GetWorkBufferSizeExEx(HLERequestContext& ctx) { + GetWorkBufferSizeEx(ctx); +} + void HwOpus::GetWorkBufferSizeForMultiStreamEx(HLERequestContext& ctx) { OpusMultiStreamParametersEx param; std::memcpy(¶m, ctx.ReadBuffer().data(), ctx.GetReadBufferSize()); @@ -409,7 +413,7 @@ HwOpus::HwOpus(Core::System& system_) : ServiceFramework{system_, "hwopus"} { {6, &HwOpus::OpenHardwareOpusDecoderForMultiStreamEx, "OpenHardwareOpusDecoderForMultiStreamEx"}, {7, &HwOpus::GetWorkBufferSizeForMultiStreamEx, "GetWorkBufferSizeForMultiStreamEx"}, - {8, nullptr, "GetWorkBufferSizeExEx"}, + {8, &HwOpus::GetWorkBufferSizeExEx, "GetWorkBufferSizeExEx"}, {9, nullptr, "GetWorkBufferSizeForMultiStreamExEx"}, }; RegisterHandlers(functions); diff --git a/src/core/hle/service/audio/hwopus.h b/src/core/hle/service/audio/hwopus.h index 91d9998ac..90867bf74 100644 --- a/src/core/hle/service/audio/hwopus.h +++ b/src/core/hle/service/audio/hwopus.h @@ -34,6 +34,7 @@ private: void OpenHardwareOpusDecoderForMultiStreamEx(HLERequestContext& ctx); void GetWorkBufferSize(HLERequestContext& ctx); void GetWorkBufferSizeEx(HLERequestContext& ctx); + void GetWorkBufferSizeExEx(HLERequestContext& ctx); void GetWorkBufferSizeForMultiStreamEx(HLERequestContext& ctx); }; |