Method

AgsAudioSoundcardThreadfind_soundcard

since: 3.0.0

Declaration [src]

AgsSoundcardThread*
ags_soundcard_thread_find_soundcard (
  AgsSoundcardThread* soundcard_thread,
  GObject* soundcard
)

Description [src]

Find soundcard as sibling of soundcard_thread, if it was found on the returned thread should be called g_object_unref().

Available since: 3.0.0

Parameters

soundcard

Type: GObject

The AgsSoundcard to find.

The data is owned by the caller of the method.

Return value

Type: AgsSoundcardThread

The matching AgsSoundcardThread, if not found NULL.

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