better server shutdown

This commit is contained in:
badaix 2016-05-01 19:18:18 +02:00
parent 679fbaaca0
commit 2275466d09
2 changed files with 7 additions and 8 deletions

View file

@ -87,7 +87,6 @@ const SampleFormat& PcmStream::getSampleFormat() const
void PcmStream::start()
{
logD << "PcmStream start: " << sampleFormat_.getFormat() << "\n";
//TODO: wrong encoder settings leads to: terminate called after throwing an instance of 'std::system_error' what(): Invalid argument
encoder_->init(this, sampleFormat_);
active_ = true;