Difference between revisions of "MICU:StartSampling"

From 3dbrew
Jump to navigation Jump to search
Line 6: Line 6:
 
|-
 
|-
 
| 0
 
| 0
| Header code [0x00100040]
+
| Header code [0x00030140]
 
|-
 
|-
 
| 1
 
| 1
| u32 value
+
| u8 unk0
 +
|-
 +
| 2
 +
| u8 unk1
 +
|-
 +
| 3
 +
| u32 unk2
 +
|-
 +
| 4
 +
| u32 offset (sharedmem_size-4, offset for the offset-field in sharedmem)
 +
|-
 +
| 5
 +
| u8 unk3
 
|}
 
|}
  
Line 24: Line 36:
 
| Result code
 
| Result code
 
|}
 
|}
 
=Description=
 
When the input value is 0, value 1 is written to an u8 MIC module state field. Otherwise, value 0 is written there. Normally the input value is non-zero.
 
 
This command actually isn't "Initialize", this is just the first command Home Menu uses from the same function which called srv_GetServiceHandle(this command isn't used by the sound-app).
 

Revision as of 05:38, 2 September 2014

Request

Index Word Description
0 Header code [0x00030140]
1 u8 unk0
2 u8 unk1
3 u32 unk2
4 u32 offset (sharedmem_size-4, offset for the offset-field in sharedmem)
5 u8 unk3

Response

Index Word Description
0 Header code
1 Result code