Top |
#define | AGS_FX_VST3_AUDIO_MAX_PARAMETER_CHANGES |
#define | AGS_FX_VST3_AUDIO_DEFAULT_MIDI_LENGHT |
enum | AgsFxVst3AudioFlags |
struct | AgsFxVst3AudioScopeData |
struct | AgsFxVst3AudioChannelData |
struct | AgsFxVst3AudioInputData |
#define AGS_FX_VST3_AUDIO_SCOPE_DATA(ptr) ((AgsFxVst3AudioScopeData *) (ptr))
#define AGS_FX_VST3_AUDIO_SCOPE_DATA_GET_STRCT_MUTEX(ptr) (&(((AgsFxVst3AudioScopeData *)(ptr))->strct_mutex))
#define AGS_FX_VST3_AUDIO_CHANNEL_DATA(ptr) ((AgsFxVst3AudioChannelData *) (ptr))
#define AGS_FX_VST3_AUDIO_CHANNEL_DATA_GET_STRCT_MUTEX(ptr) (&(((AgsFxVst3AudioChannelData *)(ptr))->strct_mutex))
#define AGS_FX_VST3_AUDIO_INPUT_DATA(ptr) ((AgsFxVst3AudioInputData *) (ptr))
#define AGS_FX_VST3_AUDIO_INPUT_DATA_GET_STRCT_MUTEX(ptr) (&(((AgsFxVst3AudioInputData *)(ptr))->strct_mutex))
AgsFxVst3AudioScopeData * ags_fx_vst3_audio_scope_data_alloc ();
Allocate AgsFxVst3AudioScopeData
Since: 3.10.5
void
ags_fx_vst3_audio_scope_data_free (AgsFxVst3AudioScopeData *scope_data
);
Free scope_data
.
Since: 3.10.5
AgsFxVst3AudioChannelData * ags_fx_vst3_audio_channel_data_alloc ();
Allocate AgsFxVst3AudioChannelData
Since: 3.10.5
void
ags_fx_vst3_audio_channel_data_free (AgsFxVst3AudioChannelData *channel_data
);
Free channel_data
.
Since: 3.10.5
AgsFxVst3AudioInputData * ags_fx_vst3_audio_input_data_alloc ();
Allocate AgsFxVst3AudioInputData
Since: 3.10.5
void
ags_fx_vst3_audio_input_data_free (AgsFxVst3AudioInputData *input_data
);
Free input_data
.
Since: 3.10.5
gboolean ags_fx_vst3_audio_test_flags (AgsFxVst3Audio *fx_vst3_audio
,guint flags
);
Test flags
of fx_vst3_audio
.
Since: 3.10.5
void ags_fx_vst3_audio_set_flags (AgsFxVst3Audio *fx_vst3_audio
,guint flags
);
Set flags
of fx_vst3_audio
.
Since: 3.10.5
void ags_fx_vst3_audio_unset_flags (AgsFxVst3Audio *fx_vst3_audio
,guint flags
);
Unset flags
of fx_vst3_audio
.
Since: 3.10.5
void
ags_fx_vst3_audio_load_plugin (AgsFxVst3Audio *fx_vst3_audio
);
Load plugin of fx_vst3_audio
.
Since: 3.10.5
void
ags_fx_vst3_audio_load_port (AgsFxVst3Audio *fx_vst3_audio
);
Load port of fx_vst3_audio
.
Since: 3.10.5
void ags_fx_vst3_audio_change_program (AgsFxVst3Audio *fx_vst3_audio
,guint port_index
,guint program_list_id
,guint program_index
);
Change program of fx_vst3_audio
.
fx_vst3_audio |
the AgsFxVst3Audio |
|
port_index |
the port index |
|
program_list_id |
the program list id |
|
program_index |
the program index |
Since: 3.10.10
AgsFxVst3Audio *
ags_fx_vst3_audio_new (AgsAudio *audio
);
Create a new instance of AgsFxVst3Audio
Since: 3.10.5
struct AgsFxVst3AudioScopeData { GRecMutex strct_mutex; gpointer parent; guint audio_channels; AgsFxVst3AudioChannelData **channel_data; };
struct AgsFxVst3AudioChannelData { GRecMutex strct_mutex; gpointer parent; guint event_count; float *output; float *input; AgsVstIComponent *icomponent; AgsVstIEditController *iedit_controller; AgsVstIAudioProcessor *iaudio_processor; AgsVstIEditControllerHostEditing *iedit_controller_host_editing; AgsVstComponentHandler *icomponent_handler; AgsVstIComponentHandlerBeginEdit *begin_edit_callback; AgsVstIComponentHandlerPerformEdit *perform_edit_callback; AgsVstIComponentHandlerEndEdit *end_edit_callback; AgsVstIComponentHandlerRestartComponent *restart_component_callback; AgsVstProcessData *process_data; AgsVstProcessContext *process_context; AgsVstParameterChanges *input_parameter_changes; AgsVstIEventList *input_event; struct{ AgsVstParamID param_id; AgsVstParamValue param_value; }parameter_changes[AGS_FX_VST3_AUDIO_MAX_PARAMETER_CHANGES]; AgsFxVst3AudioInputData* input_data[AGS_SEQUENCER_MAX_MIDI_KEYS]; };
struct AgsFxVst3AudioInputData { GRecMutex strct_mutex; gpointer parent; float *output; float *input; AgsVstEvent *note_on; AgsVstEvent *note_off; AgsVstIComponent *icomponent; AgsVstIEditController *iedit_controller; AgsVstIAudioProcessor *iaudio_processor; AgsVstIEditControllerHostEditing *iedit_controller_host_editing; AgsVstComponentHandler *icomponent_handler; AgsVstIComponentHandlerBeginEdit *begin_edit_callback; AgsVstIComponentHandlerPerformEdit *perform_edit_callback; AgsVstIComponentHandlerEndEdit *end_edit_callback; AgsVstIComponentHandlerRestartComponent *restart_component_callback; AgsVstProcessData *process_data; AgsVstProcessContext *process_context; AgsVstParameterChanges *input_parameter_changes; AgsVstIEventList *input_event; struct{ AgsVstParamID param_id; AgsVstParamValue param_value; }parameter_changes[AGS_FX_VST3_AUDIO_MAX_PARAMETER_CHANGES]; snd_seq_event_t *event_buffer; guint key_on; };