From 075d6e22f6d0ab45523c1a51efca1d36ce66b04d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Gl=C3=B6ckner?= Date: Fri, 29 Jan 2016 15:55:12 +0100 Subject: Further style changes --- drumgizmo/enginefactory.cc | 9 ++------- drumgizmo/output/jackaudio.h | 2 +- drumgizmo/output/wavfile.cc | 5 +---- 3 files changed, 4 insertions(+), 12 deletions(-) diff --git a/drumgizmo/enginefactory.cc b/drumgizmo/enginefactory.cc index 63a17ba..9cbb5d5 100644 --- a/drumgizmo/enginefactory.cc +++ b/drumgizmo/enginefactory.cc @@ -31,14 +31,9 @@ EngineFactory::EngineFactory() : input{} - , output -{ -} + , output{} #ifdef USE_JACK -, jack -{ - nullptr -} + , jack{nullptr} #endif { // list available input engines diff --git a/drumgizmo/output/jackaudio.h b/drumgizmo/output/jackaudio.h index 3408272..2c6b5e4 100644 --- a/drumgizmo/output/jackaudio.h +++ b/drumgizmo/output/jackaudio.h @@ -60,7 +60,7 @@ private: std::vector samples; Channel(JackClient& client, const std::string& name, - std::size_t buffer_size); + std::size_t buffer_size); }; JackClient& client; diff --git a/drumgizmo/output/wavfile.cc b/drumgizmo/output/wavfile.cc index 7035080..963b0e8 100644 --- a/drumgizmo/output/wavfile.cc +++ b/drumgizmo/output/wavfile.cc @@ -30,16 +30,13 @@ WavfileOutputEngine::WavfileOutputEngine() : AudioOutputEngine{} - , info{} + , info{0} , channels{} , file{"output"} { - info.frames = 0; info.samplerate = 44100; info.channels = 1; info.format = SF_FORMAT_WAV | SF_FORMAT_FLOAT; - info.sections = 0; - info.seekable = 0; } WavfileOutputEngine::~WavfileOutputEngine() -- cgit v1.2.3