Go to the documentation of this file.
19 #ifndef DRUMSTICK_PLAYTHREAD_H
20 #define DRUMSTICK_PLAYTHREAD_H
24 #include <QReadWriteLock>
98 void start( Priority priority = InheritPriority );
101 virtual void sendEchoEvent(
int tick);
103 virtual void drainOutput();
104 virtual void syncOutput();
105 virtual bool stopRequested();
int m_QueueId
MidiQueue numeric identifier.
Base class for the event's hierarchy.
pollfd * m_pfds
Array of pollfd pointers.
bool m_Stopped
Stopped status.
void stopped()
Signal emitted when the play-back has stopped.
QReadWriteLock m_mutex
Mutex object used for synchronization.
void finished()
Signal emitted when the sequence play-back has finished.
virtual bool hasNext()=0
Check if there is one more event in the sequence.
MidiClient * m_MidiClient
MidiClient instance pointer.
virtual unsigned int getInitialPosition()
Gets the initial position in ticks of the sequence.
int m_PortId
MidiPort numeric identifier.
virtual SequencerEvent * nextEvent()=0
Gets the next event in the sequence.
MidiQueue * m_Queue
MidiQueue instance pointer.
int m_npfds
Number of pollfd pointers.
virtual unsigned int getEchoResolution()
Gets the echo event resolution in ticks.
Sequence player auxiliary class.