Constructor

AgsAudioSF2MidiLocaleLoadernew

since: 3.16.0

Declaration [src]

AgsSF2MidiLocaleLoader*
ags_sf2_midi_locale_loader_new (
  AgsAudio* audio,
  gchar* filename,
  gint bank,
  gint program
)

Description [src]

Create a new instance of AgsSF2MidiLocaleLoader.

Available since: 3.16.0

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.