I was wondering if it would be possible to add support for the notification of volume arrival/removal in Juce.
On Windows, it’s related to
WM_DEVICECHANGE with DBT_DEVICEARRIVAL and DBT_DEVICEREMOVECOMPLETE
for the dbch_devicetype equals to DBT_DEVTYP_VOLUME
On Mac, it’s related to kEventClassVolume event class
with kEventVolumeMounted and kEventVolumeUnmounted as event kind
Don’t know much about linux though.