mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2026-06-11 18:28:57 -04:00
Fix for broken OSX audio
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user