Remove chatty loggin

custom
jacqueline 2 years ago
parent a2c1dfbabd
commit 0024bb1dbe
  1. 7
      src/audio/audio_decoder.cpp

@ -157,17 +157,10 @@ auto AudioDecoder::Process(const std::vector<InputStream>& inputs,
return; return;
} }
ESP_LOGI(kTag, "enc read: %u", res.first);
codecs::ICodec::OutputInfo out_info = res.second.value(); codecs::ICodec::OutputInfo out_info = res.second.value();
output->add(out_info.bytes_written); output->add(out_info.bytes_written);
has_samples_to_send_ = !out_info.is_finished_writing; has_samples_to_send_ = !out_info.is_finished_writing;
ESP_LOGI(kTag, "enc wrote: %u", out_info.bytes_written);
if (out_info.is_finished_writing) {
ESP_LOGI(kTag, "(write finished)");
}
if (has_samples_to_send_) { if (has_samples_to_send_) {
// We weren't able to fit all the generated samples into the output // We weren't able to fit all the generated samples into the output
// buffer. Stop trying; we'll finish up during the next pass. // buffer. Stop trying; we'll finish up during the next pass.

Loading…
Cancel
Save