pc_speaker_driver::pc_speaker_driver
Signature: pc_speaker_driver::pc_speaker_driver()
Attributes: undefined
Description: Constructor for the pc speaker driver class
pc_speaker_driver::get_channel_count
Signature: int pc_speaker_driver::get_channel_count()
Description: Gets the number of channels of the pc speaker
Return: int
pc_speaker_driver::activate
Signature: void pc_speaker_driver::activate()
Description: Activates the pc speaker driver
Return: void
pc_speaker_driver::is_presend
Signature: bool pc_speaker_driver::is_presend()
Description: Checks if the pc speaker is presend
Return: bool
pc_speaker_driver::get_name
Signature: char* pc_speaker_driver::get_name()
Description: Gets the name of the pc speaker driver
Return: char*
pc_speaker_driver::turn_off
Signature: void pc_speaker_driver::turn_off()
Description: Turns off the pc speaker
Return: void
pc_speaker_driver::turn_on
Signature: void pc_speaker_driver::turn_on()
Description: Turns on the pc speaker
Return: void
pc_speaker_driver::set_frequency
Signature: void pc_speaker_driver::set_frequency(uint16_t frequency)
Description: Sets the frequency of the pc speaker
Parameters:
Return: void
pc_speaker_driver::note_to_frequency
Signature: uint16_t pc_speaker_driver::note_to_frequency(uint8_t note)
Description: Converts a note to a frequency
Parameters:
Return: uint16_t
Show file on GitHub