Closed ChunMinChang closed 2 years ago
The audio stream will enter an error state once its device is unplugged. But before firing the error callback, we should stop its AudioUnits to stop getting the unnecessary data callbacks.
The audio stream will enter an error state once its device is unplugged. But before firing the error callback, we should stop its AudioUnits to stop getting the unnecessary data callbacks.