Pass io_context to stream readers

This commit is contained in:
badaix 2019-11-23 12:09:23 +01:00
parent 7a58526736
commit 6e138ff49f
15 changed files with 30 additions and 22 deletions

View file

@ -35,7 +35,7 @@ class LibrespotStream : public ProcessStream, WatchdogListener
{
public:
/// ctor. Encoded PCM data is passed to the PipeListener
LibrespotStream(PcmListener* pcmListener, const StreamUri& uri);
LibrespotStream(PcmListener* pcmListener, boost::asio::io_context& ioc, const StreamUri& uri);
~LibrespotStream() override;
protected: