summaryrefslogtreecommitdiff
path: root/drumgizmo/output
diff options
context:
space:
mode:
Diffstat (limited to 'drumgizmo/output')
-rw-r--r--drumgizmo/output/jackaudio.h2
-rw-r--r--drumgizmo/output/wavfile.cc5
2 files changed, 2 insertions, 5 deletions
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()