12 #include "../stdafx.h" 13 #include "../openttd.h" 15 #include "../base_media_base.h" 16 #include "midifile.hpp" 19 #include <MidiSynthFile.h> 21 #include "../safeguards.h" 44 if (!filename.empty()) {
46 get_ref_for_path(filename.c_str(), &midiRef);
64 fprintf(stderr,
"BeMidi: Set volume not implemented\n");
Metadata about a music track.
static FMusicDriver_BeMidi iFMusicDriver_BeMidi
Factory for BeOS' midi player.
Factory for the BeOS midi player.
Base of BeOS Midi support.
const char * Start(const char *const *param)
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)
Play a particular song.
void SetVolume(byte vol)
Set the volume, if possible.
bool IsSongPlaying()
Are we currently playing a song?
void StopSong()
Stop playing the current song.
static BMidiSynthFile midiSynthFile
The file we're playing.
void Stop()
Stop this driver.