diff options
author | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-09-26 00:52:04 +0200 |
---|---|---|
committer | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-09-26 00:52:04 +0200 |
commit | bd6ca7024f6899b31c29c08675e4b7201858ca0f (patch) | |
tree | 1e0aaae787cfee403a4162189620a4978ea5c2d2 /src/effects | |
parent | 74e987f5cfce08c695c9f685bbcb1f5a6106b52c (diff) |
effects/lv2/lv2effectprocessor: Use float instead of CSAMPLE
Diffstat (limited to 'src/effects')
-rw-r--r-- | src/effects/lv2/lv2effectprocessor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/effects/lv2/lv2effectprocessor.cpp b/src/effects/lv2/lv2effectprocessor.cpp index 6988a14c4c..8340aa7948 100644 --- a/src/effects/lv2/lv2effectprocessor.cpp +++ b/src/effects/lv2/lv2effectprocessor.cpp @@ -117,7 +117,7 @@ void LV2EffectProcessor::process(const ChannelHandle& inputHandle, } for (int i = 0; i < m_parameters.size(); i++) { - m_params[i] = static_cast<CSAMPLE>(m_parameters[i]->value()); + m_params[i] = static_cast<float>(m_parameters[i]->value()); } int j = 0; @@ -142,7 +142,7 @@ LV2EffectGroupState* LV2EffectProcessor::createGroupState(const mixxx::EnginePar LilvInstance* handle = pState->lilvIinstance(); if (handle) { for (int i = 0; i < m_parameters.size(); i++) { - m_params[i] = static_cast<CSAMPLE>(m_parameters[i]->value()); + m_params[i] = static_cast<float>(m_parameters[i]->value()); lilv_instance_connect_port(handle, m_controlPortIndices[i], &m_params[i]); } |