Commit 5cbb32ef571f2380ae9bd79268ffb1eb8d913ecb

Ryan C. Gordon 2015-03-19T13:27:10

Disconnected/broken/lost audio devices now continue to fire their callback. The data produced by the callback is just thrown away and the audio thread delays as if it's waiting for the hardware to drain. This lets apps that rely on their audio callback firing regularly continue to make progress to function as properly as possible in the face of disaster. Apps that want to know that the device is really gone and deal with that scenario can use the new hotplug functionality.