Method

AgsAudioMidiFilerw_open

since: 3.0.0

Declaration [src]

gboolean
ags_midi_file_rw_open (
  AgsMidiFile* midi_file,
  gchar* filename,
  gboolean create
)

Description [src]

Opens a MIDI file with read-write permission.

Available since: 3.0.0

Parameters

filename

Type: gchar*

The filename.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
create

Type: gboolean

TRUE create file if not exists, else if FALSE return.

Return value

Type: gboolean

TRUE on success, otherwise FALSE.