Difference between revisions of "CSND:Initialize"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00010140] |- | 1 | Shared memory block size, for mem-block creation. |- | 2 | Un...")
 
 
(4 intermediate revisions by 2 users not shown)
Line 12: Line 12:
 
|-
 
|-
 
| 2
 
| 2
| Unk0
+
| Offset0 located in the shared-memory, region size=8, used for dumping some DSP flags with type0 cmd 0x300.
 
|-
 
|-
 
| 3
 
| 3
| Unk1
+
| Offset1 located in the shared-memory, region size=12*num_channels, used for dumping sound channel states with type0 cmd 0x300.
 
|-
 
|-
 
| 4
 
| 4
| Unk2
+
| Offset2 located in the shared-memory, region size=8*num_capturedevices, used for dumping capture device states with type0 cmd 0x300.
 
|-
 
|-
 
| 5
 
| 5
| Unk3
+
| Offset3 located in the shared-memory.
 
|}
 
|}
  
Line 43: Line 43:
 
|-
 
|-
 
| 4
 
| 4
| Shared memory block handle
+
| [[CSND_Shared_Memory|Shared memory]] block handle
 
|}
 
|}

Latest revision as of 20:33, 5 January 2015

Request[edit]

Index Word Description
0 Header code [0x00010140]
1 Shared memory block size, for mem-block creation.
2 Offset0 located in the shared-memory, region size=8, used for dumping some DSP flags with type0 cmd 0x300.
3 Offset1 located in the shared-memory, region size=12*num_channels, used for dumping sound channel states with type0 cmd 0x300.
4 Offset2 located in the shared-memory, region size=8*num_capturedevices, used for dumping capture device states with type0 cmd 0x300.
5 Offset3 located in the shared-memory.

Response[edit]

Index Word Description
0 Header code
1 Result code
2 Handle-list header, value is: 0x4000000
3 Mutex handle
4 Shared memory block handle