IpatchDLSReader

IpatchDLSReader — DLS version 2 file reader

Stability Level

Stable, unless otherwise indicated

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── IpatchRiff
        ╰── IpatchDLSReader

Description

Parses a DLS file into an object tree (IpatchDLS).

Functions

ipatch_dls_reader_new ()

IpatchDLSReader *
ipatch_dls_reader_new (IpatchFileHandle *handle);

Create a new DLS file reader

Parameters

handle

DLS file handle to parse or NULL to set later

 

Returns

The new DLS reader


ipatch_dls_reader_load ()

IpatchDLS2 *
ipatch_dls_reader_load (IpatchDLSReader *reader,
                        GError **err);

Load a DLS file.

Parameters

reader

DLS reader object

 

err

Location to store error info or NULL

 

Returns

New DLS object with refcount of 1.

[transfer full]

Types and Values

IPATCH_DLS_READER_ERROR

#define IPATCH_DLS_READER_ERROR  ipatch_dls_reader_error_quark()

enum IpatchDLSReaderError

Members

IPATCH_DLS_READER_ERROR_GIG

   

See Also

IpatchDLS