19#ifndef DRUMSTICK_ALSAQUEUE_H
20#define DRUMSTICK_ALSAQUEUE_H
25 #include <alsa/asoundlib.h>
56 explicit QueueInfo(snd_seq_queue_info_t* other);
60 int getInfoSize()
const;
66 unsigned int getFlags();
68 void setName(QString value);
69 void setOwner(
int value);
70 void setLocked(
bool locked);
71 void setFlags(
unsigned int value);
74 snd_seq_queue_info_t* m_Info;
89 explicit QueueStatus(snd_seq_queue_status_t* other);
93 int getInfoSize()
const;
97 const snd_seq_real_time_t* getRealtime();
98 unsigned int getStatusBits();
100 double getClockTime();
101 snd_seq_tick_time_t getTickTime();
104 snd_seq_queue_status_t* m_Info;
126 explicit QueueTempo(snd_seq_queue_tempo_t* other);
130 int getInfoSize()
const;
134 unsigned int getSkewValue();
135 unsigned int getSkewBase();
136 unsigned int getTempo();
137 void setPPQ(
int value);
138 void setSkewValue(
unsigned int value);
139 void setTempo(
unsigned int value);
141 float getNominalBPM();
143 void setTempoFactor(
float value);
144 void setNominalBPM(
float value);
147 void setSkewBase(
unsigned int value);
150 snd_seq_queue_tempo_t* m_Info;
166 explicit QueueTimer(snd_seq_queue_timer_t* other);
170 int getInfoSize()
const;
173 snd_seq_queue_timer_type_t getType();
174 const snd_timer_id_t* getId();
175 unsigned int getResolution();
176 void setType(snd_seq_queue_timer_type_t value);
177 void setId(snd_timer_id_t* value);
179 void setResolution(
unsigned int value);
182 snd_seq_queue_timer_t* m_Info;
200 int getId()
const {
return m_Id; }
203 void continueRunning();
205 void setTickPosition(snd_seq_tick_time_t pos);
206 void setRealTimePosition(snd_seq_real_time_t* pos);
215 void setUsage(
int used);
The QObject class is the base class of all Qt objects.
Queue information container.
ALSA Timer identifier container.
Drumstick visibility macros.