Browse Source

JackCoreAudioDriver cleanup.

tags/1.9.9.5
Stephane Letz 13 years ago
parent
commit
24efa16f31
1 changed files with 2 additions and 26 deletions
  1. +2
    -26
      macosx/coreaudio/JackCoreAudioDriver.cpp

+ 2
- 26
macosx/coreaudio/JackCoreAudioDriver.cpp View File

@@ -192,7 +192,6 @@ static bool CheckAvailableDevice(AudioDeviceID device_id)
if (device_id == devices[i]) {
return true;
}

}

return false;
@@ -1380,15 +1379,7 @@ int JackCoreAudioDriver::SetupDevices(const char* capture_driver_uid,
}
}
}
/*
if (fHogged) {
if (TakeHog()) {
jack_info("Device = %ld has been hogged", fDeviceID);
}
}
*/
return 0;
}

@@ -2074,22 +2065,7 @@ int JackCoreAudioDriver::Open(jack_nframes_t buffer_size,
}
if (ac3_encoding) {
/*
// Force hogged mode
fHogged = true;
if (TakeHog()) {
jack_info("Device = %ld has been hogged", fDeviceID);
}
*/
/*
if (!IsDigitalDevice(fDeviceID)) {
jack_error("AC3 encoding can only be used with a digital device");
goto error;
}
*/
if (!fDigitalPlayback) {
jack_error("AC3 encoding can only be used with a digital device");
goto error;


Loading…
Cancel
Save