diff options
| author | jacqueline <me@jacqueline.id.au> | 2023-04-03 14:06:30 +1000 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2023-04-19 10:29:40 +1000 |
| commit | 3836768bb8b95188e6657ab69027d1d9e4b13a77 (patch) | |
| tree | e4330202da1375a6f49d959a7b839643adccd3ca /src/audio/pipeline.cpp | |
| parent | 7c6fd654f50e6665efa4226c6b927f9762734182 (diff) | |
| download | tangara-fw-3836768bb8b95188e6657ab69027d1d9e4b13a77.tar.gz | |
new pipeline working(?), but the dac eludes me
Diffstat (limited to 'src/audio/pipeline.cpp')
| -rw-r--r-- | src/audio/pipeline.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/audio/pipeline.cpp b/src/audio/pipeline.cpp index 8af8f215..bab2f3ff 100644 --- a/src/audio/pipeline.cpp +++ b/src/audio/pipeline.cpp @@ -4,7 +4,10 @@ namespace audio { -Pipeline::Pipeline(IAudioElement* output) : root_(output), subtrees_() {} +Pipeline::Pipeline(IAudioElement* output) : root_(output), subtrees_() { + assert(output != nullptr); +} + Pipeline::~Pipeline() {} auto Pipeline::AddInput(IAudioElement* input) -> Pipeline* { |
