File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
examples-basic-api/base-i2s-a2dp
examples-stream/streams-i2s-a2dp Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change 1212#include " AudioTools.h"
1313
1414/* *
15- * @brief We use a ADS1015 I2S microphone as input and send the data to A2DP
15+ * @brief We use a INMP441 I2S microphone as input and send the data to A2DP
1616 * Unfortunatly the data type from the microphone (int32_t) does not match with the required data type by A2DP (int16_t),
1717 * so we need to convert.
1818 */
Original file line number Diff line number Diff line change 1212
1313#include " AudioTools.h"
1414
15-
16-
1715I2SStream i2sStream; // Access I2S as stream
1816A2DPStream a2dpStream = A2DPStream::instance(); // access A2DP as stream
1917StreamCopy copier (a2dpStream, i2sStream); // copy i2sStream to a2dpStream
You can’t perform that action at this time.
0 commit comments