Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I2S_Input #41

Merged
merged 2 commits into from
Oct 29, 2024
Merged

I2S_Input #41

merged 2 commits into from
Oct 29, 2024

Conversation

TMRh20
Copy link
Owner

@TMRh20 TMRh20 commented Oct 29, 2024

  • Add support for I2S input (microphone)
  • Allocate internal ADC and DAC buffers dynamically based on users calling aaAudio.maxBufferSize = AUDIO_BUFFER_SIZE; prior to calling begin()
  • Support 24-bit samples with I2S

-Allocate internal ADC and DAC buffers dynamically.
- Allow users to specify max buffer size (in # of samples) by setting `maxBufferSize` prior to calling begin
- Adjust the `useI2S` variable so 1 is DAC output, 2 is ADC output and 3 is both
- Preliminary code for I2S microphone (untested)
- Double buffering for ADC
- Set 24 bit samples config properly
- Fix SDIN config
@TMRh20 TMRh20 merged commit 9f4f535 into master Oct 29, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant