|
coastline 0.0.4
|
The start of a sample on a sound effect channel. More...
#include "common/types.h"

Go to the source code of this file.
Functions | |
| void | InitSoundChannel (s16 channel, s8 *sample, u32 length, u32 loopLength) |
| Play a sample on a sound effect channel at its own rate and the middle levels. | |
| void | StartSoundChannelMuted (s16 channel, s8 *sample, u32 length, u32 loopLength) |
| Play a sample on a sound effect channel at its own rate and no level, for SetSoundChannelVolume() to raise. | |
The start of a sample on a sound effect channel.
Play a sample on a sound effect channel at its own rate and the middle levels.
| channel | The sound effect channel. |
| sample | The first byte of the sample. |
| length | The length of the sample, in bytes. |
| loopLength | The length of the loop at the end of the sample in bytes, or 0 to play once. |
Play a sample on a sound effect channel at its own rate and no level, for SetSoundChannelVolume() to raise.
| channel | The sound effect channel. |
| sample | The first byte of the sample. |
| length | The length of the sample, in bytes. |
| loopLength | The length of the loop at the end of the sample in bytes, or 0 to play once. |