diff options
author | Paweł Kołodziejski | 2003-11-08 22:57:42 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2003-11-08 22:57:42 +0000 |
commit | 13c7acee9d57cc5d3134c9f5be0f7cb2614c33e7 (patch) | |
tree | 3f382ac8a9a37673da8aa77e11d335fa9bd9129d /backends/midi/ym2612.cpp | |
parent | b5a7ef0822d336958682b3f9b8b1c4fc0d28af3c (diff) | |
download | scummvm-rg350-13c7acee9d57cc5d3134c9f5be0f7cb2614c33e7.tar.gz scummvm-rg350-13c7acee9d57cc5d3134c9f5be0f7cb2614c33e7.tar.bz2 scummvm-rg350-13c7acee9d57cc5d3134c9f5be0f7cb2614c33e7.zip |
cleanup whitespaces
svn-id: r11220
Diffstat (limited to 'backends/midi/ym2612.cpp')
-rw-r--r-- | backends/midi/ym2612.cpp | 36 |
1 files changed, 17 insertions, 19 deletions
diff --git a/backends/midi/ym2612.cpp b/backends/midi/ym2612.cpp index 1e1b4ce2e4..9f23fd1582 100644 --- a/backends/midi/ym2612.cpp +++ b/backends/midi/ym2612.cpp @@ -208,22 +208,21 @@ public: //////////////////////////////////////// Operator2612::Operator2612 (Voice2612 *owner) : -_owner (owner), -_state (_s_ready), -_currentLevel ((int32)0x7f << 15), -_phase (0), -_lastOutput (0), -_feedbackLevel (0), -_detune (0), -_multiple (1), -_keyScale (0), -_specifiedTotalLevel (127), -_specifiedAttackRate (0), -_specifiedDecayRate (0), -_specifiedSustainRate (0), -_specifiedReleaseRate (15) -{ - velocity(0); + _owner (owner), + _state (_s_ready), + _currentLevel ((int32)0x7f << 15), + _phase (0), + _lastOutput (0), + _feedbackLevel (0), + _detune (0), + _multiple (1), + _keyScale (0), + _specifiedTotalLevel (127), + _specifiedAttackRate (0), + _specifiedDecayRate (0), + _specifiedSustainRate (0), + _specifiedReleaseRate (15) { + velocity(0); } Operator2612::~Operator2612() @@ -232,7 +231,7 @@ Operator2612::~Operator2612() void Operator2612::velocity(int velo) { _velocity = velo; _totalLevel = ((int32)_specifiedTotalLevel << 15) + - ((int32)(127-_velocity) << 13); + ((int32)(127-_velocity) << 13); _sustainLevel = ((int32)_specifiedSustainLevel << 17); } @@ -724,8 +723,7 @@ void MidiChannel_YM2612::rate(uint16 r) { //////////////////////////////////////// MidiDriver_YM2612::MidiDriver_YM2612(SoundMixer *mixer) : -_mixer(mixer) -{ +_mixer(mixer) { _isOpen = false; _timer_proc = 0; _timer_param = 0; |