mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2024-11-05 00:41:17 -05:00
Fix for broken OSX audio
This commit is contained in:
parent
a8070ca953
commit
590d494fea
@ -326,6 +326,7 @@ void AudioThread::setupDevice(int deviceId) {
|
||||
} else {
|
||||
deviceController[parameters.deviceId]->bindThread(this);
|
||||
}
|
||||
active = true;
|
||||
|
||||
#else
|
||||
if (dac.isStreamOpen()) {
|
||||
@ -473,6 +474,7 @@ void AudioThread::setActive(bool state) {
|
||||
}
|
||||
}
|
||||
}
|
||||
active = state;
|
||||
#else
|
||||
if (state && !active && outputDevice != -1) {
|
||||
active = state;
|
||||
|
Loading…
Reference in New Issue
Block a user