ASW Lib
A.D.S. Games SDL Wrapper Library. A library targeted at Allegro4 users who want to switch to SDL3 and use modern c++.
|
Functions | |
void | play (const asw::Sample &sample, int volume=255, unsigned char pan=128, int loop=0) |
Play a sample. | |
void | playMusic (const asw::Music &sample, int volume=255) |
Play a music sample. | |
void | stopMusic () |
Stop the currently playing music. | |
void asw::sound::play | ( | const asw::Sample & | sample, |
int | volume = 255, | ||
unsigned char | pan = 128, | ||
int | loop = 0 ) |
void asw::sound::playMusic | ( | const asw::Music & | sample, |
int | volume = 255 ) |