Skip to content

Commit 6e50e6e

Browse files
committed
LOG dma_frame_num
1 parent 99b6a07 commit 6e50e6e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/AudioI2S/I2SESP32V1.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ class I2SDriverESP32V1 {
202202
int size = cfg.buffer_size * cfg.buffer_count;
203203
int frame_size = cfg.bits_per_sample * cfg.channels / 8;
204204
if (size > 0) result.dma_frame_num = size / frame_size;
205+
LOGI("dma_frame_num: %d", result.dma_frame_num);
205206
return result;
206207
}
207208

0 commit comments

Comments
 (0)