mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 19:56:31 +01:00
fix freeze operation crashes by obtaining process buffers in freeze thread (and then dropping them) rather than just setting up the per-thread object that stores them
git-svn-id: svn://localhost/ardour2/branches/3.0@12029 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
0eee85f43b
commit
bcb2f4f123
1 changed files with 2 additions and 1 deletions
|
|
@ -3393,9 +3393,10 @@ Editor::freeze_thread ()
|
||||||
SessionEvent::create_per_thread_pool ("freeze events", 64);
|
SessionEvent::create_per_thread_pool ("freeze events", 64);
|
||||||
/* create per-thread buffers for process() tree to use */
|
/* create per-thread buffers for process() tree to use */
|
||||||
current_interthread_info->process_thread.init ();
|
current_interthread_info->process_thread.init ();
|
||||||
|
current_interthread_info->process_thread.get_buffers ();
|
||||||
clicked_routeview->audio_track()->freeze_me (*current_interthread_info);
|
clicked_routeview->audio_track()->freeze_me (*current_interthread_info);
|
||||||
current_interthread_info->done = true;
|
current_interthread_info->done = true;
|
||||||
|
current_interthread_info->process_thread.drop_buffers();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue