Constructor
AgsAudioAudioFilenew
since: 3.0.0
Declaration [src]
AgsAudioFile*
ags_audio_file_new (
gchar* filename,
GObject* soundcard,
gint audio_channel
)
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:
GObjectDefaults of
AgsSoundcard.The data is owned by the caller of the function. audio_channel-
Type:
gintThe 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. |