SaturnRingLibrary 0.9
SGL wrapper
 
Loading...
Searching...
No Matches

◆ Play()

int8_t SRL::Sound::Pcm::IPcmFile::Play ( uint8_t volume = 127,
int8_t pan = 0 )
inlineinherited

Try to play sound on the first free channel.

Parameters
volumePlayback volume (0-127)
panAudio channel panning (-127 to 127)
Returns
Channel number if sound was played or -1 if it was not