20 #ifndef DRUMSTICK_PLAYTHREAD_H 21 #define DRUMSTICK_PLAYTHREAD_H 25 #include <QReadWriteLock> 72 virtual bool hasNext() = 0;
99 void start( Priority priority = InheritPriority );
102 virtual void sendEchoEvent(
int tick);
104 virtual void drainOutput();
105 virtual void syncOutput();
106 virtual bool stopRequested();
MidiQueue * m_Queue
MidiQueue instance pointer.
virtual unsigned int getEchoResolution()
Gets the echo event resolution in ticks.
virtual unsigned int getInitialPosition()
Gets the initial position in ticks of the sequence.
Base class for the event's hierarchy.
int m_npfds
Number of pollfd pointers.
Sequence player auxiliary class.
int m_QueueId
MidiQueue numeric identifier.
bool m_Stopped
Stopped status.
pollfd * m_pfds
Array of pollfd pointers.
MidiClient * m_MidiClient
MidiClient instance pointer.
The QThread class provides platform-independent threads.
int m_PortId
MidiPort numeric identifier.
Classes managing ALSA Sequencer events.
QReadWriteLock m_mutex
Mutex object used for synchronization.