Top | ![]() |
![]() |
![]() |
![]() |
enum | AgsDLS2Level |
#define | AGS_TYPE_IPATCH_DLS2_READER |
struct | AgsIpatchDLS2Reader |
struct | AgsIpatchDLS2ReaderClass |
#define AGS_IPATCH_DLS2_READER_GET_OBJ_MUTEX(obj) (&(((AgsIpatchDLS2Reader *) obj)->obj_mutex))
gboolean ags_ipatch_dls2_reader_test_flags (AgsIpatchDLS2Reader *ipatch_dls2_reader
,guint flags
);
Test flags
to be set on ipatch_dls2_reader
.
Since: 3.0.0
void ags_ipatch_dls2_reader_set_flags (AgsIpatchDLS2Reader *ipatch_dls2_reader
,guint flags
);
Enable a feature of ipatch_dls2_reader
.
Since: 3.0.0
void ags_ipatch_dls2_reader_unset_flags (AgsIpatchDLS2Reader *ipatch_dls2_reader
,guint flags
);
Disable a feature of ipatch_dls2_reader
.
Since: 3.0.0
gboolean ags_ipatch_dls2_reader_load (AgsIpatchDLS2Reader *ipatch_dls2_reader
,IpatchFileHandle *handle
);
Load DLS2 file.
Since: 3.0.0
gboolean ags_ipatch_dls2_reader_select_instrument (AgsIpatchDLS2Reader *ipatch_dls2_reader
,guint instrument_index
);
Select instrument.
Since: 3.0.0
gboolean ags_ipatch_dls2_reader_select_sample (AgsIpatchDLS2Reader *ipatch_dls2_reader
,guint sample_index
);
Select sample.
Since: 3.0.0
gchar **
ags_ipatch_dls2_reader_get_instrument_all
(AgsIpatchDLS2Reader *ipatch_dls2_reader
);
Get instrument all.
the string vector containing instrument.
[element-type utf8][array zero-terminated=1][transfer full]
Since: 3.0.0
gchar **
ags_ipatch_dls2_reader_get_sample_all (AgsIpatchDLS2Reader *ipatch_dls2_reader
);
Get sample all.
the string vector containing sample.
[element-type utf8][array zero-terminated=1][transfer full]
Since: 3.0.0
gchar ** ags_ipatch_dls2_reader_get_sample_by_instrument_index (AgsIpatchDLS2Reader *ipatch_dls2_reader
,guint instrument_index
);
Get sample by instrument index.
the string vector containing sample.
[element-type utf8][array zero-terminated=1][transfer full]
Since: 3.0.0
AgsIpatchDLS2Reader *
ags_ipatch_dls2_reader_new (AgsIpatch *ipatch
);
Creates an AgsIpatchDLS2Reader.
Since: 3.0.0
#define AGS_IPATCH_DLS2_READER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_IPATCH_DLS2_READER, AgsIpatchDLS2Reader))
#define AGS_IPATCH_DLS2_READER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_IPATCH_DLS2_READER, AgsIpatchDLS2ReaderClass))
#define AGS_IPATCH_DLS2_READER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_IPATCH_DLS2_READER, AgsIpatchDLS2ReaderClass))
#define AGS_IS_IPATCH_DLS2_READER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_IPATCH_DLS2_READER))
#define AGS_IS_IPATCH_DLS2_READER_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_IPATCH_DLS2_READER))