# Juce\_dsp includes juce\_audio\_formats in the header unnecessarily

**URL:** <https://forum.juce.com/t/juce-dsp-includes-juce-audio-formats-in-the-header-unnecessarily/64077>\
**Category:** General JUCE discussion\
**Created:** [November 4, 2024, 1:39pm UTC](https://forum.juce.com/t/juce-dsp-includes-juce-audio-formats-in-the-header-unnecessarily/64077 "2024-11-04T13:39:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jimc](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jimc/32/16067_2.png) [@jimc](https://forum.juce.com/u/jimc)\
**Post date:** [November 4, 2024, 1:39pm UTC](https://forum.juce.com/t/juce-dsp-includes-juce-audio-formats-in-the-header-unnecessarily/64077/1 "2024-11-04T13:39:36Z")

</div>

But it compiles fine if you move that to the juce\_dsp.cpp file instead of including it in the header. And then the compile time of the rest of my project improves. It’s only used by the CPP file of the Convolution code.

Maybe you want to make this change to the source?

Currently in a war on build times… 🙂

---

<div class="post-metadata">

**Author:** ![reuk](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/reuk/32/21494_2.png) [@reuk](https://forum.juce.com/u/reuk)\
**Post date:** [November 5, 2024, 11:05pm UTC](https://forum.juce.com/t/juce-dsp-includes-juce-audio-formats-in-the-header-unnecessarily/64077/2 "2024-11-05T23:05:24Z")

</div>

Thanks for the suggestion!

> <https://github.com/juce-framework/JUCE/commit/8e086c7f05bd39097ca652bec807a8327e7068ce>
