projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cba56ad
)
stop crash caused by missing conditional
author
Paul Davis
<paul@linuxaudiosystems.com>
Mon, 11 Apr 2016 13:47:36 +0000
(09:47 -0400)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Tue, 31 May 2016 19:30:40 +0000
(15:30 -0400)
libs/ardour/route.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/route.cc
b/libs/ardour/route.cc
index 0b8a0b8ff379c8defea5b13e4db4514ad4643722..29709e3cbaafdf0eebf46ce8f930486433be6a7e 100644
(file)
--- a/
libs/ardour/route.cc
+++ b/
libs/ardour/route.cc
@@
-738,10
+738,12
@@
Route::passthru_silence (framepos_t start_frame, framepos_t end_frame, pframes_t
void
Route::set_listen (bool yn)
{
- if (yn) {
- _monitor_send->activate ();
- } else {
- _monitor_send->deactivate ();
+ if (_monitor_send) {
+ if (yn) {
+ _monitor_send->activate ();
+ } else {
+ _monitor_send->deactivate ();
+ }
}
}