mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 21:55:43 +01:00
fix crash -- midi tracker reset when seeking audio
This commit is contained in:
parent
1202cb57dd
commit
9dd3ceddc4
1 changed files with 3 additions and 1 deletions
|
|
@ -472,7 +472,9 @@ Auditioner::play_audition (framecnt_t nframes)
|
|||
_seek_complete = false;
|
||||
_seeking = false;
|
||||
_seek_frame = -1;
|
||||
midi_diskstream()->reset_tracker();
|
||||
if (_midi_audition && midi_diskstream()) {
|
||||
midi_diskstream()->reset_tracker();
|
||||
}
|
||||
}
|
||||
|
||||
if(!_seeking) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue