Difference between revisions of "Audio services"
Jump to navigation
Jump to search
Sebastiaan (talk | contribs) |
Sebastiaan (talk | contribs) |
||
Line 34: | Line 34: | ||
=== GetAudioOutState === | === GetAudioOutState === | ||
− | Returns | + | Returns an AudioOutState, 0x00=Started 0x01=Stopped |
= audout:a = | = audout:a = | ||
Line 60: | Line 60: | ||
== RequestSuspendAudioOutsForDebug == | == RequestSuspendAudioOutsForDebug == | ||
− | Takes | + | Takes an [[AM_services#AppletResourceUserId|AppletResourceUserId]]. (u64) |
== RequestResumeAudioOutsForDebug == | == RequestResumeAudioOutsForDebug == | ||
− | Takes | + | Takes an [[AM_services#AppletResourceUserId|AppletResourceUserId]]. (u64) |
= audin:u = | = audin:u = | ||
Line 99: | Line 99: | ||
=== GetAudioInState === | === GetAudioInState === | ||
− | Returns | + | Returns an AudioInState, 0x00=Started 0x01=Stopped |
= audin:a = | = audin:a = | ||
Line 125: | Line 125: | ||
== RequestSuspendAudioInsForDebug == | == RequestSuspendAudioInsForDebug == | ||
− | Takes | + | Takes an [[AM_services#AppletResourceUserId|AppletResourceUserId]]. (u64) |
== RequestResumeAudioInsForDebug == | == RequestResumeAudioInsForDebug == | ||
− | Takes | + | Takes an [[AM_services#AppletResourceUserId|AppletResourceUserId]]. (u64) |
+ | |||
+ | = audrec:u = | ||
+ | |||
+ | {| class="wikitable" border="1" | ||
+ | |- | ||
+ | ! Cmd || Name | ||
+ | |- | ||
+ | | 0 || OpenFinalOutputRecorder | ||
+ | |} | ||
+ | |||
+ | == IFinalOutputRecorder == | ||
+ | {| class="wikitable" border="1" | ||
+ | |- | ||
+ | ! Cmd || Name | ||
+ | |- | ||
+ | | 0 || GetFinalOutputRecorderState | ||
+ | |- | ||
+ | | 1 || StartFinalOutputRecorder | ||
+ | |- | ||
+ | | 2 || StopFinalOutputRecorder | ||
+ | |- | ||
+ | | 3 || AppendFinalOutputRecorderBuffer | ||
+ | |- | ||
+ | | 4 || RegisterBufferEvent | ||
+ | |- | ||
+ | | 5 || GetReleasedFinalOutputRecorderBuffer | ||
+ | |- | ||
+ | | 6 || ContainsFinalOutputRecorderBuffer | ||
+ | |} | ||
= codecctl = | = codecctl = |
Revision as of 11:18, 30 December 2017
audout:u
Cmd | Name |
---|---|
0 | ListAudioOuts |
1 | #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.
IAudioOut
Cmd | Name |
---|---|
0 | #GetAudioOutState |
1 | StartAudioOut |
2 | StopAudioOut |
3 | AppendAudioOutBuffer |
4 | RegisterBufferEvent |
5 | GetReleasedAudioOutBuffer |
6 | ContainsAudioOutBuffer |
GetAudioOutState
Returns an AudioOutState, 0x00=Started 0x01=Stopped
audout:a
Cmd | Name |
---|---|
0 | RequestSuspendAudioOuts |
1 | RequestResumeAudioOuts |
audout:d
Cmd | Name |
---|---|
0 | #RequestSuspendAudioOutsForDebug |
1 | #RequestResumeAudioOutsForDebug |
RequestSuspendAudioOutsForDebug
Takes an AppletResourceUserId. (u64)
RequestResumeAudioOutsForDebug
Takes an AppletResourceUserId. (u64)
audin:u
Cmd | Name |
---|---|
0 | ListAudioIns |
1 | OpenAudioIn |
IAudioIn
Cmd | Name |
---|---|
0 | #GetAudioInState |
1 | StartAudioIn |
2 | StopAudioIn |
3 | AppendAudioInBuffer |
4 | RegisterBufferEvent |
5 | GetReleasedAudioInBuffer |
6 | ContainsAudioInBuffer |
GetAudioInState
Returns an AudioInState, 0x00=Started 0x01=Stopped
audin:a
Cmd | Name |
---|---|
0 | RequestSuspendAudioIns |
1 | RequestResumeAudioIns |
audin:d
Cmd | Name |
---|---|
0 | #RequestSuspendAudioInsForDebug |
1 | #RequestResumeAudioInsForDebug |
RequestSuspendAudioInsForDebug
Takes an AppletResourceUserId. (u64)
RequestResumeAudioInsForDebug
Takes an AppletResourceUserId. (u64)
audrec:u
Cmd | Name |
---|---|
0 | OpenFinalOutputRecorder |
IFinalOutputRecorder
Cmd | Name |
---|---|
0 | GetFinalOutputRecorderState |
1 | StartFinalOutputRecorder |
2 | StopFinalOutputRecorder |
3 | AppendFinalOutputRecorderBuffer |
4 | RegisterBufferEvent |
5 | GetReleasedFinalOutputRecorderBuffer |
6 | ContainsFinalOutputRecorderBuffer |
codecctl
Cmd | Name |
---|---|
0 | InitializeCodecController |
1 | FinalizeCodecController |
2 | SleepCodecController |
3 | WakeCodecController |
4 | #SetCodecVolume |
5 | GetCodecVolumeMax |
6 | GetCodecVolumeMin |
7 | SetCodecActiveTarget |
8 | Unknown |
9 | BindCodecHeadphoneMicJackInterrupt |
10 | IsCodecHeadphoneMicJackInserted |
11 | ClearCodecHeadphoneMicJackInterrupt |
12 | IsCodecDeviceRequested |
SetCodecVolume
Takes a Volume (uint32)