# Can I detect when selected audio device sample rate changes?

**URL:** <https://forum.juce.com/t/can-i-detect-when-selected-audio-device-sample-rate-changes/65006>\
**Category:** General JUCE discussion\
**Created:** [January 24, 2025, 4:56pm UTC](https://forum.juce.com/t/can-i-detect-when-selected-audio-device-sample-rate-changes/65006 "2025-01-24T16:56:08Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![masshacker](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/masshacker/32/650_2.png) [@masshacker](https://forum.juce.com/u/masshacker)\
**Post date:** [January 26, 2025, 12:03pm UTC](https://forum.juce.com/t/can-i-detect-when-selected-audio-device-sample-rate-changes/65006/3 "2025-01-26T12:03:58Z")

</div>

Hi Howard, this is what I usually do in these cases, maybe it can help you: [Audio stops working after changing samplerate externally - #2 by masshacker](https://forum.juce.com/t/audio-stops-working-after-changing-samplerate-externally/60803/2)

---

_[View the full topic](https://forum.juce.com/t/can-i-detect-when-selected-audio-device-sample-rate-changes/65006)._
