| Top |
Functions
Types and Values
| #define | AGS_OSC_METER_CONTROLLER_DEFAULT_MONITOR_TIMEOUT |
| enum | AgsOscMeterControllerFlags |
| struct | AgsOscMeterControllerMonitor |
| #define | AGS_TYPE_OSC_METER_CONTROLLER |
| struct | AgsOscMeterController |
| struct | AgsOscMeterControllerClass |
Functions
AGS_OSC_METER_CONTROLLER_MONITOR()
#define AGS_OSC_METER_CONTROLLER_MONITOR(ptr) ((AgsOscMeterControllerMonitor *)(ptr))
ags_osc_meter_controller_test_flags ()
gboolean ags_osc_meter_controller_test_flags (AgsOscMeterController *osc_meter_controller,AgsOscMeterControllerFlags flags);
Test flags
to be set on osc_meter_controller
.
Since:
ags_osc_meter_controller_set_flags ()
void ags_osc_meter_controller_set_flags (AgsOscMeterController *osc_meter_controller,AgsOscMeterControllerFlags flags);
Set flags.
Since:
ags_osc_meter_controller_unset_flags ()
void ags_osc_meter_controller_unset_flags (AgsOscMeterController *osc_meter_controller,AgsOscMeterControllerFlags flags);
Unset flags.
Since:
ags_osc_meter_controller_monitor_alloc ()
AgsOscMeterControllerMonitor * ags_osc_meter_controller_monitor_alloc ();
Allocate
Since:
ags_osc_meter_controller_monitor_free ()
void ags_osc_meter_controller_monitor_free (AgsOscMeterControllerMonitor *monitor);
Free monitor
.
Since:
ags_osc_meter_controller_monitor_ref ()
void ags_osc_meter_controller_monitor_ref (AgsOscMeterControllerMonitor *monitor);
Increase reference count of monitor
.
Since:
ags_osc_meter_controller_monitor_unref ()
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:
ags_osc_meter_controller_monitor_find_path ()
GList * ags_osc_meter_controller_monitor_find_path (,GList *monitor);gchar *path
Find path
in monitor
.
Parameters
monitor |
the |
[element-type gpointer][transfer none] |
path |
the path as string |
Returns
the next matching
[element-type gpointer][transfer none]
Since:
ags_osc_meter_controller_monitor_find_port ()
GList * ags_osc_meter_controller_monitor_find_port (,GList *monitorAgsPort *port);
Find port
in monitor
.
Parameters
monitor |
the |
[element-type gpointer][transfer none] |
port |
the AgsPort |
Returns
the next matching
[element-type gpointer][transfer none]
Since:
ags_osc_meter_controller_add_monitor ()
void ags_osc_meter_controller_add_monitor (AgsOscMeterController *osc_meter_controller,AgsOscMeterControllerMonitor *monitor);
ags_osc_meter_controller_remove_monitor ()
void ags_osc_meter_controller_remove_monitor (AgsOscMeterController *osc_meter_controller,AgsOscMeterControllerMonitor *monitor);
ags_osc_meter_controller_contains_monitor ()
gboolean ags_osc_meter_controller_contains_monitor (AgsOscMeterController *osc_meter_controller,AgsOscConnection *osc_connection,AgsPort *port);
ags_osc_meter_controller_start_monitor ()
void ags_osc_meter_controller_start_monitor (AgsOscMeterController *osc_meter_controller);
Start monitoring.
Since:
ags_osc_meter_controller_stop_monitor ()
void ags_osc_meter_controller_stop_monitor (AgsOscMeterController *osc_meter_controller);
Stop monitoring.
Since:
ags_osc_meter_controller_monitor_meter ()
gpointer ags_osc_meter_controller_monitor_meter (AgsOscMeterController *osc_meter_controller,AgsOscConnection *osc_connection,,guchar *message);guint message_size
Get meter.
Parameters
osc_meter_controller |
||
osc_connection |
the AgsOscConnection |
|
message |
the message received |
|
message_size |
the message size |
Since:
ags_osc_meter_controller_new ()
AgsOscMeterController * ags_osc_meter_controller_new ();
Instantiate new AgsOscMeterController
Since:
AGS_IS_OSC_METER_CONTROLLER()
#define AGS_IS_OSC_METER_CONTROLLER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_OSC_METER_CONTROLLER))
AGS_IS_OSC_METER_CONTROLLER_CLASS()
#define AGS_IS_OSC_METER_CONTROLLER_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_OSC_METER_CONTROLLER))
AGS_OSC_METER_CONTROLLER()
#define AGS_OSC_METER_CONTROLLER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_OSC_METER_CONTROLLER, AgsOscMeterController))
AGS_OSC_METER_CONTROLLER_CLASS()
#define AGS_OSC_METER_CONTROLLER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_OSC_METER_CONTROLLER, AgsOscMeterControllerClass))
AGS_OSC_METER_CONTROLLER_GET_CLASS()
#define AGS_OSC_METER_CONTROLLER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_OSC_METER_CONTROLLER, AgsOscMeterControllerClass))
Types and Values
AGS_OSC_METER_CONTROLLER_DEFAULT_MONITOR_TIMEOUT
#define AGS_OSC_METER_CONTROLLER_DEFAULT_MONITOR_TIMEOUT (1.0 / 30.0)
struct AgsOscMeterControllerMonitor
struct AgsOscMeterControllerMonitor {
volatile gint ref_count;
AgsOscConnection *osc_connection;
gchar *path;
AgsPort *port;
};
AGS_TYPE_OSC_METER_CONTROLLER
#define AGS_TYPE_OSC_METER_CONTROLLER (ags_osc_meter_controller_get_type())
struct AgsOscMeterControllerClass
struct AgsOscMeterControllerClass {
AgsOscControllerClass osc_controller;
void (*start_monitor)(AgsOscMeterController *osc_meter_controller);
void (*stop_monitor)(AgsOscMeterController *osc_meter_controller);
gpointer (*monitor_meter)(AgsOscMeterController *osc_meter_controller,
AgsOscConnection *osc_connection,
guchar *message, guint message_size);
};
Signal Details
The “monitor-meter” signal
gpointer 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.
Parameters
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:
Since:
The “start-monitor” signal
void user_function (AgsOscMeterController *osc_meter_controller,gpointer user_data)
The ::start-monitor signal is emited during start of monitoring meter.
Flags:
Since:
The “stop-monitor” signal
void user_function (AgsOscMeterController *osc_meter_controller,gpointer user_data)
The ::stop-monitor signal is emited during stop of monitoring meter.
Flags:
Since: