Home | Lesson Reference | std::unique_ptr
This Readme and the code in this repo have been pulled together to update The excellent Juce tutorials from The Audio Programmer, and those contained in the the JUCE website tutorials. The purpose of this is to update the Audio Programmer YouTube Juce series to make use of Juce 6, and the coding standards it recommends.
- The use of
scopedPtr
has now been superceded bystd::unique_ptr<Type>
. The benefits and complexities of this will be discussed elsewhere in the documentation. - Namespaces are now fully referenced in the code. As a general rule,
Using
is no longer employed. For Example you should seestd::cout
in the body of your code instead ofusing std
thencout
in the body of your code. The intent here is to reduce the risk of namespace collisions. - For particularly long namespace or class references, you can use
typedef
, keeping it to the most focused scope possible (ie method first, then class).
To aid with development, I've cobbled together a very basic but usable Audio File Player Pluginn for Juce 6. A plugin already exists for Juce 5, but this fails to build on Juce 6. Further information on this plugin can be found at https://github.com/Spyced-Concepts/AudioFilePlayerPlugin.