enable recording for the jack backend
This commit is contained in:
@@ -174,6 +174,7 @@ public:
|
||||
bool captureDeviceAvailable() const;
|
||||
|
||||
|
||||
|
||||
// audio-bus-handle-stuff
|
||||
inline void addAudioBusHandle(AudioBusHandle* busHandle)
|
||||
{
|
||||
@@ -360,6 +361,11 @@ private:
|
||||
return m_audioDev;
|
||||
}
|
||||
|
||||
const AudioDevice* audioDev() const
|
||||
{
|
||||
return m_audioDev;
|
||||
}
|
||||
|
||||
void renderStageNoteSetup();
|
||||
void renderStageInstruments();
|
||||
void renderStageEffects();
|
||||
|
||||
@@ -106,6 +106,7 @@ private:
|
||||
|
||||
int processCallback(jack_nframes_t nframes);
|
||||
|
||||
static int setBufferSizeCallback(jack_nframes_t nframes, void* udata);
|
||||
static int staticProcessCallback(jack_nframes_t nframes, void* udata);
|
||||
static void shutdownCallback(void* _udata);
|
||||
|
||||
@@ -116,8 +117,11 @@ private:
|
||||
|
||||
std::atomic<MidiJack*> m_midiClient;
|
||||
std::vector<jack_port_t*> m_outputPorts;
|
||||
std::vector<jack_port_t*> m_inputPorts;
|
||||
jack_default_audio_sample_t** m_tempOutBufs;
|
||||
jack_default_audio_sample_t* m_inputFrameBuffer;
|
||||
SampleFrame* m_outBuf;
|
||||
SampleFrame* m_inBuf;
|
||||
|
||||
f_cnt_t m_framesDoneInCurBuf;
|
||||
f_cnt_t m_framesToDoInCurBuf;
|
||||
|
||||
Reference in New Issue
Block a user