ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

MidiDriver_MPU401 Class Reference

#include <mpu401.h>

Inheritance diagram for MidiDriver_MPU401:
Collaboration diagram for MidiDriver_MPU401:

List of all members.

Public Member Functions

 MidiDriver_MPU401 ()
virtual ~MidiDriver_MPU401 ()
virtual void close ()
 Close the midi driver.
virtual void setTimerCallback (void *timer_param, Common::TimerManager::TimerProc timer_proc)
virtual uint32 getBaseTempo (void)
 The time in microseconds between invocations of the timer callback.
virtual uint32 property (int prop, uint32 param)
 Get or set a property.
virtual MidiChannelallocateChannel ()
virtual MidiChannelgetPercussionChannel ()

Private Attributes

MidiChannel_MPU401 _midi_channels [16]
Common::TimerManager::TimerProc _timer_proc
uint16 _channel_mask

Detailed Description

Definition at line 68 of file mpu401.h.

Constructor & Destructor Documentation

MidiDriver_MPU401::MidiDriver_MPU401 (  ) 

Definition at line 93 of file mpu401.cpp.

MidiDriver_MPU401::~MidiDriver_MPU401 (  )  [virtual]

Definition at line 105 of file mpu401.cpp.

Member Function Documentation

MidiChannel * MidiDriver_MPU401::allocateChannel (  )  [virtual]

Implements MidiDriver.

Definition at line 129 of file mpu401.cpp.

void MidiDriver_MPU401::close (  )  [virtual]

Close the midi driver.

Implements MidiDriver.

Reimplemented in MidiDriver_ALSA.

Definition at line 108 of file mpu401.cpp.

virtual uint32 MidiDriver_MPU401::getBaseTempo ( void   )  [inline, virtual]

The time in microseconds between invocations of the timer callback.

Implements MidiDriver.

Definition at line 80 of file mpu401.h.

virtual MidiChannel* MidiDriver_MPU401::getPercussionChannel (  )  [inline, virtual]

Implements MidiDriver.

Definition at line 84 of file mpu401.h.

uint32 MidiDriver_MPU401::property ( int  prop,
uint32  param 
) [virtual]

Get or set a property.

Reimplemented from MidiDriver.

Definition at line 119 of file mpu401.cpp.

void MidiDriver_MPU401::setTimerCallback ( void *  timer_param,
Common::TimerManager::TimerProc  timer_proc 
) [virtual]

Implements MidiDriver.

Definition at line 144 of file mpu401.cpp.

Member Data Documentation

Definition at line 72 of file mpu401.h.

Definition at line 70 of file mpu401.h.

The documentation for this class was generated from the following files:

Generated on Sat Jun 22 2019 05:02:35 for ResidualVM by doxygen 1.7.1
curved edge   curved edge