GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
grem::audio::filter Concept Reference

Concept that checks if a type is a valid sound filter type. More...

#include <GREM/audio/filters.hpp>

Concept definition

template<typename T>
concept grem::audio::filter = trivially_copyable<T> && ((requires(const void* data) {
T::GREM_private_createBuiltinFilter(data);
}) || (requires(T t, const Span<float> samples, const size_t channelCount, const size_t sampleCountPerChannel, const float sampleRate, const double time) {
t.filter(samples, channelCount, sampleCountPerChannel, sampleRate, time);
}))
Definition Span.hpp:146
Concept that checks if a type is a valid sound filter type.
Definition filters.hpp:246
Definition concepts.hpp:187

Detailed Description

Concept that checks if a type is a valid sound filter type.

Template Parameters
Tthe type to check.