summaryrefslogtreecommitdiffstats
path: root/libkmid/midistat.cc
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-07 03:45:53 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-07 03:45:53 +0000
commit10308be19ef7fa44699562cc75946e7ea1fdf6b9 (patch)
tree4bc444c00a79e88105f2cfce5b6209994c413ca0 /libkmid/midistat.cc
parent307136d8eef0ba133b78ceee8e901138d4c996a1 (diff)
downloadtdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.tar.gz
tdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.zip
Revert automated changes
Sorry guys, they are just not ready for prime time Work will continue as always git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1212479 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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++)
{