summaryrefslogtreecommitdiff
path: root/drumgizmo
diff options
context:
space:
mode:
authorChristian Glöckner <cgloeckner@freenet.de>2016-01-29 15:55:12 +0100
committerAndré Nusser <andre.nusser@googlemail.com>2016-02-09 09:03:17 +0100
commit075d6e22f6d0ab45523c1a51efca1d36ce66b04d (patch)
treef87e7f3edfd66a6a2153b8377844bc820d08648b /drumgizmo
parentd991ef4d089bc67710512f7d2f3ffba38663d2e8 (diff)
Further style changes
Diffstat (limited to 'drumgizmo')
-rw-r--r--drumgizmo/enginefactory.cc9
-rw-r--r--drumgizmo/output/jackaudio.h2
-rw-r--r--drumgizmo/output/wavfile.cc5
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()