20 #ifndef __JACKAUDIO_H__ 21 #define __JACKAUDIO_H__ 25 #include <jack/jack.h> 54 static void timebase (jack_transport_state_t, jack_nframes_t, jack_position_t*,
int,
void *);
66 virtual bool init(
bool hot =
false);
71 void connect(
const char* src,
const char* dst);
73 virtual bool isRealtime()
const {
return jack_is_realtime(client); }
78 virtual int sampleRate()
const {
return jack_get_sample_rate(client); }
82 virtual void registerPort(
const QString& name,
bool input,
bool midi);
static int processAudio(jack_nframes_t, void *)
Definition: jackaudio.cpp:354
virtual void putEvent(const NPlayEvent &, unsigned framePos)
Definition: jackaudio.cpp:556
JackAudio(Seq *)
Definition: jackaudio.cpp:48
virtual void unregisterPort(jack_port_t *)
Definition: jackaudio.cpp:128
bool timeSigTempoChanged
Definition: jackaudio.h:48
unsigned _segmentSize
Definition: jackaudio.h:38
jack_client_t * client
Definition: jackaudio.h:45
QList< QString > inputPorts()
Definition: jackaudio.cpp:142
Transport fakeState
Definition: jackaudio.h:43
void setTimebaseCallback()
Definition: jackaudio.cpp:743
virtual Transport getState() override
Definition: jackaudio.cpp:537
static void timebase(jack_transport_state_t, jack_nframes_t, jack_position_t *, int, void *)
Definition: jackaudio.cpp:317
virtual void startTransport()
Definition: jackaudio.cpp:513
Transport
Definition: seq.h:92
void restoreMidiConnections()
Definition: jackaudio.cpp:900
virtual bool start(bool hotPlug=false)
Definition: jackaudio.cpp:218
virtual int bufferSize()
Definition: jackaudio.h:86
QList< jack_port_t * > midiOutputPorts
Definition: jackaudio.h:50
virtual ~JackAudio()
Definition: jackaudio.cpp:58
Definition: jackaudio.h:37
void connect(void *, void *)
Definition: jackaudio.cpp:165
int framePos() const
Definition: jackaudio.cpp:266
virtual bool init(bool hot=false)
Definition: jackaudio.cpp:460
virtual void seekTransport(int)
Definition: jackaudio.cpp:732
Definition: aeolus.cpp:26
virtual void checkTransportSeek(int, int, bool)
Definition: jackaudio.cpp:684
void rememberAudioConnections()
Definition: jackaudio.cpp:773
void hotPlug()
Definition: jackaudio.cpp:940
void rememberMidiConnections()
Definition: jackaudio.cpp:853
void releaseTimebaseCallback()
Definition: jackaudio.cpp:760
virtual int sampleRate() const
Definition: jackaudio.h:78
void restoreAudioConnections()
Definition: jackaudio.cpp:805
virtual void stopTransport()
Definition: jackaudio.cpp:525
void setBufferSize(int nframes)
Definition: jackaudio.h:87
virtual void midiRead()
Definition: jackaudio.cpp:662
virtual bool isRealtime() const
Definition: jackaudio.h:73
virtual void registerPort(const QString &name, bool input, bool midi)
Definition: jackaudio.cpp:104
void disconnect(void *src, void *dst)
Definition: jackaudio.cpp:200
virtual bool stop()
Definition: jackaudio.cpp:248
QList< jack_port_t * > ports
Definition: jackaudio.h:49
void updateOutPortCount(int)
Definition: jackaudio.cpp:74
virtual void handleTimeSigTempoChanged()
Definition: jackaudio.cpp:673
QList< jack_port_t * > midiInputPorts
Definition: jackaudio.h:51
char _jackName[8]
Definition: jackaudio.h:46