Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

I2SStream Documentation? #2189

Answered by pschatzmann
KorbinDick asked this question in Q&A
Discussion options

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.

You must be logged in to vote

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

Comment options

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

You must be logged in to vote
3 replies
Comment options

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?

Comment options

Just look at the documentation of the driver!

Comment options

Okay, sorry for the trouble.

Answer selected by pschatzmann
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /