protect against crash when audio driver is null
This commit is contained in:
parent
fed5335fd5
commit
d4fe28b782
1 changed files with 1 additions and 1 deletions
|
@ -226,7 +226,7 @@ void Seq::selectionChanged(int mode)
|
|||
|
||||
bool Seq::init()
|
||||
{
|
||||
if (!_driver->start()) {
|
||||
if (!_driver || !_driver->start()) {
|
||||
qDebug("Cannot start I/O");
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue