diff options
author | Robert Jonsson <spamatica@gmail.com> | 2011-02-13 15:31:38 +0000 |
---|---|---|
committer | Robert Jonsson <spamatica@gmail.com> | 2011-02-13 15:31:38 +0000 |
commit | ab1e5cf55eec23a64eed68835a5f0bd6b2ad0a39 (patch) | |
tree | b9401eec8d60097b1372e6bae2e94db567d55902 /muse2/muse/route.cpp | |
parent | fc7c7e9f8dc1e86efa19434c7f01d5ac24f7fc55 (diff) |
fixes, see changelog
Diffstat (limited to 'muse2/muse/route.cpp')
-rw-r--r-- | muse2/muse/route.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/muse2/muse/route.cpp b/muse2/muse/route.cpp index 05d25eee..c3df6517 100644 --- a/muse2/muse/route.cpp +++ b/muse2/muse/route.cpp @@ -1417,7 +1417,9 @@ void Route::read(Xml& xml) else if(rtype == JACK_ROUTE) { - void* jport = audioDevice->findPort(s.toLatin1().constData()); + void* jport = 0; + if (audioDevice) // fix crash if jack is zombified at this point + jport=audioDevice->findPort(s.toLatin1().constData()); if(jport == 0) printf("Route::read(): jack port <%s> not found\n", s.toLatin1().constData()); else |