summaryrefslogtreecommitdiff
path: root/apps/plugins/midi/midiplay.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/midi/midiplay.c')
-rw-r--r--apps/plugins/midi/midiplay.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugins/midi/midiplay.c b/apps/plugins/midi/midiplay.c
index 20070f6716..6df1578bb3 100644
--- a/apps/plugins/midi/midiplay.c
+++ b/apps/plugins/midi/midiplay.c
@@ -484,6 +484,8 @@ static int midimain(const void * filename)
484 /* but run through the tracks without the synth running */ 484 /* but run through the tracks without the synth running */
485 rb->pcm_play_stop(); 485 rb->pcm_play_stop();
486 seekBackward(5); 486 seekBackward(5);
487 lastswap = !swap;
488 synthbuf();
487 midi_debug("Rewind to %d:%02d\n", playing_time/60, playing_time%60); 489 midi_debug("Rewind to %d:%02d\n", playing_time/60, playing_time%60);
488 if (is_playing) 490 if (is_playing)
489 rb->pcm_play_data(&get_more, NULL, NULL, 0); 491 rb->pcm_play_data(&get_more, NULL, NULL, 0);
@@ -494,6 +496,8 @@ static int midimain(const void * filename)
494 { 496 {
495 rb->pcm_play_stop(); 497 rb->pcm_play_stop();
496 seekForward(5); 498 seekForward(5);
499 lastswap = !swap;
500 synthbuf();
497 midi_debug("Skip to %d:%02d\n", playing_time/60, playing_time%60); 501 midi_debug("Skip to %d:%02d\n", playing_time/60, playing_time%60);
498 if (is_playing) 502 if (is_playing)
499 rb->pcm_play_data(&get_more, NULL, NULL, 0); 503 rb->pcm_play_data(&get_more, NULL, NULL, 0);