summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/audio/audren_u.cpp
diff options
context:
space:
mode:
authorgreggameplayer <33609333+greggameplayer@users.noreply.github.com>2018-05-21 05:48:44 +0200
committerbunnei <bunneidev@gmail.com>2018-05-21 05:48:44 +0200
commitc6eaf0b2cf993c25516f2ae1d27fed840e99b472 (patch)
tree80d3a9c486e94176c38d8fe18e2ff056714f7122 /src/core/hle/service/audio/audren_u.cpp
parentMerge pull request #457 from Subv/mutex_waiters (diff)
downloadyuzu-c6eaf0b2cf993c25516f2ae1d27fed840e99b472.tar
yuzu-c6eaf0b2cf993c25516f2ae1d27fed840e99b472.tar.gz
yuzu-c6eaf0b2cf993c25516f2ae1d27fed840e99b472.tar.bz2
yuzu-c6eaf0b2cf993c25516f2ae1d27fed840e99b472.tar.lz
yuzu-c6eaf0b2cf993c25516f2ae1d27fed840e99b472.tar.xz
yuzu-c6eaf0b2cf993c25516f2ae1d27fed840e99b472.tar.zst
yuzu-c6eaf0b2cf993c25516f2ae1d27fed840e99b472.zip
Diffstat (limited to 'src/core/hle/service/audio/audren_u.cpp')
-rw-r--r--src/core/hle/service/audio/audren_u.cpp25
1 files changed, 13 insertions, 12 deletions
diff --git a/src/core/hle/service/audio/audren_u.cpp b/src/core/hle/service/audio/audren_u.cpp
index 0d6eb1d51..38bc65d95 100644
--- a/src/core/hle/service/audio/audren_u.cpp
+++ b/src/core/hle/service/audio/audren_u.cpp
@@ -156,19 +156,20 @@ class IAudioDevice final : public ServiceFramework<IAudioDevice> {
public:
IAudioDevice() : ServiceFramework("IAudioDevice") {
static const FunctionInfo functions[] = {
- {0x0, &IAudioDevice::ListAudioDeviceName, "ListAudioDeviceName"},
- {0x1, &IAudioDevice::SetAudioDeviceOutputVolume, "SetAudioDeviceOutputVolume"},
- {0x2, nullptr, "GetAudioDeviceOutputVolume"},
- {0x3, &IAudioDevice::GetActiveAudioDeviceName, "GetActiveAudioDeviceName"},
- {0x4, &IAudioDevice::QueryAudioDeviceSystemEvent, "QueryAudioDeviceSystemEvent"},
- {0x5, &IAudioDevice::GetActiveChannelCount, "GetActiveChannelCount"},
- {0x6, &IAudioDevice::ListAudioDeviceName,
+ {0, &IAudioDevice::ListAudioDeviceName, "ListAudioDeviceName"},
+ {1, &IAudioDevice::SetAudioDeviceOutputVolume, "SetAudioDeviceOutputVolume"},
+ {2, nullptr, "GetAudioDeviceOutputVolume"},
+ {3, &IAudioDevice::GetActiveAudioDeviceName, "GetActiveAudioDeviceName"},
+ {4, &IAudioDevice::QueryAudioDeviceSystemEvent, "QueryAudioDeviceSystemEvent"},
+ {5, &IAudioDevice::GetActiveChannelCount, "GetActiveChannelCount"},
+ {6, &IAudioDevice::ListAudioDeviceName,
"ListAudioDeviceNameAuto"}, // TODO(ogniK): Confirm if autos are identical to non auto
- {0x7, &IAudioDevice::SetAudioDeviceOutputVolume, "SetAudioDeviceOutputVolumeAuto"},
- {0x8, nullptr, "GetAudioDeviceOutputVolumeAuto"},
- {0xa, &IAudioDevice::GetActiveAudioDeviceName, "GetActiveAudioDeviceNameAuto"},
- {0xb, nullptr, "QueryAudioDeviceInputEvent"},
- {0xc, nullptr, "QueryAudioDeviceOutputEvent"}};
+ {7, &IAudioDevice::SetAudioDeviceOutputVolume, "SetAudioDeviceOutputVolumeAuto"},
+ {8, nullptr, "GetAudioDeviceOutputVolumeAuto"},
+ {10, &IAudioDevice::GetActiveAudioDeviceName, "GetActiveAudioDeviceNameAuto"},
+ {11, nullptr, "QueryAudioDeviceInputEvent"},
+ {12, nullptr, "QueryAudioDeviceOutputEvent"},
+ };
RegisterHandlers(functions);
buffer_event =