-
-
Notifications
You must be signed in to change notification settings - Fork 309
I2SStream Documentation? #2189
-
Hello all, I am brand new here and a working on a SDR project using an ECM input to a PCM1808, to and ESP32 to do DSP eventually, and then to a PCM5102A. I am planning on using 44.1kHz, with 24 bit resolution. I was just starting to look at how this library works and it seems everyone is using an I2SStream class, but I can't find the documentation on it, the classic 404 error. I was wondering if anyone knew how to help at all, thanks.
Beta Was this translation helpful? Give feedback.
All reactions
The I2SStream is just the platform idependent API class which delegates the processing to the platform specific drivers.
For the ESP32 this also depends on the IDF version: On an actual version this would point to the I2SDriverESP32V1.
If you don't know the class name, I recommend to use the Class Documentation by Topic. The I2SStream can be found under the topic IO and all the platform specific driver classes under Platfrom.
If you know the class name, you would use the All Classes Alphabetically
Replies: 1 comment 3 replies
-
The I2SStream is just the platform idependent API class which delegates the processing to the platform specific drivers.
For the ESP32 this also depends on the IDF version: On an actual version this would point to the I2SDriverESP32V1.
If you don't know the class name, I recommend to use the Class Documentation by Topic. The I2SStream can be found under the topic IO and all the platform specific driver classes under Platfrom.
If you know the class name, you would use the All Classes Alphabetically
Beta Was this translation helpful? Give feedback.
All reactions
-
Awesome, thank you so much. I just read up on I2SStream, and I wasn't sure if I should start another discussion or not, but I had some questions on the following:
auto config = in.defaultConfig(RXTX_MODE);
config.sample_rate = sample_rate;
config.bits_per_sample = 16;
config.i2s_format = I2S_STD_FORMAT;
config.is_master = true;
config.port_no = 0;
config.pin_ws = 18;
config.pin_bck = 5;
config.pin_data = 19;
config.pin_data_rx = 17;
config.pin_mck = 0;
config.use_apll = true;
in.begin(config);
Serial.println("I2S started...");
Where can I find what auto means as a variable and is there any documentation I can look at for these struct variables, such as config.port_no = 0?
Beta Was this translation helpful? Give feedback.
All reactions
-
Just look at the documentation of the driver!
Beta Was this translation helpful? Give feedback.
All reactions
-
Okay, sorry for the trouble.
Beta Was this translation helpful? Give feedback.