Is there any event to capture "unplug HeadPhone on android or mobile"

I use juce to get sound from mic of headset only. I want to stop processing audio when user unplugs the headset.

Is there any event or listener for that purpose ?

Thank you.

1 Like

I made this patch for this feature. Hope help.