*
* Get the value of channel in the note event.
*/
-void alsaseq_event_data_note_get_channel(ALSASeqEventDataNote *self,
+void alsaseq_event_data_note_get_channel(const ALSASeqEventDataNote *self,
guint8 *channel)
{
*channel = self->channel;
*
* Get the value of note in the note event.
*/
-void alsaseq_event_data_note_get_note(ALSASeqEventDataNote *self, guint8 *note)
+void alsaseq_event_data_note_get_note(const ALSASeqEventDataNote *self,
+ guint8 *note)
{
*note = self->note;
}
*
* Get the value of velocity in the note event.
*/
-void alsaseq_event_data_note_get_velocity(ALSASeqEventDataNote *self,
+void alsaseq_event_data_note_get_velocity(const ALSASeqEventDataNote *self,
guint8 *velocity)
{
*velocity = self->velocity;
*
* Get the value of off-velocity in the note event.
*/
-void alsaseq_event_data_note_get_off_velocity(ALSASeqEventDataNote *self,
+void alsaseq_event_data_note_get_off_velocity(const ALSASeqEventDataNote *self,
guint8 *off_velocity)
{
*off_velocity = self->off_velocity;
*
* Get the value of duration in the note event.
*/
-void alsaseq_event_data_note_get_duration(ALSASeqEventDataNote *self,
+void alsaseq_event_data_note_get_duration(const ALSASeqEventDataNote *self,
guint8 *duration)
{
*duration = self->duration;
GType alsaseq_event_data_note_get_type() G_GNUC_CONST;
-void alsaseq_event_data_note_get_channel(ALSASeqEventDataNote *self,
+void alsaseq_event_data_note_get_channel(const ALSASeqEventDataNote *self,
guint8 *channel);
void alsaseq_event_data_note_set_channel(ALSASeqEventDataNote *self,
guint8 channel);
-void alsaseq_event_data_note_get_note(ALSASeqEventDataNote *self, guint8 *note);
+void alsaseq_event_data_note_get_note(const ALSASeqEventDataNote *self,
+ guint8 *note);
void alsaseq_event_data_note_set_note(ALSASeqEventDataNote *self, guint8 note);
-void alsaseq_event_data_note_get_velocity(ALSASeqEventDataNote *self,
+void alsaseq_event_data_note_get_velocity(const ALSASeqEventDataNote *self,
guint8 *velocity);
void alsaseq_event_data_note_set_velocity(ALSASeqEventDataNote *self,
guint8 velocity);
-void alsaseq_event_data_note_get_off_velocity(ALSASeqEventDataNote *self,
+void alsaseq_event_data_note_get_off_velocity(const ALSASeqEventDataNote *self,
guint8 *off_velocity);
void alsaseq_event_data_note_set_off_velocity(ALSASeqEventDataNote *self,
guint8 off_velocity);
-void alsaseq_event_data_note_get_duration(ALSASeqEventDataNote *self,
+void alsaseq_event_data_note_get_duration(const ALSASeqEventDataNote *self,
guint8 *duration);
void alsaseq_event_data_note_set_duration(ALSASeqEventDataNote *self,
guint8 duration);