mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-10 23:56:43 +02:00
Clean up AsioStream reader code
This commit is contained in:
parent
3cb9902bbe
commit
a47849a571
8 changed files with 35 additions and 137 deletions
|
@ -25,6 +25,7 @@
|
|||
#include "pcm_stream.hpp"
|
||||
#include "process.hpp"
|
||||
|
||||
// TODO: switch to AsioStream, maybe use boost::process library
|
||||
|
||||
/// Starts an external process and reads and PCM data from stdout
|
||||
/**
|
||||
|
@ -49,6 +50,7 @@ protected:
|
|||
std::unique_ptr<Process> process_;
|
||||
std::thread stderrReaderThread_;
|
||||
bool logStderr_;
|
||||
size_t dryoutMs_;
|
||||
|
||||
void worker() override;
|
||||
virtual void stderrReader();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue