diff --git a/core/src/signal_path/stream.h b/core/src/signal_path/stream.h index 43b62d22..ba2eaeab 100644 --- a/core/src/signal_path/stream.h +++ b/core/src/signal_path/stream.h @@ -86,7 +86,19 @@ public: class StreamManager { friend AudioStream; public: + /** + * Register an audio stream. + * @param name Name of the stream. + * @param stream DSP stream that outputs the audio. + * @param samplerate Samplerate of the audio data. + * @return Audio stream instance. + */ std::shared_ptr registerStream(const std::string& name, dsp::stream* stream, double samplerate); + + /** + * Unregister an audio stream. + * + */ void unregisterStream(const std::string& name); void registerSinkProvider(const std::string& name, SinkProvider* provider);