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/quicktime.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/quicktime.cpp')
-rw-r--r-- | backends/midi/quicktime.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/backends/midi/quicktime.cpp b/backends/midi/quicktime.cpp index 43ccb47fe9..1741d612d6 100644 --- a/backends/midi/quicktime.cpp +++ b/backends/midi/quicktime.cpp @@ -47,7 +47,7 @@ class MidiDriver_QT : public MidiDriver_MPU401 { public: MidiDriver_QT(); - + int open(); void close(); void send(uint32 b); @@ -62,7 +62,7 @@ private: // pitch bending so differently from MPU401. uint16 _pitchbend [16]; byte _pitchbend_range [16]; - + void dispose(); }; @@ -109,7 +109,7 @@ int MidiDriver_QT::open() { bail: error("Init QT failed %x %x %d\n", (int)qtNoteAllocator, (int)qtNoteChannel, (int)qtErr); - + dispose(); return MERR_DEVICE_NOT_AVAILABLE; @@ -206,7 +206,7 @@ void MidiDriver_QT::send(uint32 b) { // to +/- 12 semitones. Based on this, we first center the input data, then // multiply it by a factor. If all was right, the factor would be 3/8, but for // mysterious reasons the actual factor we have to use is more like 1/32 or 3/64. - // Maybe the QT docs are right, and + // Maybe the QT docs are right, and _pitchbend[chanID] = ((uint16) midiCmd[1] | (uint16) (midiCmd[2] << 7)); long theBend = ((long) _pitchbend[chanID] - 0x2000) * _pitchbend_range[chanID] / 32; |