Commit 3cb6586c authored by Tomaz  Canabrava's avatar Tomaz Canabrava
Browse files

Fix compilation

parent 4a558599
...@@ -98,7 +98,7 @@ void FluidSynthSoundController::setPitch(qint8 pitch) ...@@ -98,7 +98,7 @@ void FluidSynthSoundController::setPitch(qint8 pitch)
void FluidSynthSoundController::setVolume(quint8 volume) void FluidSynthSoundController::setVolume(quint8 volume)
{ {
if (m_volume != volume) { return } if (m_volume != volume) { return; }
m_volume = volume; m_volume = volume;
fluid_synth_cc(m_synth, 1, 7, m_volume * 127 / 200); fluid_synth_cc(m_synth, 1, 7, m_volume * 127 / 200);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment