Browse Source

Added iterators to AudioFormatManager.

tags/2021-05-28
jules 12 years ago
parent
commit
a93bc9b6e2
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      modules/juce_audio_formats/format/juce_AudioFormatManager.h

+ 6
- 0
modules/juce_audio_formats/format/juce_AudioFormatManager.h View File

@@ -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…
Cancel
Save