GPS04MidiVariableLengthQuantity

GPS04MidiVariableLengthQuantity — MIDI variable length quantity

Synopsis


#include <gps04-midi-variable-length-quantity.h>


            GPS04MidiVariableLengthQuantity;
GPS04MidiVariableLengthQuantity* gps04_midi_variable_length_quantity_new
                                            (void);
guint       gps04_midi_variable_length_quantity_get
                                            (const GPS04MidiVariableLengthQuantity *self);
void        gps04_midi_variable_length_quantity_offset
                                            (GPS04MidiVariableLengthQuantity *self,
                                             int value);
void        gps04_midi_variable_length_quantity_set
                                            (GPS04MidiVariableLengthQuantity *self,
                                             guint value);

Object Hierarchy


  GObject
   +----GPS04MidiVariableLengthQuantity

Implemented Interfaces

GPS04MidiVariableLengthQuantity implements PS04Streamable.

Description

The GPS04MidiVariableLengthQuantity class represents a MIDI variable length quantity: a 32-bit range unsigned integer whose length in a MIDI stream varies from 1 to 4 bytes. An example use is to store time-stamp deltas in a GPS04SmfTrackEvent list.

Details

GPS04MidiVariableLengthQuantity

typedef struct _GPS04MidiVariableLengthQuantity GPS04MidiVariableLengthQuantity;


gps04_midi_variable_length_quantity_new ()

GPS04MidiVariableLengthQuantity* gps04_midi_variable_length_quantity_new
                                            (void);

Creates a new variable length quantity.


gps04_midi_variable_length_quantity_get ()

guint       gps04_midi_variable_length_quantity_get
                                            (const GPS04MidiVariableLengthQuantity *self);

self :
Returns :

gps04_midi_variable_length_quantity_offset ()

void        gps04_midi_variable_length_quantity_offset
                                            (GPS04MidiVariableLengthQuantity *self,
                                             int value);

self :
value :

gps04_midi_variable_length_quantity_set ()

void        gps04_midi_variable_length_quantity_set
                                            (GPS04MidiVariableLengthQuantity *self,
                                             guint value);

self :
value :

See Also

GPS04SmfTrackEvent