diff --git a/src/api/SnapOutput.h b/src/api/SnapOutput.h index e5d87b6..085195c 100644 --- a/src/api/SnapOutput.h +++ b/src/api/SnapOutput.h @@ -88,7 +88,7 @@ class SnapOutput : public AudioInfoSupport { /// Defines the audio output chain to the final output void setOutput(AudioOutput &output) { this->out = &output; // final output - resample.setStream(output); + resample.setOutput(output); vol_stream.setStream(resample); // adjust volume decoder_stream.setStream(&vol_stream); // decode to pcm } @@ -266,4 +266,4 @@ class SnapOutput : public AudioInfoSupport { } }; -} \ No newline at end of file +}