diff options
author | athrxx | 2011-04-30 21:11:30 +0200 |
---|---|---|
committer | Willem Jan Palenstijn | 2011-05-17 20:24:30 +0200 |
commit | 2f9c5de7bedfc02c7b5a99da471dafa518a78379 (patch) | |
tree | 1fb5fcbdc149016a864cdf0b6573fb43cc813865 /audio/softsynth/fmtowns_pc98/towns_midi.h | |
parent | 6845f25f541707786f81dded25485c4ff5c8d62d (diff) | |
download | scummvm-rg350-2f9c5de7bedfc02c7b5a99da471dafa518a78379.tar.gz scummvm-rg350-2f9c5de7bedfc02c7b5a99da471dafa518a78379.tar.bz2 scummvm-rg350-2f9c5de7bedfc02c7b5a99da471dafa518a78379.zip |
FM-TOWNS AUDIO: Implement some midi driver functions
Diffstat (limited to 'audio/softsynth/fmtowns_pc98/towns_midi.h')
-rw-r--r-- | audio/softsynth/fmtowns_pc98/towns_midi.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/audio/softsynth/fmtowns_pc98/towns_midi.h b/audio/softsynth/fmtowns_pc98/towns_midi.h index cc390a260b..115142911a 100644 --- a/audio/softsynth/fmtowns_pc98/towns_midi.h +++ b/audio/softsynth/fmtowns_pc98/towns_midi.h @@ -28,9 +28,12 @@ #include "audio/softsynth/fmtowns_pc98/towns_audio.h" #include "audio/mididrv.h" -class MidiChannel_TOWNS; +class TownsMidiOutputChannel; +class TownsMidiInputChannel; + class MidiDriver_TOWNS : public MidiDriver, public TownsAudioInterfacePluginDriver { -friend class MidiChannel_TOWNS; +friend class TownsMidiInputChannel; +friend class TownsMidiOutputChannel; public: MidiDriver_TOWNS(Audio::Mixer *mixer); ~MidiDriver_TOWNS(); @@ -53,7 +56,10 @@ public: TownsAudioInterface *intf() { return _intf; } private: - MidiChannel_TOWNS **_channels; + TownsMidiOutputChannel *allocateOutputChannel(int pri); + + TownsMidiInputChannel **_channels; + TownsMidiOutputChannel **_out; Common::TimerManager::TimerProc _timerBproc; void *_timerBpara; |