diff --git a/Source/PluginEditor.cpp b/Source/PluginEditor.cpp index 4a4e34d..f0245f0 100644 --- a/Source/PluginEditor.cpp +++ b/Source/PluginEditor.cpp @@ -155,9 +155,10 @@ void PaulstretchpluginAudioProcessorEditor::addAudioBlock(AudioBuffer& bu void PaulstretchpluginAudioProcessorEditor::chooseFile() { File initialloc = File::getSpecialLocation(File::userHomeDirectory); + String filterstring = processor.m_afm->getWildcardForAllFormats(); FileChooser myChooser("Please select audio file...", initialloc, - "*.wav",true); + filterstring,true); if (myChooser.browseForFileToOpen()) { File resu = myChooser.getResult();