# \[bug report\] AudioSourcePlayer cannot playback audio after re-plugging the initialized audio device

**URL:** <https://forum.juce.com/t/bug-report-audiosourceplayer-cannot-playback-audio-after-re-plugging-the-initialized-audio-device/30619>\
**Category:** General JUCE discussion\
**Created:** [November 30, 2018, 12:35pm UTC](https://forum.juce.com/t/bug-report-audiosourceplayer-cannot-playback-audio-after-re-plugging-the-initialized-audio-device/30619 "2018-11-30T12:35:23Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![czy-jerry](https://avatars.discourse-cdn.com/v4/letter/c/e5b9ba/32.png) [@czy-jerry](https://forum.juce.com/u/czy-jerry)\
**Post date:** [December 5, 2018, 6:28am UTC](https://forum.juce.com/t/bug-report-audiosourceplayer-cannot-playback-audio-after-re-plugging-the-initialized-audio-device/30619/5 "2018-12-05T06:28:44Z")

</div>

> [@How to fallback to the default audio device using AudioDeviceManager?](https://forum.juce.com/t/how-to-fallback-to-the-default-audio-device-using-audiodevicemanager/30666):
>
> [https://docs.juce.com/master/tutorial\_audio\_device\_manager.html](https://docs.juce.com/master/tutorial_audio_device_manager.html) This tutorial said that: The [AudioDeviceManager](https://docs.juce.com/master/classAudioDeviceManager.html) class can also fallback to the default device in such circumstances if the preferred device is no longer available (for example, if an external audio device has been unplugged since the last launch). But after building this tutorial, I found that when I unplugged the initial audio device, the current audio device wil become empty…and when I plugged it back, this audio device will …

---

_[View the full topic](https://forum.juce.com/t/bug-report-audiosourceplayer-cannot-playback-audio-after-re-plugging-the-initialized-audio-device/30619)._
