|
|
@ -162,12 +162,15 @@ public: |
|
|
{0x3, &IAudioDevice::GetActiveAudioDeviceName, "GetActiveAudioDeviceName"}, |
|
|
{0x3, &IAudioDevice::GetActiveAudioDeviceName, "GetActiveAudioDeviceName"}, |
|
|
{0x4, &IAudioDevice::QueryAudioDeviceSystemEvent, "QueryAudioDeviceSystemEvent"}, |
|
|
{0x4, &IAudioDevice::QueryAudioDeviceSystemEvent, "QueryAudioDeviceSystemEvent"}, |
|
|
{0x5, &IAudioDevice::GetActiveChannelCount, "GetActiveChannelCount"}, |
|
|
{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"}, |
|
|
{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); |
|
|
RegisterHandlers(functions); |
|
|
|
|
|
|
|
|
buffer_event = |
|
|
buffer_event = |
|
|
@ -257,7 +260,7 @@ void AudRenU::GetAudioRendererWorkBufferSize(Kernel::HLERequestContext& ctx) { |
|
|
IPC::ResponseBuilder rb{ctx, 4}; |
|
|
IPC::ResponseBuilder rb{ctx, 4}; |
|
|
|
|
|
|
|
|
rb.Push(RESULT_SUCCESS); |
|
|
rb.Push(RESULT_SUCCESS); |
|
|
rb.Push<u64>(0x400); |
|
|
|
|
|
|
|
|
rb.Push<u64>(0x4000); |
|
|
|
|
|
|
|
|
LOG_WARNING(Service_Audio, "(STUBBED) called"); |
|
|
LOG_WARNING(Service_Audio, "(STUBBED) called"); |
|
|
} |
|
|
} |
|
|
|