diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2015-12-20 17:24:31 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2015-12-20 17:24:31 +0100 |
commit | 64e5faf11c22c8aabf181288293c8ec7964c213d (patch) | |
tree | f0669001e9eef2aa883df85f401947d843f684b4 /drumgizmo/output/alsa/alsa.cc | |
parent | b697682bd3c1b9cdfde97cd6a7c9d0f10103f6b4 (diff) | |
parent | 0fa481dabf620181c852f43923a3c4b049294ab4 (diff) |
Merge remote-tracking branch 'origin/master' into uirefactor
Diffstat (limited to 'drumgizmo/output/alsa/alsa.cc')
-rw-r--r-- | drumgizmo/output/alsa/alsa.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drumgizmo/output/alsa/alsa.cc b/drumgizmo/output/alsa/alsa.cc index dc2ac73..71e0c3d 100644 --- a/drumgizmo/output/alsa/alsa.cc +++ b/drumgizmo/output/alsa/alsa.cc @@ -52,15 +52,15 @@ public: size_t samplerate(); private: - snd_pcm_t *handle; - snd_pcm_hw_params_t *params; - sample_t *data; - size_t channels; + snd_pcm_t *handle{nullptr}; + snd_pcm_hw_params_t *params{nullptr}; + sample_t *data{nullptr}; + size_t channels{0}; // Parameters std::string device; - unsigned int srate; - snd_pcm_uframes_t frames; + unsigned int srate{0}; + snd_pcm_uframes_t frames{0}; }; Alsa::Alsa() |