FileReader::FileReader() : GenericProcessor ("File Reader") , timestamp (0) , currentSampleRate (0) , currentNumChannels (0) , currentSample (0) , currentNumSamples (0) , startSample (0) , stopSample (0) , counter (0) { enabledState (false); const int numFileSources = AccessClass::getPluginManager()->getNumFileSources(); for (int i = 0; i < numFileSources; ++i) { Plugin::FileSourceInfo info = AccessClass::getPluginManager()->getFileSourceInfo (i); StringArray extensions; extensions.addTokens (info.extensions, ";", "\""); const int numExtensions = extensions.size(); for (int j = 0; j < numExtensions; ++j) { supportedExtensions.set (extensions[j].toLowerCase(), i + 1); } } }
FileReader::FileReader() : GenericProcessor("File Reader") { timestamp = 0; enabledState(false); counter = 0; }
FileReader::FileReader() : GenericProcessor("File Reader") { timestamp = 0; enabledState(false); counter = 0; for (int i = 0; i < AccessClass::getPluginManager()->getNumFileSources(); i++) { Plugin::FileSourceInfo info = AccessClass::getPluginManager()->getFileSourceInfo(i); StringArray extensions; extensions.addTokens(info.extensions, ";", "\""); for (int j = 0; j < extensions.size(); j++) { supportedExtensions.set(extensions[j].toLowerCase(), i + 1); } } }