PCM reader is configured by URI

This commit is contained in:
badaix 2016-01-24 13:55:05 +01:00
parent c4094a2175
commit a9015edb22
9 changed files with 108 additions and 84 deletions

View file

@ -33,7 +33,7 @@ class PipeReader : public PcmReader
{
public:
/// ctor. Encoded PCM data is passed to the PipeListener
PipeReader(PcmListener* pcmListener, const msg::SampleFormat& sampleFormat, const std::string& codec, const std::string& fifoName, size_t pcmReadMs = 20);
PipeReader(PcmListener* pcmListener, const ReaderUri& uri);
virtual ~PipeReader();
protected: