OS/2's music player. More...
#include <os2_m.h>
Public Member Functions | |
const char * | Start (const char *const *param) |
Start this driver. | |
void | Stop () |
Stop this driver. | |
void | PlaySong (const char *filename) |
Play a particular song. | |
void | StopSong () |
Stop playing the current song. | |
bool | IsSongPlaying () |
Are we currently playing a song? | |
void | SetVolume (byte vol) |
Set the volume, if possible. | |
const char * | GetName () const |
Get the name of this driver. |
OS/2's music player.
Definition at line 18 of file os2_m.h.
const char* MusicDriver_OS2::GetName | ( | ) | const [inline, virtual] |
bool MusicDriver_OS2::IsSongPlaying | ( | ) | [virtual] |
void MusicDriver_OS2::PlaySong | ( | const char * | filename | ) | [virtual] |
Play a particular song.
filename | The name of file with the song to play. |
Implements MusicDriver.
Definition at line 50 of file os2_m.cpp.
References MidiSendCommand().
void MusicDriver_OS2::SetVolume | ( | byte | vol | ) | [virtual] |
Set the volume, if possible.
vol | The new volume. |
Implements MusicDriver.
Definition at line 66 of file os2_m.cpp.
References MidiSendCommand().
const char * MusicDriver_OS2::Start | ( | const char *const * | parm | ) | [virtual] |