MCPcopy Create free account
hub / github.com/ZL-Audio/ZLEqualizer / processParallelOneBandPrePost

Method processParallelOneBandPrePost

source/zlp/controller.cpp:922–935  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

920
921 template <bool is_pre>
922 void Controller::processParallelOneBandPrePost(const size_t i,
923 std::span<double*> main_pointers, const size_t num_samples) {
924 if constexpr (is_pre) {
925 if (c_filter_status_[i] == kOn) {
926 parallel_filters_[i].processPre<false>(main_pointers, num_samples);
927 } else {
928 parallel_filters_[i].processPre<true>(main_pointers, num_samples);
929 }
930 } else {
931 if (c_filter_status_[i] == kOn) {
932 parallel_filters_[i].processPost<false>(main_pointers, num_samples);
933 }
934 }
935 }
936
937 template <bool bypass, typename CorrectionArrayType>
938 void Controller::processCorrections(CorrectionArrayType& corrections, std::span<double*> main_pointers,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected