User Tools

Site Tools


abi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
abi [2019/02/13 19:52]
Redetzky [05: A_RESAMPLE] finish a_resample
abi [2019/02/13 19:56]
Redetzky [01: A_ADPCM] fix typo
Line 15: Line 15:
 ''​01 <color #​22b14c>​FF</​color>​ <color #​ed1c24>​GGGG</​color>​ <color #​A946F2>​SS</​color>​ <color #​ff7f27>​AAAAAA</​color>''​ ''​01 <color #​22b14c>​FF</​color>​ <color #​ed1c24>​GGGG</​color>​ <color #​A946F2>​SS</​color>​ <color #​ff7f27>​AAAAAA</​color>''​
  
-This command produces 16-bit samples from a binary stream. The <color #​22b14c>​flag</​color>​ byte accepts the arguments listed later below that control its behavior, the <color #​ed1c24>​gain</​color> ​byte controls the volume of the samples, the <color #​A946F2>​segment</​color>​ and <color #​ff7f27>​address</​color>​ bytes control where to read the samples in DRAM.+This command produces 16-bit samples from a binary stream. The <color #​22b14c>​flag</​color>​ byte accepts the arguments listed later below that control its behavior, the <color #​ed1c24>​gain</​color> ​bytes controls the volume of the samples, the <color #​A946F2>​segment</​color>​ and <color #​ff7f27>​address</​color>​ bytes control where to read the samples in DRAM.
  
  
Line 21: Line 21:
 This command accepts two flags that control its behavior, these flags are listed in the table below: This command accepts two flags that control its behavior, these flags are listed in the table below:
  
-| <color #​22b14c>​A_INIT (''​0x01''​)</​color>​ |  The seg+address field field is used to restore state at the beginning of the command. If not set the pointer to state is ignored upon initiation, however, state is saved to this address at the end of processing. | +| <color #​22b14c>​A_INIT (''​0x01''​)</​color>​ | The <color #A946F2>seg</​color>​+<color #ff7f27>address</​color> ​field field is used to restore state at the beginning of the command. If not set the pointer to state is ignored upon initiation, however, state is saved to this address at the end of processing. | 
-| <color #​22b14c>​A_MIX (''​0x10''​)</​color> ​ | The results are mixed into the output buffer. If not set results are put into the output buffer. |+| <color #​22b14c>​A_MIX (''​0x10''​)</​color>​ | The results are mixed into the output buffer. If not set results are put into the output buffer. |
 ==== 02: A_CLEARBUFF ==== ==== 02: A_CLEARBUFF ====
  
abi.txt · Last modified: 2019/02/13 19:56 by Redetzky