Audio services: Difference between revisions
Sebastiaan (talk | contribs) No edit summary |
No edit summary |
||
Line 10: | Line 10: | ||
== OpenAudioOut == | == OpenAudioOut == | ||
Takes two u64s (an interface ID and a PID placeholder?), a PID, a process handle, and the name of the interface you want to connect to. Returns an [[#IAudioOut]] object | Takes two u64s (an interface ID and a PID placeholder?), a PID, a process handle, and the name of the interface you want to connect to. Returns an [[#IAudioOut]] object. | ||
== IAudioOut == | == IAudioOut == | ||
Line 23: | Line 23: | ||
| 2 || StopAudioOut | | 2 || StopAudioOut | ||
|- | |- | ||
| 3 || | | 3 || AppendAudioOutBuffer | ||
|- | |- | ||
| 4 || | | 4 || RegisterBufferEvent | ||
|- | |- | ||
| 5 || | | 5 || GetReleasedAudioOutBuffer | ||
|- | |- | ||
| 6 || ContainsAudioOutBuffer | | 6 || ContainsAudioOutBuffer | ||
|} | |} | ||
Line 40: | Line 36: | ||
Returns an AudioOutState, 0x00=Started 0x01=Stopped | Returns an AudioOutState, 0x00=Started 0x01=Stopped | ||
== | = audout:a = | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
! | ! Cmd || Name | ||
|- | |- | ||
| | | 0 || RequestSuspendAudioOuts | ||
|- | |- | ||
| | | 1 || RequestResumeAudioOuts | ||
|} | |||
= audout:d = | |||
{| class="wikitable" border="1" | |||
|- | |- | ||
| | ! Cmd || Name | ||
|- | |- | ||
| | | 0 || [[#RequestSuspendAudioOutsForDebug]] | ||
|- | |- | ||
| | | 1 || [[#RequestResumeAudioOutsForDebug]] | ||
|} | |} | ||
== | == RequestSuspendAudioOutsForDebug == | ||
Takes an [[AM_services#AppletResourceUserId|AppletResourceUserId]]. (u64) | |||
== | == RequestResumeAudioOutsForDebug == | ||
Takes | Takes an [[AM_services#AppletResourceUserId|AppletResourceUserId]]. (u64) | ||
= audin:u = | = audin:u = | ||
Line 102: | Line 100: | ||
Returns an AudioInState, 0x00=Started 0x01=Stopped | Returns an AudioInState, 0x00=Started 0x01=Stopped | ||
= audin:a = | |||
{| class="wikitable" border="1" | |||
|- | |||
! Cmd || Name | |||
|- | |||
| 0 || RequestSuspendAudioIns | |||
|- | |||
| 1 || RequestResumeAudioIns | |||
|} | |||
= audin:d = | |||
{| class="wikitable" border="1" | |||
|- | |||
! Cmd || Name | |||
|- | |||
| 0 || [[#RequestSuspendAudioInsForDebug]] | |||
|- | |||
| 1 || [[#RequestResumeAudioInsForDebug]] | |||
|} | |||
== RequestSuspendAudioInsForDebug == | |||
Takes an [[AM_services#AppletResourceUserId|AppletResourceUserId]]. (u64) | |||
== RequestResumeAudioInsForDebug == | |||
Takes an [[AM_services#AppletResourceUserId|AppletResourceUserId]]. (u64) | |||
= audrec:u = | = audrec:u = | ||
Line 166: | Line 194: | ||
| 6 || StopAudioRenderer | | 6 || StopAudioRenderer | ||
|- | |- | ||
| 7 || | | 7 || QuerySystemEvent | ||
|- | |- | ||
| 8 || SetAudioRendererRenderingTimeLimit | | 8 || SetAudioRendererRenderingTimeLimit | ||
Line 172: | Line 200: | ||
| 9 || GetAudioRendererRenderingTimeLimit | | 9 || GetAudioRendererRenderingTimeLimit | ||
|} | |} | ||
= codecctl = | = codecctl = |