Method
AgsAudioInputopen_file
since: 3.0.0
Declaration [src]
gboolean
ags_input_open_file (
AgsInput* input,
gchar* filename,
gchar* preset,
gchar* instrument,
gchar* sample,
guint audio_channel
)
Description [src]
Open filename
and assign audio_channel
‘s data as AGS_AUDIO_SIGNAL_TEMPLATE
audio signal to input
‘s own recycling.
Available since: 3.0.0
Parameters
filename
-
Type:
gchar*
The filename as string.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. preset
-
Type:
gchar*
The preset to open.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. instrument
-
Type:
gchar*
The instrument to open.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. sample
-
Type:
gchar*
The sample to open.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. audio_channel
-
Type:
guint
The audio channel to read.