diff options
Diffstat (limited to 'src/engine')
-rw-r--r-- | src/engine/JackAudioDriver.cpp | 5 | ||||
-rw-r--r-- | src/engine/JackAudioDriver.hpp | 6 |
2 files changed, 5 insertions, 6 deletions
diff --git a/src/engine/JackAudioDriver.cpp b/src/engine/JackAudioDriver.cpp index 19a66281..864c843b 100644 --- a/src/engine/JackAudioDriver.cpp +++ b/src/engine/JackAudioDriver.cpp @@ -78,9 +78,8 @@ JackAudioPort::~JackAudioPort() void JackAudioPort::prepare_buffer(jack_nframes_t nframes) { - jack_sample_t* jack_buf = (jack_sample_t*)jack_port_get_buffer(_jack_port, nframes); - - AudioBuffer* patch_buf = (AudioBuffer*)_patch_port->buffer(0); + jack_sample_t* jack_buf = (jack_sample_t*)jack_port_get_buffer(_jack_port, nframes); + AudioBuffer* patch_buf = (AudioBuffer*)_patch_port->buffer(0); //cerr << "[JACK] " << _patch_port->path() << " buffer: " << patch_buf << endl; diff --git a/src/engine/JackAudioDriver.hpp b/src/engine/JackAudioDriver.hpp index dc3f15df..275aca79 100644 --- a/src/engine/JackAudioDriver.hpp +++ b/src/engine/JackAudioDriver.hpp @@ -104,9 +104,9 @@ public: bool is_realtime() const { return jack_is_realtime(_client); } - jack_client_t* jack_client() const { return _client; } - SampleCount buffer_size() const { return _buffer_size; } - SampleCount sample_rate() const { return _sample_rate; } + jack_client_t* jack_client() const { return _client; } + SampleCount buffer_size() const { return _buffer_size; } + SampleCount sample_rate() const { return _sample_rate; } bool is_activated() const { return _is_activated; } inline SampleCount frame_time() const { return jack_frame_time(_client); } |