Need slight adjustment to include for amalgamation


#1

juce_audio_devices.h

#if JUCE_USE_CDREADER
#include "../juce_audio_formats/juce_audio_formats.h"
#endif

The problem is that the include appears inside a conditional. Can we please do away with the conditional and always include juce_audio_formats.h?

Also it seems strange that the changing of a macro could introduce dependencies on different modules (turning on JUCE_USE_CDREADER will silently require that the juce_audio_formats module get included).


#2

Yes, fair point, I’ll remove that conditional.


#3

In case you were wondering this is the full amalgamation except for audio_plugin_client, with no repetition of source material:

[attachment=0]JuceAmalgam.png[/attachment]


#4

The file sizes perfectly follow a Pareto distribution (or power law distribution):

[attachment=0]JuceAmalgamPowerLaw.png[/attachment]