Top |
Functions
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() |
|
ags_open_sf2_sample_get_type () |
Properties
audio-channel | Read / Write | |
AgsChannel * | channel | Read / Write |
|
filename | Read / Write |
|
instrument | Read / Write |
AgsIpatchSample * | ipatch-sample | Read / Write |
|
preset | Read / Write |
|
sample | Read / Write |
Types and Values
#define | AGS_TYPE_OPEN_SF2_SAMPLE |
struct | AgsOpenSf2Sample |
struct | AgsOpenSf2SampleClass |
Functions
ags_open_sf2_sample_new ()
AgsOpenSf2Sample * ags_open_sf2_sample_new (AgsChannel *channel
,AgsIpatchSample *ipatch_sample
,,
gchar *filename,
gchar *preset,
gchar *instrument,
gchar *sample);
guint audio_channel
Creates an AgsOpenSf2Sample.
Parameters
channel |
the AgsChannel |
|
ipatch_sample |
the AgsIpatchSample or |
|
filename |
the Soundfont2 file |
|
preset |
the preset |
|
instrument |
the instrument |
|
sample |
the sample |
|
audio_channel |
the audio channel |
Since:
AGS_IS_OPEN_SF2_SAMPLE()
#define AGS_IS_OPEN_SF2_SAMPLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_OPEN_SF2_SAMPLE))
AGS_IS_OPEN_SF2_SAMPLE_CLASS()
#define AGS_IS_OPEN_SF2_SAMPLE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_OPEN_SF2_SAMPLE))
AGS_OPEN_SF2_SAMPLE()
#define AGS_OPEN_SF2_SAMPLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_OPEN_SF2_SAMPLE, AgsOpenSf2Sample))
AGS_OPEN_SF2_SAMPLE_CLASS()
#define AGS_OPEN_SF2_SAMPLE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_OPEN_SF2_SAMPLE, AgsOpenSf2SampleClass))
AGS_OPEN_SF2_SAMPLE_GET_CLASS()
#define AGS_OPEN_SF2_SAMPLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_OPEN_SF2_SAMPLE, AgsOpenSf2SampleClass))
Property Details
The “audio-channel”
property
“audio-channel”guint
The nth audio channel.
Owner: AgsOpenSf2Sample
Flags: Read / Write
Default value: 0
Since:
The “channel”
property
“channel” AgsChannel *
The assigned AgsChannel
Owner: AgsOpenSf2Sample
Flags: Read / Write
Since:
The “filename”
property
“filename”gchar *
The assigned filename.
Owner: AgsOpenSf2Sample
Flags: Read / Write
Default value: NULL
Since:
The “instrument”
property
“instrument”gchar *
The assigned instrument.
Owner: AgsOpenSf2Sample
Flags: Read / Write
Default value: NULL
Since:
The “ipatch-sample”
property
“ipatch-sample” AgsIpatchSample *
The assigned AgsIpatchSample
Owner: AgsOpenSf2Sample
Flags: Read / Write
Since:
The “preset”
property
“preset”gchar *
The assigned preset.
Owner: AgsOpenSf2Sample
Flags: Read / Write
Default value: NULL
Since: