My project is a live mixer that is currently running very well with very low latency. However, anytime the gui does a filechooser, I will get some dropouts. Example: click file->save as, I get a number of dropouts. I have and integrated player, and recorder, both of which use the file chooser that cause the same problem.
Example code: save as from the menu calls this code in the maincontentcomponent:
FileChooser myChooser (“Please select file to load/store mix…”,
File::getSpecialLocation (File::userApplicationDataDirectory ), “*.mix”);
File mixFile (myChooser.getResult());
if (mixFile.getFileExtension() != “.mix”)
String fn = mixFile.getFullPathName() + “.mix”;
I dont see how this can interfere with the audio threads. Anyone know?
(how should I post code snippets so they are formated?)