summaryrefslogtreecommitdiff
path: root/drumgizmo/output/alsa.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/alsa.h
parent100e2d3bd46f64df730c8a375559680c577036ef (diff)
reformatting fix
Diffstat (limited to 'drumgizmo/output/alsa.h')
-rw-r--r--drumgizmo/output/alsa.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/drumgizmo/output/alsa.h b/drumgizmo/output/alsa.h
index 81d83cc..70b3f1f 100644
--- a/drumgizmo/output/alsa.h
+++ b/drumgizmo/output/alsa.h
@@ -34,7 +34,8 @@
#include "audiooutputengine.h"
-class AlsaOutputEngine : public AudioOutputEngine
+class AlsaOutputEngine
+ : public AudioOutputEngine
{
public:
AlsaOutputEngine();
@@ -46,13 +47,13 @@ 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 samplerate() override;
private:
- snd_pcm_t *handle;
- snd_pcm_hw_params_t *params;
+ snd_pcm_t* handle;
+ snd_pcm_hw_params_t* params;
std::vector<sample_t> data;
size_t num_channels;