mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Formatting: Use nested namespace definitions
This commit is contained in:
parent
90c458d92e
commit
158220ddfa
142 changed files with 394 additions and 796 deletions
|
|
@ -23,9 +23,7 @@
|
|||
==============================================================================
|
||||
*/
|
||||
|
||||
namespace juce
|
||||
{
|
||||
namespace dsp
|
||||
namespace juce::dsp
|
||||
{
|
||||
|
||||
template <typename Element>
|
||||
|
|
@ -1293,5 +1291,4 @@ int Convolution::getCurrentIRSize() const { return pimpl->getCurrentIRSize(); }
|
|||
|
||||
int Convolution::getLatency() const { return pimpl->getLatency(); }
|
||||
|
||||
} // namespace dsp
|
||||
} // namespace juce
|
||||
} // namespace juce::dsp
|
||||
|
|
|
|||
|
|
@ -23,9 +23,7 @@
|
|||
==============================================================================
|
||||
*/
|
||||
|
||||
namespace juce
|
||||
{
|
||||
namespace dsp
|
||||
namespace juce::dsp
|
||||
{
|
||||
|
||||
/**
|
||||
|
|
@ -306,5 +304,4 @@ private:
|
|||
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (Convolution)
|
||||
};
|
||||
|
||||
} // namespace dsp
|
||||
} // namespace juce
|
||||
} // namespace juce::dsp
|
||||
|
|
|
|||
|
|
@ -29,9 +29,7 @@
|
|||
#define JUCE_FAIL_ON_ALLOCATION_IN_SCOPE
|
||||
#endif
|
||||
|
||||
namespace juce
|
||||
{
|
||||
namespace dsp
|
||||
namespace juce::dsp
|
||||
{
|
||||
namespace
|
||||
{
|
||||
|
|
@ -575,7 +573,6 @@ public:
|
|||
ConvolutionTest convolutionUnitTest;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
} // namespace juce::dsp
|
||||
|
||||
#undef JUCE_FAIL_ON_ALLOCATION_IN_SCOPE
|
||||
|
|
|
|||
|
|
@ -23,9 +23,7 @@
|
|||
==============================================================================
|
||||
*/
|
||||
|
||||
namespace juce
|
||||
{
|
||||
namespace dsp
|
||||
namespace juce::dsp
|
||||
{
|
||||
|
||||
struct FFT::Instance
|
||||
|
|
@ -997,5 +995,4 @@ void FFT::performFrequencyOnlyForwardTransform (float* inputOutputData, bool ign
|
|||
zeromem (inputOutputData + limit, static_cast<size_t> (size * 2 - limit) * sizeof (float));
|
||||
}
|
||||
|
||||
} // namespace dsp
|
||||
} // namespace juce
|
||||
} // namespace juce::dsp
|
||||
|
|
|
|||
|
|
@ -23,9 +23,7 @@
|
|||
==============================================================================
|
||||
*/
|
||||
|
||||
namespace juce
|
||||
{
|
||||
namespace dsp
|
||||
namespace juce::dsp
|
||||
{
|
||||
|
||||
/**
|
||||
|
|
@ -128,5 +126,4 @@ private:
|
|||
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (FFT)
|
||||
};
|
||||
|
||||
} // namespace dsp
|
||||
} // namespace juce
|
||||
} // namespace juce::dsp
|
||||
|
|
|
|||
|
|
@ -23,9 +23,7 @@
|
|||
==============================================================================
|
||||
*/
|
||||
|
||||
namespace juce
|
||||
{
|
||||
namespace dsp
|
||||
namespace juce::dsp
|
||||
{
|
||||
|
||||
struct FFTUnitTest : public UnitTest
|
||||
|
|
@ -214,5 +212,4 @@ struct FFTUnitTest : public UnitTest
|
|||
|
||||
static FFTUnitTest fftUnitTest;
|
||||
|
||||
} // namespace dsp
|
||||
} // namespace juce
|
||||
} // namespace juce::dsp
|
||||
|
|
|
|||
|
|
@ -23,9 +23,7 @@
|
|||
==============================================================================
|
||||
*/
|
||||
|
||||
namespace juce
|
||||
{
|
||||
namespace dsp
|
||||
namespace juce::dsp
|
||||
{
|
||||
|
||||
template <typename FloatType>
|
||||
|
|
@ -192,5 +190,4 @@ const char* WindowingFunction<FloatType>::getWindowingMethodName (WindowingMetho
|
|||
template class WindowingFunction<float>;
|
||||
template class WindowingFunction<double>;
|
||||
|
||||
} // namespace dsp
|
||||
} // namespace juce
|
||||
} // namespace juce::dsp
|
||||
|
|
|
|||
|
|
@ -23,9 +23,7 @@
|
|||
==============================================================================
|
||||
*/
|
||||
|
||||
namespace juce
|
||||
{
|
||||
namespace dsp
|
||||
namespace juce::dsp
|
||||
{
|
||||
|
||||
/**
|
||||
|
|
@ -107,5 +105,4 @@ private:
|
|||
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (WindowingFunction)
|
||||
};
|
||||
|
||||
} // namespace dsp
|
||||
} // namespace juce
|
||||
} // namespace juce::dsp
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue