MostlyHarmless 0.0.1
 
Loading...
Searching...
No Matches
mostly_harmless::events::GuiToProcParamEvent Struct Reference

POD type representing a param change event from the gui, to be passed to the audio thread. More...

#include <mostlyharmless_ParamEvent.h>

Public Types

enum class  Type { Begin , Adjust , End }
 

Public Attributes

enum mostly_harmless::events::GuiToProcParamEvent::Type type
 
std::uint32_t paramId
 
double value
 

Detailed Description

POD type representing a param change event from the gui, to be passed to the audio thread.

Member Enumeration Documentation

◆ Type

Represents the type of event sent by the gui.

Enumerator
Begin 

Called before the parameter is changed

Adjust 

Called while the parameter is changing

End 

Called after the parameter has changed.

Member Data Documentation

◆ paramId

std::uint32_t mostly_harmless::events::GuiToProcParamEvent::paramId

The id of the target parameter.

◆ type

enum mostly_harmless::events::GuiToProcParamEvent::Type mostly_harmless::events::GuiToProcParamEvent::type

◆ value

double mostly_harmless::events::GuiToProcParamEvent::value

The new value of the target parameter.


The documentation for this struct was generated from the following file: