![]() |
PicoVGA
1.0-cmake
VGA/TV display on Raspberry Pico
|
PWM sound output.
Go to the source code of this file.
Functions | |
void | PWMSndInit () |
Initialize PWM sound output. More... | |
void | PlaySound (const u8 *snd, int len, Bool rep=False, float speed=1.0f) |
Output PWM sound. More... | |
void | StopSound () |
stop playing sound More... | |
void | SpeedSound (float speed) |
Update sound speed. More... | |
Bool | PlayingSound () |
Check if playing sound. | |
void | SetNextSound (const u8 *snd, int len) |
Set the next sound to play. More... | |
Variables | |
const u8 * | CurSound |
volatile int | SoundCnt |
int | SoundInc |
volatile int | SoundAcc |
const u8 * | NextSound |
int | NextSoundCnt |