summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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()