Constructor

AgsAudioOpenSingleFilenew

since: 3.0.0

Declaration [src]

AgsOpenSingleFile*
ags_open_single_file_new (
  AgsChannel* channel,
  gchar* filename,
  guint audio_channel
)

Description [src]

Create a new instance of AgsOpenSingleFile.

Available since: 3.0.0

Parameters

channel

Type: AgsChannel

The AgsChannel.

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

Type: gchar*

The filename to be opened.

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

Type: guint

The audio channel.

Return value

Type: AgsOpenSingleFile

The new AgsOpenSingleFile.

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