mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Added iterators to AudioFormatManager.
This commit is contained in:
parent
9eb3c1955a
commit
a93bc9b6e2
1 changed files with 6 additions and 0 deletions
|
|
@ -80,6 +80,12 @@ public:
|
|||
/** Returns one of the registered file formats. */
|
||||
AudioFormat* getKnownFormat (int index) const;
|
||||
|
||||
/** Iterator access to the list of known formats. */
|
||||
AudioFormat** begin() const noexcept { return knownFormats.begin(); }
|
||||
|
||||
/** Iterator access to the list of known formats. */
|
||||
AudioFormat** end() const noexcept { return knownFormats.end(); }
|
||||
|
||||
/** Looks for which of the known formats is listed as being for a given file
|
||||
extension.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue