summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-01-29 21:31:28 +0100
committerLioncash <mathew1800@gmail.com>2019-01-30 04:53:34 +0100
commit06887c80a5e430d63f217a5cdd129f5e97034a36 (patch)
tree84dd0dab06ccba319d6f448223d9e4da88cc3ee3 /src/core/hle/service
parentMerge pull request #2070 from ReinUsesLisp/cubearray-view (diff)
downloadyuzu-06887c80a5e430d63f217a5cdd129f5e97034a36.tar
yuzu-06887c80a5e430d63f217a5cdd129f5e97034a36.tar.gz
yuzu-06887c80a5e430d63f217a5cdd129f5e97034a36.tar.bz2
yuzu-06887c80a5e430d63f217a5cdd129f5e97034a36.tar.lz
yuzu-06887c80a5e430d63f217a5cdd129f5e97034a36.tar.xz
yuzu-06887c80a5e430d63f217a5cdd129f5e97034a36.tar.zst
yuzu-06887c80a5e430d63f217a5cdd129f5e97034a36.zip
Diffstat (limited to 'src/core/hle/service')
-rw-r--r--src/core/hle/service/audio/hwopus.cpp20
1 files changed, 11 insertions, 9 deletions
diff --git a/src/core/hle/service/audio/hwopus.cpp b/src/core/hle/service/audio/hwopus.cpp
index a850cadc8..abe21b992 100644
--- a/src/core/hle/service/audio/hwopus.cpp
+++ b/src/core/hle/service/audio/hwopus.cpp
@@ -30,22 +30,24 @@ public:
u32 channel_count)
: ServiceFramework("IHardwareOpusDecoderManager"), decoder(std::move(decoder)),
sample_rate(sample_rate), channel_count(channel_count) {
+ // clang-format off
static const FunctionInfo functions[] = {
- {0, &IHardwareOpusDecoderManager::DecodeInterleaved, "DecodeInterleaved"},
+ {0, &IHardwareOpusDecoderManager::DecodeInterleavedOld, "DecodeInterleavedOld"},
{1, nullptr, "SetContext"},
- {2, nullptr, "DecodeInterleavedForMultiStream"},
+ {2, nullptr, "DecodeInterleavedForMultiStreamOld"},
{3, nullptr, "SetContextForMultiStream"},
- {4, &IHardwareOpusDecoderManager::DecodeInterleavedWithPerformance,
- "DecodeInterleavedWithPerformance"},
- {5, nullptr, "Unknown5"},
- {6, nullptr, "Unknown6"},
- {7, nullptr, "Unknown7"},
+ {4, &IHardwareOpusDecoderManager::DecodeInterleavedWithPerfOld, "DecodeInterleavedWithPerfOld"},
+ {5, nullptr, "DecodeInterleavedForMultiStreamWithPerfOld"},
+ {6, nullptr, "DecodeInterleaved"},
+ {7, nullptr, "DecodeInterleavedForMultiStream"},
};
+ // clang-format on
+
RegisterHandlers(functions);
}
private:
- void DecodeInterleaved(Kernel::HLERequestContext& ctx) {
+ void DecodeInterleavedOld(Kernel::HLERequestContext& ctx) {
LOG_DEBUG(Audio, "called");
u32 consumed = 0;
@@ -65,7 +67,7 @@ private:
ctx.WriteBuffer(samples.data(), samples.size() * sizeof(s16));
}
- void DecodeInterleavedWithPerformance(Kernel::HLERequestContext& ctx) {
+ void DecodeInterleavedWithPerfOld(Kernel::HLERequestContext& ctx) {
LOG_DEBUG(Audio, "called");
u32 consumed = 0;