GRC services: Difference between revisions
Line 185: | Line 185: | ||
== RequestOffscreenRecordingFinishReady == | == RequestOffscreenRecordingFinishReady == | ||
Takes an input u64 '''LayerHandle''', no output. | Takes an input u64 '''LayerHandle''', no output. | ||
This is the first cmd used by official sw when finishing recording. Then it waits on the Event originally loaded from [[#GetOffscreenLayerRecordingFinishReadyEvent]]. Then CompleteOffscreenRecordingFinishEx* is used, depending on the sdk-nso version. On any errors, [[#AbortOffscreenRecording]] is used. | |||
== StartOffscreenRecordingEx == | == StartOffscreenRecordingEx == | ||
Line 207: | Line 209: | ||
Same as [[#CompleteOffscreenRecordingFinishEx0]] except the output struct is returned in the cmdreply. | Same as [[#CompleteOffscreenRecordingFinishEx0]] except the output struct is returned in the cmdreply. | ||
== GetOffscreenLayerError == | |||
Takes an input u64 '''LayerHandle''', no output. | |||
== EncodeOffscreenLayerAudioSample == | == EncodeOffscreenLayerAudioSample == | ||
Line 216: | Line 221: | ||
* Updates the current pos and remaining_size with the '''out_size'''. | * Updates the current pos and remaining_size with the '''out_size'''. | ||
* Repeats the loop until the remaining_size is 0. | * Repeats the loop until the remaining_size is 0. | ||
== GetOffscreenLayerRecordingFinishReadyEvent == | == GetOffscreenLayerRecordingFinishReadyEvent == |