mozilla / cubeb

Cross platform audio library
ISC License
439 stars 124 forks source link

Don't reset device if CUBEB_STREAM_PREF_DISABLE_DEVICE_SWITCHING is set #696

Closed ChunMinChang closed 2 years ago

ChunMinChang commented 2 years ago

We should not always reset the device when the current device is unplugged. The device reset or not should follow the CUBEB_STREAM_PREF_DISABLE_DEVICE_SWITCHING pref.