summaryrefslogtreecommitdiffstats
path: root/libkmid/midistat.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libkmid/midistat.cc')
-rw-r--r--libkmid/midistat.cc18
1 files changed, 9 insertions, 9 deletions
diff --git a/libkmid/midistat.cc b/libkmid/midistat.cc
index 9a45c2472..29d1436c8 100644
--- a/libkmid/midistat.cc
+++ b/libkmid/midistat.cc
@@ -1,6 +1,6 @@
/**************************************************************************
- midistat.cc - class MiditqStatus, change it internally and then send it.
+ midistat.cc - class MidiStatus, change it internally and then send it.
This file is part of LibKMid 0.9.5
Copyright (C) 1997,98,99,2000 Antonio Larrosa Jimenez
LibKMid's homepage : http://www.arrakis.es/~rlarrosa/libkmid.html
@@ -33,7 +33,7 @@
extern int MT32toGM[128];
-MiditqStatus::MiditqStatus()
+MidiStatus::MidiStatus()
{
int i;
tempo=1000000;
@@ -51,29 +51,29 @@ MiditqStatus::MiditqStatus()
}
}
-MiditqStatus::~MiditqStatus()
+MidiStatus::~MidiStatus()
{
}
// void noteOn ( uchar chn, uchar note, uchar vel );
// void noteOff ( uchar chn, uchar note, uchar vel );
-void MiditqStatus::chnPatchChange ( uchar chn, uchar patch )
+void MidiStatus::chnPatchChange ( uchar chn, uchar patch )
{
chn_patch[chn]=patch;
}
-void MiditqStatus::chnPressure ( uchar chn, uchar vel )
+void MidiStatus::chnPressure ( uchar chn, uchar vel )
{
chn_pressure[chn]=vel;
}
-void MiditqStatus::chnPitchBender ( uchar chn, uchar lsb, uchar msb )
+void MidiStatus::chnPitchBender ( uchar chn, uchar lsb, uchar msb )
{
chn_bender[chn]=((int)msb<<8|lsb);
}
-void MiditqStatus::chnController ( uchar chn, uchar ctl , uchar v )
+void MidiStatus::chnController ( uchar chn, uchar ctl , uchar v )
{
if (ctl==7) chn_lastisvolumeev[chn]=1;
else if (ctl==11) chn_lastisvolumeev[chn]=0;
@@ -81,12 +81,12 @@ void MiditqStatus::chnController ( uchar chn, uchar ctl , uchar v )
chn_controller[chn][ctl]=v;
}
-void MiditqStatus::tmrSetTempo(int v)
+void MidiStatus::tmrSetTempo(int v)
{
tempo=v;
}
-void MiditqStatus::sendData(DeviceManager *midi,int gm)
+void MidiStatus::sendData(DeviceManager *midi,int gm)
{
for (int chn=0;chn<16;chn++)
{