How to get notified about samplerate changes?

Whats the best way to get notified when a user change samplerate (in AudioDeviceManager or the audio setup component)?

The AudioDeviceManager is a ChangeBroadcaster - you can use that to call you when something changes.