10 #include "../stdafx.h" 11 #include "../openttd.h" 13 #include "../base_media_base.h" 14 #include "midifile.hpp" 17 #include <MidiSynthFile.h> 19 #include "../safeguards.h" 42 if (!filename.empty()) {
44 get_ref_for_path(filename.c_str(), &midiRef);
62 fprintf(stderr,
"BeMidi: Set volume not implemented\n");
Metadata about a music track.
static FMusicDriver_BeMidi iFMusicDriver_BeMidi
Factory for BeOS' midi player.
void StopSong() override
Stop playing the current song.
Factory for the BeOS midi player.
Base of BeOS Midi support.
bool IsSongPlaying() override
Are we currently playing a song?
const char * Start(const char *const *param) override
Start this driver.
static std::string GetSMFFile(const MusicSongInfo &song)
Get the name of a Standard MIDI File for a given song.
void PlaySong(const MusicSongInfo &song) override
Play a particular song.
void Stop() override
Stop this driver.
static BMidiSynthFile midiSynthFile
The file we're playing.
void SetVolume(byte vol) override
Set the volume, if possible.