CSND Shared Memory: Difference between revisions
No edit summary |
No edit summary |
||
Line 34: | Line 34: | ||
=Type0 Commands= | =Type0 Commands= | ||
=Command 0x3= | |||
{| class="wikitable" border="1" | |||
|- | |||
! Index Byte | |||
! Size | |||
! Description | |||
|- | |||
| 0x2 | |||
| 2 | |||
| CmdID 0x3 | |||
|- | |||
| 0xC | |||
| 4 | |||
| Physical address of the first audio sample in the loop. | |||
|- | |||
| 0x10 | |||
| 4 | |||
| Total byte-size of the loop sample-data. | |||
|} | |||
This initializes state for looping, when looping is used. This command is used immediately after command 0x8. | |||
=Command 0x8= | =Command 0x8= | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 50: | Line 72: | ||
|} | |} | ||
This sets the sample rate. | This sets the sample rate. This command is used immediately after command 0xE. | ||
=Command 0xB= | =Command 0xB= |