Constructor

AgsAudioSetDevicenew

since: 3.0.0

Declaration [src]

AgsSetDevice*
ags_set_device_new (
  GObject* scope,
  gchar* device
)

Description [src]

Create a new instance of AgsSetDevice.

Available since: 3.0.0

Parameters

scope

Type: GObject

The AgsSoundcard or AgsSequencer to reset.

The data is owned by the caller of the function.
device

Type: gchar*

The device as string.

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

Return value

Type: AgsSetDevice

The new AgsSetDevice.

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