diff options
author | Eugene Sandulenko | 2005-07-30 21:11:48 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2005-07-30 21:11:48 +0000 |
commit | 6b4484472b79dc7ea7d1ce545a28fba7d3b7696f (patch) | |
tree | c44c4e61f18ddd537f7082cb48869cf33d422fbd /backends/midi/zodiac.cpp | |
parent | 86ab70b149e5cd00cf54f2e41896e2c4e16795e4 (diff) | |
download | scummvm-rg350-6b4484472b79dc7ea7d1ce545a28fba7d3b7696f.tar.gz scummvm-rg350-6b4484472b79dc7ea7d1ce545a28fba7d3b7696f.tar.bz2 scummvm-rg350-6b4484472b79dc7ea7d1ce545a28fba7d3b7696f.zip |
Remove trailing whitespaces.
svn-id: r18604
Diffstat (limited to 'backends/midi/zodiac.cpp')
-rw-r--r-- | backends/midi/zodiac.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/backends/midi/zodiac.cpp b/backends/midi/zodiac.cpp index 8fb4304dc1..39cfd203ef 100644 --- a/backends/midi/zodiac.cpp +++ b/backends/midi/zodiac.cpp @@ -64,7 +64,7 @@ void MidiDriver_Zodiac::close() { if (_isOpen) { _isOpen = false; MidiDriver_MPU401::close(); - + TwMidiSetMasterVolume(_oldVol); TwMidiClose(_midiHandle); } @@ -81,7 +81,7 @@ void MidiDriver_Zodiac::send(uint32 b) { midiCmd[2] = (b & 0x00FF0000) >> 16; midiCmd[1] = (b & 0x0000FF00) >> 8; midiCmd[0] = (b & 0x000000FF); - + chanID = (midiCmd[0] & 0x0F) ; mdCmd = midiCmd[0] & 0xF0; @@ -89,19 +89,19 @@ void MidiDriver_Zodiac::send(uint32 b) { case 0x80: // note off TwMidiNoteOff(_midiHandle, chanID, midiCmd[1], 0); break; - + case 0x90: // note on TwMidiNoteOn(_midiHandle, chanID, midiCmd[1], midiCmd[2]); break; - + case 0xB0: // control change TwMidiControlChange(_midiHandle, chanID, midiCmd[1], midiCmd[2]); break; - + case 0xC0: // progam change TwMidiProgramChange(_midiHandle, chanID, midiCmd[1]); break; - + case 0xE0: // pitchBend TwMidiPitchBend(_midiHandle, chanID, (short)(midiCmd[1] | (midiCmd[2] << 8))); break; |