| Parameters |
|---|
| snd_convert% |
| handle to a snd_convert object created with snd_convert_open. |
| src* |
| Bank which contains un-encoded data. |
| src_offset% |
| Offset (in bytes) of where data is contained in src. |
| src_count% |
| Count (in bytes) of data to encode from src. |
| dest* |
| Bank which will contain encoded data. |
| dest_offset% |
| Offset (in bytes) to store data in dest. |
| dest_count% |
| Count (in bytes) of data for storing encoded data in dest. |
| Description |
|---|
| Converts data from one format to another. If the data contained in src or dest is invalid or not of the correct size (see snd_convert_getsize) this function may fail. src_offset and dest_offset may be zero for no offset(s). Note: Remember to store the returned value. |
| Return |
|---|
| Returns the size of valid encoded data. |
| SndLib : Sound Conversion : snd_convert_encode |
|---|