Constructor

AgsAudioMidiParsernew_from_filename

since: 3.2.0

Declaration [src]

AgsMidiParser*
ags_midi_parser_new_from_filename (
  gchar* filename
)

Description [src]

Creates a new instance of AgsMidiParser.

Available since: 3.2.0

Parameters

filename

Type: gchar*

The filename.

The argument can be NULL.
The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: AgsMidiParser

The new AgsMidiParser.

The caller of the function takes ownership of the data, and is responsible for freeing it.