diff options
author | Chris Robinson <[email protected]> | 2014-02-02 16:11:53 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-02-02 16:11:53 -0800 |
commit | 926ecc2dbe4d3ab2493e210a388b2e2f1179383b (patch) | |
tree | 0a86920581e7f5de575a9867ef6b336de8477998 | |
parent | 7c4339c195e29b17c8f76e6fbe9c8ee1b4f7b9b8 (diff) |
Slightly shorten a long line
-rw-r--r-- | Alc/midi/fluidsynth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/midi/fluidsynth.c b/Alc/midi/fluidsynth.c index d2db71e3..d4e594e6 100644 --- a/Alc/midi/fluidsynth.c +++ b/Alc/midi/fluidsynth.c @@ -776,7 +776,7 @@ static void FSynth_process(FSynth *self, ALuint SamplesToDo, ALfloat (*restrict else { /* Figure out how many samples until the next event. */ - tonext = (ALint)(((diff * synth->SampleRate)+(MIDI_CLOCK_RES-1)) / MIDI_CLOCK_RES); + tonext = (ALint)((diff*synth->SampleRate + (MIDI_CLOCK_RES-1)) / MIDI_CLOCK_RES); tonext -= total; } |