Changes

584 bytes added ,  05:24, 26 August 2013
no edit summary
Line 34: Line 34:     
=Type0 Commands=
 
=Type0 Commands=
 +
=Command 0x1=
 +
{| class="wikitable" border="1"
 +
|-
 +
!  Index Byte
 +
!  Size
 +
!  Description
 +
|-
 +
| 0x2
 +
| 2
 +
| CmdID 0x1
 +
|-
 +
| 0xC
 +
| 4
 +
| Value
 +
|-
 +
| 0x10
 +
| 0x10
 +
| Unused, all-zero.
 +
|}
 +
 +
This might start playing the audio when value=1?
 +
 
=Command 0x3=
 
=Command 0x3=
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
Line 73: Line 95:     
This sets the sample rate. This command is used immediately after command 0xE.
 
This sets the sample rate. This command is used immediately after command 0xE.
 +
 +
=Command 0x9=
 +
{| class="wikitable" border="1"
 +
|-
 +
!  Index Byte
 +
!  Size
 +
!  Description
 +
|-
 +
| 0x2
 +
| 2
 +
| CmdID 0x9
 +
|-
 +
| 0xC
 +
| 4
 +
| Unknown
 +
|-
 +
| 0x10
 +
| 0x10
 +
| Usually zero?
 +
|}
 +
 +
This command must be used after command 0x8(user processes use cmd8 a second time before using this command). The parameter values seem to have no affect when not using IMA-ADPCM encoding?
    
=Command 0xB=
 
=Command 0xB=