Audio services: Difference between revisions
No edit summary |
|||
(7 intermediate revisions by 3 users not shown) | |||
Line 334: | Line 334: | ||
| 0 || [17.0.0+] GetDspStatistics ([6.0.0-16.1.0] EnableDspUsageMeasurement) | | 0 || [17.0.0+] GetDspStatistics ([6.0.0-16.1.0] EnableDspUsageMeasurement) | ||
|- | |- | ||
| 1 || [6.0.0-16.1.0] DisableDspUsageMeasurement | | 1 || [20.0.0+] GetAppletStateSummaries ([6.0.0-16.1.0] DisableDspUsageMeasurement) | ||
|- | |||
| 2 || [20.0.0+] SetDspStatisticsParameter | |||
|- | |||
| 3 || [20.0.0+] GetDspStatisticsParameter | |||
|- | |- | ||
| 6 || [6.0.0-16.1.0] GetDspUsage | | 6 || [6.0.0-16.1.0] GetDspUsage | ||
Line 611: | Line 615: | ||
| 5 || SetTargetMute | | 5 || SetTargetMute | ||
|- | |- | ||
| 6 || [1.0.0-17.0.1] IsTargetConnected | | 6 || [20.0.0+] ([1.0.0-17.0.1] IsTargetConnected) | ||
|- | |- | ||
| 7 || SetDefaultTarget | | 7 || SetDefaultTarget | ||
Line 645: | Line 649: | ||
| 22 || [3.0.0+] NotifyHeadphoneVolumeWarningDisplayedEvent | | 22 || [3.0.0+] NotifyHeadphoneVolumeWarningDisplayedEvent | ||
|- | |- | ||
| 23 || [4.0.0+] SetSystemOutputMasterVolume | | 23 || [4.0.0+] [[#SetSystemOutputMasterVolume]] | ||
|- | |- | ||
| 24 || [4.0.0+] GetSystemOutputMasterVolume | | 24 || [4.0.0+] [[#GetSystemOutputMasterVolume]] | ||
|- | |- | ||
| 25 || [4.0.0-13.2.1] [[#GetAudioVolumeDataForPlayReport]] | | 25 || [20.0.0+] ([4.0.0-13.2.1] [[#GetAudioVolumeDataForPlayReport]]) | ||
|- | |- | ||
| 26 || [4.0.0-14.1.2] [[#UpdateHeadphoneSettings]] | | 26 || [4.0.0-14.1.2] [[#UpdateHeadphoneSettings]] | ||
Line 681: | Line 685: | ||
| 40 || [14.0.0+] [[#GetSystemInformationForDebug]] | | 40 || [14.0.0+] [[#GetSystemInformationForDebug]] | ||
|- | |- | ||
| 41 || [15.0.0 | | 41 || [15.0.0-19.0.1] SetVolumeButtonLongPressTime | ||
|- | |- | ||
| 42 || [15.0.0+] SetNativeVolumeForDebug | | 42 || [15.0.0+] SetNativeVolumeForDebug | ||
Line 687: | Line 691: | ||
| 5000 || [19.0.0+] | | 5000 || [19.0.0+] | ||
|- | |- | ||
| 10000 || [13.0.0 | | 10000 || [13.0.0-19.0.1] NotifyAudioOutputTargetForPlayReport | ||
|- | |- | ||
| 10001 || [13.0.0 | | 10001 || [13.0.0-19.0.1] NotifyAudioOutputChannelCountForPlayReport | ||
|- | |- | ||
| 10002 || [13.0.0 | | 10002 || [13.0.0-19.0.1] NotifyUnsupportedUsbOutputDeviceAttachedForPlayReport | ||
|- | |- | ||
| 10100 || [14.0.0+] GetAudioVolumeDataForPlayReport | | 10100 || [14.0.0+] [[#GetAudioVolumeDataForPlayReport]] | ||
|- | |- | ||
| 10101 || [14.0.0+] BindAudioVolumeUpdateEventForPlayReport | | 10101 || [14.0.0+] BindAudioVolumeUpdateEventForPlayReport | ||
|- | |- | ||
| 10102 || [14.0.0 | | 10102 || [14.0.0-19.0.1] BindAudioOutputTargetUpdateEventForPlayReport | ||
|- | |- | ||
| 10103 || [14.0.0 | | 10103 || [14.0.0-19.0.1] GetAudioOutputTargetForPlayReport | ||
|- | |- | ||
| 10104 || [14.0.0 | | 10104 || [14.0.0-19.0.1] GetAudioOutputChannelCountForPlayReport | ||
|- | |- | ||
| 10105 || [14.0.0 | | 10105 || [14.0.0-19.0.1] BindAudioOutputChannelCountUpdateEventForPlayReport | ||
|- | |- | ||
| 10106 || [14.0.0+] | | 10106 || [14.0.0-19.0.1] GetDefaultAudioOutputTargetForPlayReport | ||
|- | |||
| 10200 || [20.0.0+] | |||
|- | |- | ||
| 50000 || [15.0.0-18.1.0] SetAnalogInputBoostGainForPrototyping | | 50000 || [15.0.0-18.1.0] SetAnalogInputBoostGainForPrototyping | ||
|- | |- | ||
| 50001 || [19.0.0 | | 50001 || [19.0.0-19.0.1] OverrideDefaultTargetForDebug | ||
|- | |- | ||
| 50003 || [19.0.0+] | | 50003 || [19.0.0+] SetForceOverrideExternalDeviceNameForDebug | ||
|- | |- | ||
| 50004 || [19.0.0+] | | 50004 || [19.0.0+] ClearForceOverrideExternalDeviceNameForDebug | ||
|} | |} | ||
== SetSystemOutputMasterVolume == | |||
Takes an input float '''SystemOutputMasterVolume'''. No output. | |||
[20.0.0+] Originally any input was accepted, now input must be in range 0.0-1.0 otherwise it's replaced by nearest accepted value. | |||
== GetSystemOutputMasterVolume == | |||
No input. Returns an output float '''SystemOutputMasterVolume'''. | |||
== GetAudioVolumeDataForPlayReport == | == GetAudioVolumeDataForPlayReport == | ||
Line 720: | Line 734: | ||
[13.0.0+] No input, returns a total of 9-bytes of output. | [13.0.0+] No input, returns a total of 9-bytes of output. | ||
[20.0.0+] Now takes a 0x400-bytes type-0x16 output buffer and no longer returns any output. | |||
== UpdateHeadphoneSettings == | == UpdateHeadphoneSettings == | ||
Takes one input bool. No output. | Takes one input bool. No output. | ||
NS calls this with the result of [[Parental_Control_services#IParentalControlService|IParentalControlService::IsRestrictionEnabled]]. | NS calls this with the result of [[Parental_Control_services#IParentalControlService|IParentalControlService::IsRestrictionEnabled]]. | ||
== GetSystemInformationForDebug == | == GetSystemInformationForDebug == | ||
Takes a type-0x1A output buffer. | Takes a type-0x1A output buffer. No output. | ||
[15.0.0+] Now takes a type-0x16 output buffer. | [15.0.0+] Now takes a type-0x16 output buffer. | ||
[18.0.0+] Originally the output buffer was a binary structure, now it's just a string. | [18.0.0+] Originally the output buffer was a binary structure, now it's just a string. | ||
[20.0.0+] Now takes a total of 0x40-bytes of input and the type-0x16 output buffer is now 0x2000-bytes instead of 0x1000-bytes. | |||
= codecctl = | = codecctl = | ||
Line 986: | Line 1,005: | ||
| 9 || SetAudioOutputProcessRecordVolume | | 9 || SetAudioOutputProcessRecordVolume | ||
|- | |- | ||
| 10 || [18.0.0 | | 10 || [18.0.0-19.0.1] GetAppletStateSummaries | ||
|} | |} | ||