Audio Module Dependencies

The module declaration of juce_audio_processors has the following dependencies:

dependencies:     juce_gui_extra, juce_audio_basics

But the header includes are:

#include <juce_gui_basics/juce_gui_basics.h>
#include <juce_audio_basics/juce_audio_basics.h>

The same thing can be seen in juce_audio utils:

  dependencies:     juce_gui_extra, juce_audio_basics, juce_audio_processors, juce_audio_formats

Actual includes:

#include <juce_gui_basics/juce_gui_basics.h>
#include <juce_audio_devices/juce_audio_devices.h>
#include <juce_audio_formats/juce_audio_formats.h>
#include <juce_audio_processors/juce_audio_processors.h>

Do the juce_audio_processors and juce_audio_utils modules really require juce_gui_extra?


If you look in their cpp files, they include it internally, but don’t bother including it in their headers because it’s not needed for defining their classes.