Constructor
AgsAudioAudioContainernew
since: 3.0.0
Declaration [src]
AgsAudioContainer*
ags_audio_container_new (
gchar* filename,
gchar* preset,
gchar* instrument,
gchar* sample,
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. preset
-
Type:
gchar*
The preset.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. instrument
-
Type:
gchar*
The instrument.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. sample
-
Type:
gchar*
The sample.
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: AgsAudioContainer
The new AgsAudioContainer
.
The caller of the function takes ownership of the data, and is responsible for freeing it. |