diff options
author | Christian Glöckner <cgloeckner@freenet.de> | 2016-01-29 15:55:12 +0100 |
---|---|---|
committer | André Nusser <andre.nusser@googlemail.com> | 2016-02-09 09:03:17 +0100 |
commit | 075d6e22f6d0ab45523c1a51efca1d36ce66b04d (patch) | |
tree | f87e7f3edfd66a6a2153b8377844bc820d08648b /drumgizmo | |
parent | d991ef4d089bc67710512f7d2f3ffba38663d2e8 (diff) |
Further style changes
Diffstat (limited to 'drumgizmo')
-rw-r--r-- | drumgizmo/enginefactory.cc | 9 | ||||
-rw-r--r-- | drumgizmo/output/jackaudio.h | 2 | ||||
-rw-r--r-- | 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<sample_t> 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() |