Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
dsp_context.h
1// SPDX-FileCopyrightText: © 2024 Alexandros Theodotou <alex@zrythm.org>
2// SPDX-License-Identifier: LicenseRef-ZrythmLicense
3
4#ifndef __UTILS_DSP_CONTEXT_H__
5#define __UTILS_DSP_CONTEXT_H__
6
7#include "zrythm-config.h"
8
9#include "juce_wrapper.h"
10
17class DspContextRAII
18{
19public:
20 DspContextRAII ();
21 ~DspContextRAII ();
22
23private:
24 std::unique_ptr<juce::ScopedNoDenormals> ctx_;
25};
26
27#endif // __UTILS_DSP_CONTEXT_H__