| Advanced Gtk+ Sequencer Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
#include <ags/X/machine/ags_oscillator.h> struct AgsOscillator; struct AgsOscillatorClass;void ags_file_read_oscillator (AgsFile *file,,xmlNode *nodeAgsOscillator **oscillator);xmlNode * ags_file_write_oscillator (AgsFile *file,,xmlNode *parentAgsOscillator *oscillator); AgsOscillator * ags_oscillator_new ();
struct AgsOscillator {
GtkFrame frame;
GtkComboBox *wave;
gulong wave_handler;
GtkSpinButton *attack;
gulong attack_handler;
GtkSpinButton *frame_count;
gulong frame_count_handler;
GtkSpinButton *frequency;
gulong frequency_handler;
GtkSpinButton *phase;
gulong phase_handler;
GtkSpinButton *volume;
gulong volume_handler;
};
void ags_file_read_oscillator (AgsFile *file,,xmlNode *nodeAgsOscillator **oscillator);
xmlNode * ags_file_write_oscillator (AgsFile *file,,xmlNode *parentAgsOscillator *oscillator);
AgsOscillator * ags_oscillator_new ();
Creates an AgsOscillator
Returns : |
a new AgsOscillator |
Since 0.3