CSND:Initialize: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| (2 intermediate revisions by the same user not shown) | |||
| Line 12: | Line 12: | ||
|- | |- | ||
| 2 | | 2 | ||
| Offset0 located in the shared-memory. | | Offset0 located in the shared-memory, region size=8, used for dumping some DSP flags with type0 cmd 0x300. | ||
|- | |- | ||
| 3 | | 3 | ||
| Offset1 located in the shared-memory. | | Offset1 located in the shared-memory, region size=12*num_channels, used for dumping sound channel states with type0 cmd 0x300. | ||
|- | |- | ||
| 4 | | 4 | ||
| Offset2 located in the shared-memory. | | Offset2 located in the shared-memory, region size=8*num_capturedevices, used for dumping capture device states with type0 cmd 0x300. | ||
|- | |- | ||
| 5 | | 5 | ||
Latest revision as of 19:33, 5 January 2015
Request
| 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
| Index Word | Description |
|---|---|
| 0 | Header code |
| 1 | Result code |
| 2 | Handle-list header, value is: 0x4000000 |
| 3 | Mutex handle |
| 4 | Shared memory block handle |