diff options
author | bunnei <bunneidev@gmail.com> | 2018-04-27 06:49:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-27 06:49:40 +0200 |
commit | 3c404964097a0882ce9651571ec02c54474350ce (patch) | |
tree | 37932b0e46a5190fbe54a83fe06706d171e6141a /src/core/hle/service/audio/audren_u.cpp | |
parent | Merge pull request #406 from lioncash/frontend (diff) | |
parent | Switched to NGLOG_WARNING (diff) | |
download | yuzu-3c404964097a0882ce9651571ec02c54474350ce.tar yuzu-3c404964097a0882ce9651571ec02c54474350ce.tar.gz yuzu-3c404964097a0882ce9651571ec02c54474350ce.tar.bz2 yuzu-3c404964097a0882ce9651571ec02c54474350ce.tar.lz yuzu-3c404964097a0882ce9651571ec02c54474350ce.tar.xz yuzu-3c404964097a0882ce9651571ec02c54474350ce.tar.zst yuzu-3c404964097a0882ce9651571ec02c54474350ce.zip |
Diffstat (limited to 'src/core/hle/service/audio/audren_u.cpp')
-rw-r--r-- | src/core/hle/service/audio/audren_u.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/core/hle/service/audio/audren_u.cpp b/src/core/hle/service/audio/audren_u.cpp index 72810b436..291885db8 100644 --- a/src/core/hle/service/audio/audren_u.cpp +++ b/src/core/hle/service/audio/audren_u.cpp @@ -162,12 +162,13 @@ public: {0x3, &IAudioDevice::GetActiveAudioDeviceName, "GetActiveAudioDeviceName"}, {0x4, &IAudioDevice::QueryAudioDeviceSystemEvent, "QueryAudioDeviceSystemEvent"}, {0x5, &IAudioDevice::GetActiveChannelCount, "GetActiveChannelCount"}, - {0x6, nullptr, "ListAudioDeviceNameAuto"}, - {0x7, nullptr, "SetAudioDeviceOutputVolumeAuto"}, + {0x6, &IAudioDevice::ListAudioDeviceName, + "ListAudioDeviceNameAuto"}, // TODO(ogniK): Confirm if autos are identical to non auto + {0x7, &IAudioDevice::SetAudioDeviceOutputVolume, "SetAudioDeviceOutputVolumeAuto"}, {0x8, nullptr, "GetAudioDeviceOutputVolumeAuto"}, - {0x10, nullptr, "GetActiveAudioDeviceNameAuto"}, - {0x11, nullptr, "QueryAudioDeviceInputEvent"}, - {0x12, nullptr, "QueryAudioDeviceOutputEvent"}}; + {0xa, &IAudioDevice::GetActiveAudioDeviceName, "GetActiveAudioDeviceNameAuto"}, + {0xb, nullptr, "QueryAudioDeviceInputEvent"}, + {0xc, nullptr, "QueryAudioDeviceOutputEvent"}}; RegisterHandlers(functions); buffer_event = @@ -257,7 +258,7 @@ void AudRenU::GetAudioRendererWorkBufferSize(Kernel::HLERequestContext& ctx) { IPC::ResponseBuilder rb{ctx, 4}; rb.Push(RESULT_SUCCESS); - rb.Push<u64>(0x400); + rb.Push<u64>(0x4000); NGLOG_WARNING(Service_Audio, "(STUBBED) called"); } |