[feature request] a proper way that AudioSourcePlayer should handle with audio device status change

I use AudioSourcePlayer to play a AudioTransportSource, and I found that if the device status have changed, than when I stop and re-start the AudioTransportSource, then AudioSourcePlayer will not play the AudioTransportSource anymore.

looking into the code of the AudioSourcePlayer, I found that the AudioSourcePlayer just release the input source when hitting audioDeviceStopped callback, and there’s no direct way that the user can realize this.

So, I think maybe AudioSourcePlayer should handle device status change internally and correctly, or, should it notify the user that the device has changed through some mechanism?

Surely, I could create a new custom AudioIODeviceCallback that handle device state change, but I think it is a waste of resources to do this, and maybe there’s some better solution to make this possible?

Thx.