Top |
#define AGS_OSC_METER_CONTROLLER_MONITOR(ptr) ((AgsOscMeterControllerMonitor *)(ptr))
gboolean ags_osc_meter_controller_test_flags (AgsOscMeterController *osc_meter_controller
,AgsOscMeterControllerFlags flags
);
Test flags
to be set on osc_meter_controller
.
Since: 3.0.0
void ags_osc_meter_controller_set_flags (AgsOscMeterController *osc_meter_controller
,AgsOscMeterControllerFlags flags
);
Set flags.
Since: 3.0.0
void ags_osc_meter_controller_unset_flags (AgsOscMeterController *osc_meter_controller
,AgsOscMeterControllerFlags flags
);
Unset flags.
Since: 3.0.0
AgsOscMeterControllerMonitor * ags_osc_meter_controller_monitor_alloc ();
Allocate AgsOscMeterControllerMonitor.
Since: 3.0.0
void
ags_osc_meter_controller_monitor_free (AgsOscMeterControllerMonitor *monitor
);
Free monitor
.
Since: 3.0.0
void
ags_osc_meter_controller_monitor_ref (AgsOscMeterControllerMonitor *monitor
);
Increase reference count of monitor
.
Since: 3.0.0
void
ags_osc_meter_controller_monitor_unref
(AgsOscMeterControllerMonitor *monitor
);
Decrease reference count of monitor
. If ref count is less or equal 0
monitor
is freed.
Since: 3.0.0
GList * ags_osc_meter_controller_monitor_find_path (GList *monitor
,gchar *path
);
Find path
in monitor
.
monitor |
the GList containing AgsOscMeterControllerMonitor. |
[element-type gpointer][transfer none] |
path |
the path as string |
the next matching GList containing AgsOscMeterControllerMonitor.
[element-type gpointer][transfer none]
Since: 3.0.0
GList * ags_osc_meter_controller_monitor_find_port (GList *monitor
,AgsPort *port
);
Find port
in monitor
.
monitor |
the GList containing AgsOscMeterControllerMonitor. |
[element-type gpointer][transfer none] |
port |
the AgsPort |
the next matching GList containing AgsOscMeterControllerMonitor.
[element-type gpointer][transfer none]
Since: 3.0.0
void ags_osc_meter_controller_add_monitor (AgsOscMeterController *osc_meter_controller
,AgsOscMeterControllerMonitor *monitor
);
void ags_osc_meter_controller_remove_monitor (AgsOscMeterController *osc_meter_controller
,AgsOscMeterControllerMonitor *monitor
);
gboolean ags_osc_meter_controller_contains_monitor (AgsOscMeterController *osc_meter_controller
,AgsOscConnection *osc_connection
,AgsPort *port
);
void
ags_osc_meter_controller_start_monitor
(AgsOscMeterController *osc_meter_controller
);
Start monitoring.
Since: 3.0.0
void
ags_osc_meter_controller_stop_monitor (AgsOscMeterController *osc_meter_controller
);
Stop monitoring.
Since: 3.0.0
gpointer ags_osc_meter_controller_monitor_meter (AgsOscMeterController *osc_meter_controller
,AgsOscConnection *osc_connection
,guchar *message
,guint message_size
);
Get meter.
osc_meter_controller |
||
osc_connection |
the AgsOscConnection |
|
message |
the message received |
|
message_size |
the message size |
Since: 3.0.0
AgsOscMeterController * ags_osc_meter_controller_new ();
Instantiate new AgsOscMeterController
Since: 3.0.0
#define AGS_OSC_METER_CONTROLLER_DEFAULT_MONITOR_TIMEOUT (1.0 / 30.0)
Enum values to control the behavior or indicate internal state of AgsOscMeterController by enable/disable as flags.
“monitor-meter”
signalgpointer user_function (AgsOscMeterController *osc_meter_controller, GObject *osc_connection, gpointer message, guint message_size, gpointer user_data)
The ::monitor-meter signal is emited during get data of meter controller.
osc_meter_controller |
||
osc_connection |
the AgsOscConnection |
|
message |
the message received |
|
message_size |
the message size |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 3.0.0
“start-monitor”
signalvoid user_function (AgsOscMeterController *osc_meter_controller, gpointer user_data)
The ::start-monitor signal is emited during start of monitoring meter.
Flags: Run Last
Since: 3.0.0
“stop-monitor”
signalvoid user_function (AgsOscMeterController *osc_meter_controller, gpointer user_data)
The ::stop-monitor signal is emited during stop of monitoring meter.
Flags: Run Last
Since: 3.0.0