We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5783e20 commit c638d28Copy full SHA for c638d28
examples/examples-stream/streams-i2s-i2s/streams-i2s-i2s.ino
@@ -5,7 +5,7 @@
5
* @copyright GPLv3
6
*/
7
8
-uint16_t sample_rate=44100;
+uint16_t sample_rate=96000;
9
uint16_t channels = 2;
10
I2SStream in;
11
I2SStream out;
@@ -25,12 +25,13 @@ void setup(void) {
25
config_in.sample_rate = sample_rate;
26
config_in.bits_per_sample = 16;
27
config_in.i2s_format = I2S_STD_FORMAT;
28
- config_in.is_master = true;
29
config_in.port_no = 0;
30
config_in.pin_ws = 12;
31
config_in.pin_bck = 13;
32
config_in.pin_data = 14;
33
-
+ config_in.is_master = false;
+ //config.pin_mck = 2; // wenn ESP master
34
+ //config.fixed_mclk = ? //wenn ESP master
35
in.begin(config_in);
36
37
// start I2S out
0 commit comments