sound_device::sound_device
Signature: sound_device::sound_device() : notes(100)
Attributes: undefined
Description: Constructor for the sound device class
sound_device::push_note
Signature: void sound_device::push_note(uint8_t note, uint8_t channel, uint16_t duration_ms)
Description: Pushes a note to the sound device queue
Parameters:
uint8_t note
uint8_t channel
uint16_t duration_ms
Return: void
sound_device::sync
Signature: void sound_device::sync()
Description: Waits until the sound device queue is empty
Return: void
sound_device::get_channel_count
Signature: int sound_device::get_channel_count()
Description: Gets the number of channels of the sound device
Return: int
Show file on GitHub