Method

AgsAudioGstreamerPortregister

since: 3.6.0

Declaration [src]

void
ags_gstreamer_port_register (
  AgsGstreamerPort* gstreamer_port,
  gchar* port_name,
  gboolean is_audio,
  gboolean is_midi,
  gboolean is_output
)

Description [src]

Register a new gstreamer port and read uuid. Creates a new AgsSequencer or AgsSoundcard object.

Available since: 3.6.0

Parameters

port_name

Type: gchar*

The name as string.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
is_audio

Type: gboolean

If TRUE interpreted as audio port.

is_midi

Type: gboolean

If TRUE interpreted as midi port.

is_output

Type: gboolean

If TRUE port is acting as output, otherwise as input.