Constructor

AgsAudioOpenFilenew

since: 3.0.0

Declaration [src]

AgsOpenFile*
ags_open_file_new (
  AgsAudio* audio,
  GSList* filename,
  gboolean overwrite_channels,
  gboolean create_channels
)

Description [src]

Create a new instance of AgsOpenFile.

Available since: 3.0.0

Parameters

audio

Type: AgsAudio

The AgsAudio.

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

Type: A list of utf8

The filename to be opened.

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

Type: gboolean

Reset existing AgsInput.

create_channels

Type: gboolean

Instantiate new AgsInput.

Return value

Type: AgsOpenFile

The new AgsOpenFile.

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