19#ifndef DRUMSTICK_ALSAQUEUE_H
20#define DRUMSTICK_ALSAQUEUE_H
25 #include <alsa/asoundlib.h>
37#if defined(DRUMSTICK_STATIC)
38#define DRUMSTICK_ALSA_EXPORT
40#if defined(drumstick_alsa_EXPORTS)
41#define DRUMSTICK_ALSA_EXPORT Q_DECL_EXPORT
43#define DRUMSTICK_ALSA_EXPORT Q_DECL_IMPORT
66 explicit QueueInfo(snd_seq_queue_info_t* other);
70 int getInfoSize()
const;
76 unsigned int getFlags();
78 void setName(QString value);
79 void setOwner(
int value);
80 void setLocked(
bool locked);
81 void setFlags(
unsigned int value);
84 snd_seq_queue_info_t* m_Info;
99 explicit QueueStatus(snd_seq_queue_status_t* other);
103 int getInfoSize()
const;
107 const snd_seq_real_time_t* getRealtime();
108 unsigned int getStatusBits();
110 double getClockTime();
111 snd_seq_tick_time_t getTickTime();
114 snd_seq_queue_status_t* m_Info;
136 explicit QueueTempo(snd_seq_queue_tempo_t* other);
140 int getInfoSize()
const;
144 unsigned int getSkewValue();
145 unsigned int getSkewBase();
146 unsigned int getTempo();
147 void setPPQ(
int value);
148 void setSkewValue(
unsigned int value);
149 void setTempo(
unsigned int value);
151 float getNominalBPM();
153 void setTempoFactor(
float value);
154 void setNominalBPM(
float value);
157 void setSkewBase(
unsigned int value);
160 snd_seq_queue_tempo_t* m_Info;
176 explicit QueueTimer(snd_seq_queue_timer_t* other);
180 int getInfoSize()
const;
183 snd_seq_queue_timer_type_t getType();
184 const snd_timer_id_t* getId();
185 unsigned int getResolution();
186 void setType(snd_seq_queue_timer_type_t value);
187 void setId(snd_timer_id_t* value);
189 void setResolution(
unsigned int value);
192 snd_seq_queue_timer_t* m_Info;
210 int getId()
const {
return m_Id; }
213 void continueRunning();
215 void setTickPosition(snd_seq_tick_time_t pos);
216 void setRealTimePosition(snd_seq_real_time_t* pos);
225 void setUsage(
int used);
The QObject class is the base class of all Qt objects.
Queue information container.
ALSA Timer identifier container.