|
|
|
@@ -289,7 +289,7 @@ OSStatus JackCoreAudioDriver::DeviceNotificationCallback(AudioDeviceID inDevice, |
|
|
|
|
|
|
|
case kAudioDevicePropertyStreamConfiguration: { |
|
|
|
jack_error("Cannot handle kAudioDevicePropertyStreamConfiguration : server will quit..."); |
|
|
|
driver->NotifyFailure(JackClientProcessFailure, "Another application has changed the device configuration."); // Message length limited to JACK_MESSAGE_SIZE |
|
|
|
driver->NotifyFailure(JackBackendError, "Another application has changed the device configuration."); // Message length limited to JACK_MESSAGE_SIZE |
|
|
|
driver->CloseAUHAL(); |
|
|
|
kill(JackTools::GetPID(), SIGINT); |
|
|
|
return kAudioHardwareUnsupportedOperationError; |
|
|
|
@@ -297,7 +297,7 @@ OSStatus JackCoreAudioDriver::DeviceNotificationCallback(AudioDeviceID inDevice, |
|
|
|
|
|
|
|
case kAudioDevicePropertyNominalSampleRate: { |
|
|
|
jack_error("Cannot handle kAudioDevicePropertyNominalSampleRate : server will quit..."); |
|
|
|
driver->NotifyFailure(JackClientProcessFailure, "Another application has changed the sample rate."); // Message length limited to JACK_MESSAGE_SIZE |
|
|
|
driver->NotifyFailure(JackBackendError, "Another application has changed the sample rate."); // Message length limited to JACK_MESSAGE_SIZE |
|
|
|
driver->CloseAUHAL(); |
|
|
|
kill(JackTools::GetPID(), SIGINT); |
|
|
|
return kAudioHardwareUnsupportedOperationError; |
|
|
|
|