![]() | ![]() ![]() |
| Home · Downloads · Your Account · Submit News |
|
Documentation Homepage HAMLib reference Back to HAM Homepage |
|
Functions | |
| sample_info * | ham_InitSample (u8 *data, u32 length, u16 bitrate) |
| Initialize a Waveform Sample for playback. | |
| void | ham_ChangeSampleBitrate (sample_info *sample, u16 bitrate) |
| Changes the Playback Rate (playing speed) of a sample. | |
| void | ham_DeInitSample (sample_info *sample) |
| Removes an initialized sample from memory. | |
| void | ham_PlaySample (sample_info *sample) |
| Starts playback of an initialized Sample. | |
| void | ham_KillSample (sample_info *sample) |
| Force End of Output for a Sample. | |
| void | ham_InitMixer (u16 bitrate) |
| Initialize the HAM Direct sound mixer. | |
| void | ham_DeInitMixer () |
| Deinitialize the HAM Direct sound mixer. | |
| void | ham_SyncMixer () |
| Synchronize the Mixer with the GBA hardware. | |
| void | ham_UpdateMixer () |
| Update and mix all channels for next frame. | |
|
||||||||||||
|
Changes the Playback Rate (playing speed) of a sample.
See also: ham_InitMixer() ham_InitSample() |
|
|
Deinitialize the HAM Direct sound mixer.
See also: ham_InitMixer() |
|
|
Removes an initialized sample from memory.
See also: ham_InitSample() |
|
|
Initialize the HAM Direct sound mixer.
You are advised to use one of the following bitrates for your mixer (You can play any bitrate samples up to the mixer frequency itself, but using a higher mixer bitrate will require more CPU power):
|
|
||||||||||||||||
|
Initialize a Waveform Sample for playback.
See also: ham_InitMixer() ham_PlaySample() ham_DeInitSample() |
|
|
Force End of Output for a Sample.
See also: ham_InitSample() ham_DeInitSample() |
|
|
Starts playback of an initialized Sample.
See also: ham_InitSample() ham_DeInitSample() |
|
|
Synchronize the Mixer with the GBA hardware.
See also: ham_InitMixer() |
|
|
Update and mix all channels for next frame.
See also: ham_InitMixer() ham_SyncMixer() |