Buffer sizes menu in Audio Application template

is there any fast and simply way to make settings menu for Audio Application? I mean settings that allow me to change the buffer size and sample rate. Is there any ready to use class or something like that? I’ve seen such menu in Juce Plugin Host example.


Thanks, I am just watching AudioSettingsDemo example, but I have no idea how to attache it to my MainComponent class