Method

AgsAudioAudiocollect_all_audio_ports_by_specifier_and_context

since: 3.0.0

Declaration [src]

GList*
ags_audio_collect_all_audio_ports_by_specifier_and_context (
  AgsAudio* audio,
  gchar* specifier,
  gboolean play_context
)

Description [src]

Retrieve specified port of AgsAudio.

Available since: 3.0.0

Parameters

specifier

Type: gchar*

The port’s name.

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

Type: gboolean

Either TRUE for play or FALSE for recall.

Return value

Type: A list of None

A GList-struct of AgsPort if found, otherwise NULL.

The caller of the method takes ownership of the data, and is responsible for freeing it.