mirror of
https://github.com/LMMS/lmms.git
synced 2026-03-11 02:26:19 -04:00
VstPlugin creates a temporary file for exchanging data chunks of VST plugins with the remote process. After calling QFile::write(...) data has not neccessarily been written due to QFile's internal write buffer. Therefore explicitely call QFile::flush() so all data is guaranteed to be written. Fixes problems with plugins which save small data chunks.