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 )
inlineinherited

Try to play a sound on a specific channel.

Parameters
channelSound channel to play sound on (0-3)
volumePlayback volume (0-127)
panAudio channel panning (-127 to 127)
Returns
true if sound was played