SaturnRingLibrary
0.9
SGL wrapper
Loading...
Searching...
No Matches
◆
PlayOnChannel()
bool SRL::Sound::Pcm::IPcmFile::PlayOnChannel
(
uint8_t
channel
,
uint8_t
volume
=
127
,
int8_t
pan
=
0
)
inline
inherited
Try to play a sound on a specific channel.
Parameters
channel
Sound
channel to play sound on (0-3)
volume
Playback volume (0-127)
pan
Audio channel panning (-127 to 127)
Returns
true if sound was played
SRL
Sound
Pcm
WaveSound