Fixed Adlib compilation problem
svn-id: r6014
This commit is contained in:
parent
fe671615de
commit
fec55e0b57
1 changed files with 6 additions and 0 deletions
|
@ -77,6 +77,7 @@ private:
|
|||
void allocate() { _allocated = true; }
|
||||
|
||||
public:
|
||||
MidiDriver *device();
|
||||
byte getNumber() { return _channel; }
|
||||
void release() { _allocated = false; }
|
||||
|
||||
|
@ -579,6 +580,11 @@ void AdlibPart::init (MidiDriver_ADLIB *owner, byte channel) {
|
|||
|
||||
}
|
||||
|
||||
MidiDriver *AdlibPart::device()
|
||||
{
|
||||
return _owner;
|
||||
}
|
||||
|
||||
void AdlibPart::noteOff (byte note)
|
||||
{
|
||||
_owner->part_key_off (this, note);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue