10#ifndef MUSIC_MACOSX_COCOA_H
11#define MUSIC_MACOSX_COCOA_H
28 std::string_view
GetName()
const override {
return "cocoa"; }
Base for all driver factories.
A driver for communicating with the user.
@ DT_MUSIC
A music driver, needs to be before sound to properly shut down extmidi forked music players.
Driver * CreateInstance() const override
Create an instance of this driver-class.
void SetVolume(uint8_t vol) override
Set the volume, if possible.
bool IsSongPlaying() override
Are we currently playing a song?
void Stop() override
Stop this driver.
void StopSong() override
Stop playing the current song.
std::optional< std::string_view > Start(const StringList ¶m) override
Start this driver.
std::string_view GetName() const override
Get the name of this driver.
void PlaySong(const MusicSongInfo &song) override
Play a particular song.
Driver for all music playback.
Base for all music playback.
std::vector< std::string > StringList
Type for a list of strings.
Metadata about a music track.