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 12
12
#include " AudioTools.h"
13
13
14
14
/* *
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
16
16
* Unfortunatly the data type from the microphone (int32_t) does not match with the required data type by A2DP (int16_t),
17
17
* so we need to convert.
18
18
*/
Original file line number Diff line number Diff line change 12
12
13
13
#include " AudioTools.h"
14
14
15
-
16
-
17
15
I2SStream i2sStream; // Access I2S as stream
18
16
A2DPStream a2dpStream = A2DPStream::instance(); // access A2DP as stream
19
17
StreamCopy copier (a2dpStream, i2sStream); // copy i2sStream to a2dpStream
You can’t perform that action at this time.
0 commit comments