Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix typo
Signed-off-by: falkTX <falktx@falktx.com>
  • Loading branch information
falkTX committed Sep 29, 2023
1 parent 07436d4 commit b4f3718
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions distrho/src/DistrhoPluginCLAP.cpp
Expand Up @@ -1236,8 +1236,8 @@ class PluginCLAP : ClapEventQueue
if (event->space_id != 0)
continue;

DISTRHO_SAFE_ASSERT_UINT2_BREAK(event->size == sizeof(clap_event_param_value),
event->size, sizeof(clap_event_param_value));
DISTRHO_SAFE_ASSERT_UINT2_BREAK(event->size == sizeof(clap_event_param_value_t),
event->size, sizeof(clap_event_param_value_t));

setParameterValueFromEvent(reinterpret_cast<const clap_event_param_value_t*>(event));
}
Expand Down Expand Up @@ -1308,7 +1308,7 @@ class PluginCLAP : ClapEventQueue
}
#endif

void setParameterValueFromEvent(const clap_event_param_value* const event)
void setParameterValueFromEvent(const clap_event_param_value_t* const event)
{
fCachedParameters.values[event->param_id] = event->value;
fCachedParameters.changed[event->param_id] = true;
Expand Down

0 comments on commit b4f3718

Please sign in to comment.