summaryrefslogtreecommitdiff
path: root/drumgizmo/output/jackaudio
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2015-12-20 16:55:52 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2015-12-20 16:55:52 +0100
commitc4f5bbfab513cd5291fbec7f0781be18c9aeb4f4 (patch)
treea2bf831e2d5c405ddede156f9468b05e9cc98516 /drumgizmo/output/jackaudio
parent02321ff4d595db763074080b3e55d040fc403a99 (diff)
Fix uninitialised warning.
Diffstat (limited to 'drumgizmo/output/jackaudio')
-rw-r--r--drumgizmo/output/jackaudio/jackaudio.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/drumgizmo/output/jackaudio/jackaudio.cc b/drumgizmo/output/jackaudio/jackaudio.cc
index 5c04146..511c145 100644
--- a/drumgizmo/output/jackaudio/jackaudio.cc
+++ b/drumgizmo/output/jackaudio/jackaudio.cc
@@ -57,10 +57,10 @@ public:
size_t samplerate();
private:
- JackClient *jackclient;
- jack_port_t *output_port[64];
- size_t nchannels;
- sample_t **channels;
+ JackClient *jackclient{nullptr};
+ jack_port_t *output_port[64] = {};
+ size_t nchannels{0};
+ sample_t **channels{nullptr};
Semaphore sem;
};