Constructor

AgsAudioAudioFilenew

since: 3.0.0

Declaration [src]

AgsAudioFile*
ags_audio_file_new (
  gchar* filename,
  GObject* soundcard,
  gint audio_channel
)

Description [src]

Create a new instance of AgsAudioFile.

Available since: 3.0.0

Parameters

filename

Type: gchar*

The filename.

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

Type: GObject

Defaults of AgsSoundcard.

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

Type: gint

The audio channel to read.

Return value

Type: AgsAudioFile

The new AgsAudioFile.

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