Fix for broken OSX audio

This commit is contained in:
Charles J. Cliffe 2015-02-05 20:01:21 -05:00
parent a8070ca953
commit 590d494fea

View File

@ -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;