projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e85680f
)
update flow when loading a new session with different SR.
author
Robin Gareus
<robin@gareus.org>
Mon, 18 Apr 2016 13:18:36 +0000
(15:18 +0200)
committer
Robin Gareus
<robin@gareus.org>
Mon, 18 Apr 2016 13:18:36 +0000
(15:18 +0200)
gtk2_ardour/engine_dialog.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/engine_dialog.cc
b/gtk2_ardour/engine_dialog.cc
index be211702649a0f3fd2b3ea101f6bbb52c15010f2..48cf35ba8f8b5ab06a7ab2b9528e04f87048260a 100644
(file)
--- a/
gtk2_ardour/engine_dialog.cc
+++ b/
gtk2_ardour/engine_dialog.cc
@@
-2771,6
+2771,9
@@
void
EngineControl::set_desired_sample_rate (uint32_t sr)
{
_desired_sample_rate = sr;
+ if (ARDOUR::AudioEngine::instance()->running()) {
+ stop_engine ();
+ }
device_changed ();
}