Constructor
AgsAudioSF2MidiLocaleLoadernew
since: 3.16.0
Declaration [src]
AgsSF2MidiLocaleLoader*
ags_sf2_midi_locale_loader_new (
AgsAudio* audio,
gchar* filename,
gint bank,
gint program
)
Parameters
audio
-
Type:
AgsAudio
The
AgsAudio
.The data is owned by the caller of the function. filename
-
Type:
gchar*
The filename.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. bank
-
Type:
gint
The bank.
program
-
Type:
gint
The program.
Return value
Type: AgsSF2MidiLocaleLoader
The new AgsSF2MidiLocaleLoader
.
The caller of the function takes ownership of the data, and is responsible for freeing it. |