Top | ![]() |
![]() |
![]() |
![]() |
AgsOpenSf2Sample * | ags_open_sf2_sample_new () |
#define | AGS_IS_OPEN_SF2_SAMPLE() |
#define | AGS_IS_OPEN_SF2_SAMPLE_CLASS() |
#define | AGS_OPEN_SF2_SAMPLE() |
#define | AGS_OPEN_SF2_SAMPLE_CLASS() |
#define | AGS_OPEN_SF2_SAMPLE_GET_CLASS() |
GType | ags_open_sf2_sample_get_type () |
AgsChannel * | channel | Read / Write |
gchar * | filename | Read / Write |
gchar * | instrument | Read / Write |
gchar * | preset | Read / Write |
gchar * | sample | Read / Write |
#define | AGS_TYPE_OPEN_SF2_SAMPLE |
struct | AgsOpenSf2Sample |
struct | AgsOpenSf2SampleClass |
AgsOpenSf2Sample * ags_open_sf2_sample_new (AgsChannel *channel
,gchar *filename
,gchar *preset
,gchar *instrument
,gchar *sample
);
Creates an AgsOpenSf2Sample.
channel |
the AgsChannel |
|
filename |
the Soundfont2 file |
|
preset |
the preset |
|
instrument |
the instrument |
|
sample |
the sample |
Since: 0.7.15
#define AGS_IS_OPEN_SF2_SAMPLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_OPEN_SF2_SAMPLE))
#define AGS_IS_OPEN_SF2_SAMPLE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_OPEN_SF2_SAMPLE))
#define AGS_OPEN_SF2_SAMPLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_OPEN_SF2_SAMPLE, AgsOpenSf2Sample))
#define AGS_OPEN_SF2_SAMPLE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_OPEN_SF2_SAMPLE, AgsOpenSf2SampleClass))
#define AGS_OPEN_SF2_SAMPLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_OPEN_SF2_SAMPLE, AgsOpenSf2SampleClass))
“channel”
property“channel” AgsChannel *
The assigned AgsChannel
Flags: Read / Write
Since: 0.7.117
“filename”
property“filename” gchar *
The assigned filename.
Flags: Read / Write
Default value: NULL
Since: 0.7.117
“instrument”
property“instrument” gchar *
The assigned instrument.
Flags: Read / Write
Default value: NULL
Since: 0.7.117
“preset”
property“preset” gchar *
The assigned preset.
Flags: Read / Write
Default value: NULL
Since: 0.7.117
“sample”
property“sample” gchar *
The assigned sample.
Flags: Read / Write
Default value: NULL
Since: 0.7.117