19#ifndef DRUMSTICK_SUBSCRIPTION_H
20#define DRUMSTICK_SUBSCRIPTION_H
23 #include <alsa/asoundlib.h>
36#if defined(DRUMSTICK_STATIC)
37#define DRUMSTICK_ALSA_EXPORT
39#if defined(drumstick_alsa_EXPORTS)
40#define DRUMSTICK_ALSA_EXPORT Q_DECL_EXPORT
42#define DRUMSTICK_ALSA_EXPORT Q_DECL_IMPORT
63 explicit Subscriber(snd_seq_query_subscribe_t* other);
66 int getSizeOfInfo()
const;
70 const snd_seq_addr_t* getRoot();
71 snd_seq_query_subs_type_t getType();
74 const snd_seq_addr_t* getAddr();
79 void setClient(
int client);
80 void setPort(
int port);
81 void setRoot(snd_seq_addr_t* addr);
82 void setType(snd_seq_query_subs_type_t type);
83 void setIndex(
int index);
87 snd_seq_query_subscribe_t* m_Info;
105 int getSizeOfInfo()
const;
107 void setSender(
unsigned char client,
unsigned char port);
108 void setDest(
unsigned char client,
unsigned char port);
112 const snd_seq_addr_t* getSender();
113 const snd_seq_addr_t* getDest();
116 bool getTimeUpdate();
118 void setSender(
const snd_seq_addr_t* addr);
119 void setDest(
const snd_seq_addr_t* addr);
120 void setQueue(
int queue);
121 void setExclusive(
bool val);
122 void setTimeUpdate(
bool val);
123 void setTimeReal(
bool val);
127 snd_seq_port_subscribe_t* m_Info;
Port information container.
Subscriber container class.
QList< Subscription > SubscriptionsList
List of subscriptions.
QList< Subscriber > SubscribersList
List of subscribers.