summaryrefslogtreecommitdiff
path: root/drumgizmo/output/jackaudio.h
diff options
context:
space:
mode:
authorChristian Glöckner <cgloeckner@freenet.de>2016-01-25 15:51:53 +0100
committerAndré Nusser <andre.nusser@googlemail.com>2016-02-09 09:03:17 +0100
commitd3554736c13531898fb720b34772a595620e661a (patch)
tree85e6f76e2b37785405ddf6685801ab9e9f9125cb /drumgizmo/output/jackaudio.h
parent100e2d3bd46f64df730c8a375559680c577036ef (diff)
reformatting fix
Diffstat (limited to 'drumgizmo/output/jackaudio.h')
-rw-r--r--drumgizmo/output/jackaudio.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/drumgizmo/output/jackaudio.h b/drumgizmo/output/jackaudio.h
index dc66978..e15dede 100644
--- a/drumgizmo/output/jackaudio.h
+++ b/drumgizmo/output/jackaudio.h
@@ -31,7 +31,9 @@
#include "audiooutputengine.h"
#include "../jackclient.h"
-class JackAudioOutputEngine : public AudioOutputEngine, public JackProcess
+class JackAudioOutputEngine
+ : public AudioOutputEngine
+ , public JackProcess
{
public:
JackAudioOutputEngine(JackClient &client);
@@ -43,7 +45,7 @@ public:
bool start() override;
void stop() override;
void pre(size_t nsamples) override;
- void run(int ch, sample_t *samples, size_t nsamples) override;
+ void run(int ch, sample_t* samples, size_t nsamples) override;
void post(size_t nsamples) override;
size_t getBufferSize() override;
size_t samplerate() override;
@@ -57,11 +59,11 @@ private:
JackPort port;
std::vector<sample_t> samples;
- Channel(JackClient &client, std::string const &name,
+ Channel(JackClient& client, const std::string &name,
std::size_t buffer_size);
};
- JackClient &client;
+ JackClient& client;
std::vector<Channel> channels;
Semaphore sema;
};