|
std::optional< std::string_view > | Start (const StringList ¶m) override |
| Start this driver.
|
|
void | Stop () override |
| Stop this driver.
|
|
void | PlaySong (const MusicSongInfo &song) override |
| Play a particular song.
|
|
void | StopSong () override |
| Stop playing the current song.
|
|
bool | IsSongPlaying () override |
| Are we currently playing a song?
|
|
void | SetVolume (uint8_t vol) override |
| Set the volume, if possible.
|
|
std::string_view | GetName () const override |
| Get the name of this driver.
|
|
Definition at line 15 of file extmidi.h.
◆ DoPlay()
void MusicDriver_ExtMidi::DoPlay |
( |
| ) |
|
|
private |
◆ DoStop()
void MusicDriver_ExtMidi::DoStop |
( |
| ) |
|
|
private |
◆ GetName()
std::string_view MusicDriver_ExtMidi::GetName |
( |
| ) |
const |
|
inlineoverridevirtual |
Get the name of this driver.
- Returns
- The name of the driver.
Implements Driver.
Definition at line 36 of file extmidi.h.
Referenced by Start().
◆ IsSongPlaying()
bool MusicDriver_ExtMidi::IsSongPlaying |
( |
| ) |
|
|
overridevirtual |
Are we currently playing a song?
- Returns
- True if a song is being played.
Implements MusicDriver.
Definition at line 89 of file extmidi.cpp.
◆ PlaySong()
◆ SetVolume()
void MusicDriver_ExtMidi::SetVolume |
( |
uint8_t |
vol | ) |
|
|
overridevirtual |
◆ Start()
std::optional< std::string_view > MusicDriver_ExtMidi::Start |
( |
const StringList & |
parm | ) |
|
|
overridevirtual |
◆ Stop()
void MusicDriver_ExtMidi::Stop |
( |
| ) |
|
|
overridevirtual |
◆ StopSong()
void MusicDriver_ExtMidi::StopSong |
( |
| ) |
|
|
overridevirtual |
◆ command_tokens
std::vector<std::string> MusicDriver_ExtMidi::command_tokens |
|
private |
◆ pid
pid_t MusicDriver_ExtMidi::pid |
|
private |
◆ song
std::string MusicDriver_ExtMidi::song |
|
private |
The documentation for this class was generated from the following files: