Audio services: Difference between revisions
No edit summary |
|||
Line 441: | Line 441: | ||
| 12 || [3.0.0+] QueryAudioDeviceOutputEvent | | 12 || [3.0.0+] QueryAudioDeviceOutputEvent | ||
|- | |- | ||
| 13 || [5.0.0+] GetAudioSystemMasterVolumeSetting | | 13 || [5.0.0+] [[#GetAudioSystemMasterVolumeSetting]] | ||
|- | |- | ||
| 14 || [13.0.0+] | | 14 || [13.0.0+] | ||
Line 463: | Line 463: | ||
=== GetAudioDeviceOutputVolumeAuto === | === GetAudioDeviceOutputVolumeAuto === | ||
Takes a type-0x21 input buffer containing the '''DeviceName'''. Returns an output float. | Takes a type-0x21 input buffer containing the '''DeviceName'''. Returns an output float. | ||
=== GetAudioSystemMasterVolumeSetting === | |||
Takes a type-0x5 input buffer, returns 4-bytes of output. | |||
[13.0.0+] Takes a type-0x6 output buffer, returns no output. | |||
= audout:a = | = audout:a = | ||
Line 655: | Line 660: | ||
== GetAudioVolumeDataForPlayReport == | == GetAudioVolumeDataForPlayReport == | ||
[13.0.0] | No input, returns a total of 7-bytes of output. | ||
[13.0.0+] No input, returns a total of 9-bytes of output. | |||
== UpdateHeadphoneSettings == | |||
Takes one input bool. No output. | Takes one input bool. No output. | ||
NS calls this with the result of IParentalControlService::IsRestrictionEnabled[https://switchbrew.org/wiki/Parental_Control_services#IParentalControlService]. | NS calls this with the result of IParentalControlService::IsRestrictionEnabled[https://switchbrew.org/wiki/Parental_Control_services#IParentalControlService]. |