AgsApplySF2MidiLocale

AgsApplySF2MidiLocale — apply Soundfont2 synth template

Stability Level

Stable, unless otherwise indicated

Functions

Properties

gpointer synth Read / Write
gpointer template Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── AgsTask
        ╰── AgsApplySF2MidiLocale

Includes

#include <ags/audio/task/ags_apply_sf2_midi_locale.h>

Description

The AgsApplySF2MidiLocale task apply the specified Soundfont2 synth template.

Functions

ags_apply_sf2_midi_locale_new ()

AgsApplySF2MidiLocale *
ags_apply_sf2_midi_locale_new (AgsSF2SynthUtil *template,
                               AgsSF2SynthUtil *synth);

Creates an AgsApplySF2MidiLocale.

Parameters

template

the template

 

synth

the synth

 

Returns

an new AgsApplySF2MidiLocale.

Since: 3.16.0


AGS_APPLY_SF2_MIDI_LOCALE()

#define AGS_APPLY_SF2_MIDI_LOCALE(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_APPLY_SF2_MIDI_LOCALE, AgsApplySF2MidiLocale))

AGS_APPLY_SF2_MIDI_LOCALE_CLASS()

#define AGS_APPLY_SF2_MIDI_LOCALE_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_APPLY_SF2_MIDI_LOCALE, AgsApplySF2MidiLocaleClass))

AGS_APPLY_SF2_MIDI_LOCALE_GET_CLASS()

#define AGS_APPLY_SF2_MIDI_LOCALE_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_APPLY_SF2_MIDI_LOCALE, AgsApplySF2MidiLocaleClass))

AGS_IS_APPLY_SF2_MIDI_LOCALE()

#define AGS_IS_APPLY_SF2_MIDI_LOCALE(obj)             (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_APPLY_SF2_MIDI_LOCALE))

AGS_IS_APPLY_SF2_MIDI_LOCALE_CLASS()

#define AGS_IS_APPLY_SF2_MIDI_LOCALE_CLASS(class)     (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_APPLY_SF2_MIDI_LOCALE))

ags_apply_sf2_midi_locale_get_type ()

GType
ags_apply_sf2_midi_locale_get_type ();

Types and Values

AGS_TYPE_APPLY_SF2_MIDI_LOCALE

#define AGS_TYPE_APPLY_SF2_MIDI_LOCALE                (ags_apply_sf2_midi_locale_get_type())

struct AgsApplySF2MidiLocale

struct AgsApplySF2MidiLocale;

struct AgsApplySF2MidiLocaleClass

struct AgsApplySF2MidiLocaleClass {
  AgsTaskClass task;
};

Property Details

The “synth” property

  “synth”                    gpointer

The synth to apply.

Owner: AgsApplySF2MidiLocale

Flags: Read / Write

Since: 3.16.0


The “template” property

  “template”                 gpointer

The template to apply.

Owner: AgsApplySF2MidiLocale

Flags: Read / Write

Since: 3.16.0