summaryrefslogtreecommitdiffstats
path: root/src/JackDriver.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/JackDriver.hpp')
-rw-r--r--src/JackDriver.hpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/JackDriver.hpp b/src/JackDriver.hpp
index 5a6f89f..1c9bc9e 100644
--- a/src/JackDriver.hpp
+++ b/src/JackDriver.hpp
@@ -24,12 +24,13 @@
#include <glibmm/thread.h>
#include <jack/jack.h>
+#include <cstdint>
#include <mutex>
#include <string>
class ILog;
-/// Driver for JACK audio and midi ports
+/// Driver for JACK audio and midi ports that uses libjack
class JackDriver : public Driver
{
public:
@@ -58,9 +59,9 @@ public:
float get_max_dsp_load();
void reset_max_dsp_load();
- jack_nframes_t sample_rate() { return jack_get_sample_rate(_client); }
- jack_nframes_t buffer_size();
- bool set_buffer_size(jack_nframes_t size);
+ uint32_t sample_rate() { return jack_get_sample_rate(_client); }
+ uint32_t buffer_size();
+ bool set_buffer_size(jack_nframes_t size);
private:
ClientInfo get_client_info(const char* name);