diff options
author | David Marcec <dmarcecguzman@gmail.com> | 2018-04-22 07:04:24 +0200 |
---|---|---|
committer | David Marcec <dmarcecguzman@gmail.com> | 2018-04-22 07:04:24 +0200 |
commit | f3137d3bc12253ed0406ef01406b3b62c563bbd7 (patch) | |
tree | c3f724f5fecb1fbc21dbc3ff0405dacbedca5efa /src/core/hle/service/audio/audren_u.cpp | |
parent | Merge pull request #378 from Subv/a2bgr10 (diff) | |
download | yuzu-f3137d3bc12253ed0406ef01406b3b62c563bbd7.tar yuzu-f3137d3bc12253ed0406ef01406b3b62c563bbd7.tar.gz yuzu-f3137d3bc12253ed0406ef01406b3b62c563bbd7.tar.bz2 yuzu-f3137d3bc12253ed0406ef01406b3b62c563bbd7.tar.lz yuzu-f3137d3bc12253ed0406ef01406b3b62c563bbd7.tar.xz yuzu-f3137d3bc12253ed0406ef01406b3b62c563bbd7.tar.zst yuzu-f3137d3bc12253ed0406ef01406b3b62c563bbd7.zip |
Diffstat (limited to 'src/core/hle/service/audio/audren_u.cpp')
-rw-r--r-- | src/core/hle/service/audio/audren_u.cpp | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/core/hle/service/audio/audren_u.cpp b/src/core/hle/service/audio/audren_u.cpp index d9245cb19..fe445552a 100644 --- a/src/core/hle/service/audio/audren_u.cpp +++ b/src/core/hle/service/audio/audren_u.cpp @@ -162,12 +162,15 @@ public: {0x3, &IAudioDevice::GetActiveAudioDeviceName, "GetActiveAudioDeviceName"}, {0x4, &IAudioDevice::QueryAudioDeviceSystemEvent, "QueryAudioDeviceSystemEvent"}, {0x5, &IAudioDevice::GetActiveChannelCount, "GetActiveChannelCount"}, - {0x6, nullptr, "ListAudioDeviceNameAuto"}, - {0x7, nullptr, "SetAudioDeviceOutputVolumeAuto"}, + {0x6, &IAudioDevice::ListAudioDeviceName, + "ListAudioDeviceNameAuto"}, // Are these any different? + {0x7, &IAudioDevice::SetAudioDeviceOutputVolume, + "SetAudioDeviceOutputVolumeAuto"}, // Are these any different? {0x8, nullptr, "GetAudioDeviceOutputVolumeAuto"}, - {0x10, nullptr, "GetActiveAudioDeviceNameAuto"}, - {0x11, nullptr, "QueryAudioDeviceInputEvent"}, - {0x12, nullptr, "QueryAudioDeviceOutputEvent"}}; + {0xa, &IAudioDevice::GetActiveAudioDeviceName, + "GetActiveAudioDeviceNameAuto"}, // Are these any different? + {0xb, nullptr, "QueryAudioDeviceInputEvent"}, + {0xc, nullptr, "QueryAudioDeviceOutputEvent"}}; RegisterHandlers(functions); buffer_event = @@ -257,7 +260,7 @@ void AudRenU::GetAudioRendererWorkBufferSize(Kernel::HLERequestContext& ctx) { IPC::ResponseBuilder rb{ctx, 4}; rb.Push(RESULT_SUCCESS); - rb.Push<u64>(0x400); + rb.Push<u64>(0x4000); LOG_WARNING(Service_Audio, "(STUBBED) called"); } |