Remove "chunk_ms" from documentation

This commit is contained in:
badaix 2024-03-24 22:55:50 +01:00
parent b6d69ca919
commit f877308760
5 changed files with 8 additions and 247 deletions

View file

@ -83,9 +83,6 @@ void AlsaStream::start()
{
LOG(DEBUG, LOG_TAG) << "Start, sampleformat: " << sampleFormat_.toString() << "\n";
// idle_bytes_ = 0;
// max_idle_bytes_ = sampleFormat_.rate() * sampleFormat_.frameSize() * dryout_ms_ / 1000;
initAlsa();
first_ = true;
tvEncodedChunk_ = std::chrono::steady_clock::now();
@ -263,7 +260,6 @@ void AlsaStream::do_read()
LOG(INFO, LOG_TAG) << "No data availabale, playing silence.\n";
// no data available, fill with silence
memset(chunk_->payload + len, 0, toRead - len);
// idle_bytes_ += toRead - len;
break;
}
else if (count == 0)