41 for (
auto*
af : knownFormats)
43 if (
af->getFormatName() ==
newFormat->getFormatName())
64 #if JUCE_USE_OGGVORBIS
68 #if JUCE_MAC || JUCE_IOS
72 #if JUCE_USE_MP3AUDIOFORMAT
76 #if JUCE_USE_WINDOWS_MEDIA_FORMAT
84 defaultFormatIndex = 0;
96 for (
auto*
af : knownFormats)
107 for (
auto*
af : knownFormats)
108 extensions.
addArray (
af->getFileExtensions());
113 for (
auto&
e : extensions)
114 e = (
e.startsWithChar (
'.') ?
"*" :
"*.") +
e;
127 for (
auto*
af : knownFormats)
128 if (
af->canHandleFile (file))
130 if (
auto* r =
af->createReaderFor (
in,
true))
147 for (
auto*
af : knownFormats)
149 if (
auto* r =
af->createReaderFor (
in.get(),
false))
int size() const noexcept
void add(const ElementType &newElement)
bool contains(ParameterType elementToLookFor) const
FileInputStream * createInputStream() const
String joinIntoString(StringRef separatorString, int startIndex=0, int numberOfElements=-1) const
void removeEmptyStrings(bool removeWhitespaceStrings=true)
void addArray(const StringArray &other, int startIndex=0, int numElementsToAdd=-1)
void removeDuplicates(bool ignoreCase)