Skip to content

Commit 156eb15

Browse files
committed
fix: dual mic without afe
1 parent c59c515 commit 156eb15

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

main/audio/processors/no_audio_processor.cc

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,6 @@ void NoAudioProcessor::Feed(std::vector<int16_t>&& data) {
1313
return;
1414
}
1515

16-
if (data.size() != frame_samples_) {
17-
ESP_LOGE(TAG, "Feed data size is not equal to frame size, feed size: %u, frame size: %u", data.size(), frame_samples_);
18-
return;
19-
}
20-
2116
if (codec_->input_channels() == 2) {
2217
// If input channels is 2, we need to fetch the left channel data
2318
auto mono_data = std::vector<int16_t>(data.size() / 2);

0 commit comments

Comments
 (0)