Go to the source code of this file.
|
| int __stdcall | EncVagInit (short mode) |
| | Start an encoding of 16-bit PCM audio to VAG data.
|
| int __stdcall | EncVag (short *wav, short *vag, short attribute) |
| | Encode one block of samples into one 16-byte VAG block.
|
| int __stdcall | EncVagFin (short *vag) |
| | Write the 16-byte block that ends the VAG data.
|
◆ EncVagInit()
| int __stdcall EncVagInit |
( |
short | mode | ) |
|
Start an encoding of 16-bit PCM audio to VAG data.
- Parameters
-
- Returns
- Zero.
◆ EncVag()
| int __stdcall EncVag |
( |
short * | wav, |
|
|
short * | vag, |
|
|
short | attribute ) |
Encode one block of samples into one 16-byte VAG block.
- Parameters
-
| wav | The samples. |
| vag | Receives the block. |
| attribute | The loop attribute of the block. |
- Returns
- Zero.
◆ EncVagFin()
| int __stdcall EncVagFin |
( |
short * | vag | ) |
|
Write the 16-byte block that ends the VAG data.
- Parameters
-
- Returns
- Zero.