Audio services: Difference between revisions

Line 306: Line 306:
! Cmd || Name
! Cmd || Name
|-
|-
| 0 || ListAudioDeviceName
| 0 || [[#ListAudioDeviceName]]
|-
|-
| 1 || [[#SetAudioDeviceOutputVolume]]
| 1 || [[#SetAudioDeviceOutputVolume]]
Line 318: Line 318:
| 5 || GetActiveChannelCount
| 5 || GetActiveChannelCount
|-
|-
| 6 || [3.0.0+] ListAudioDeviceNameAuto
| 6 || [3.0.0+] [[#ListAudioDeviceNameAuto]]
|-
|-
| 7 || [3.0.0+] [[#SetAudioDeviceOutputVolumeAuto]]
| 7 || [3.0.0+] [[#SetAudioDeviceOutputVolumeAuto]]
Line 332: Line 332:
| 13 || [5.0.0+] GetAudioSystemMasterVolumeSetting
| 13 || [5.0.0+] GetAudioSystemMasterVolumeSetting
|}
|}
=== ListAudioDeviceName ===
Takes a type-0x6 output buffer containing an array of '''DeviceName''', returns an output u32 for total number of output entries.


=== SetAudioDeviceOutputVolume ===
=== SetAudioDeviceOutputVolume ===
Line 338: Line 341:
=== GetAudioDeviceOutputVolume ===
=== GetAudioDeviceOutputVolume ===
Takes a type-0x5 input buffer containing the '''DeviceName'''. Returns an output float.
Takes a type-0x5 input buffer containing the '''DeviceName'''. Returns an output float.
=== ListAudioDeviceNameAuto ===
Takes a type-0x22 output buffer containing an array of '''DeviceName''', returns an output u32 for total number of output entries.


=== SetAudioDeviceOutputVolumeAuto ===
=== SetAudioDeviceOutputVolumeAuto ===