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

hw/drivers/i2s: Fix sample count for nrfx in i2s buffers #3118

Merged

Conversation

kasjer
Copy link
Contributor

@kasjer kasjer commented Dec 11, 2023

For i2s in (microphone) sample_count was never set. It resulted in buffers returned to i2s client with no data. Now capacity is copied to sample_count as it is actual number of samples that were captured.

Same fix was applied long time ago to STM32F4 driver.

For i2s in (microphone) sample_count was never set.
It resulted in buffers returned to i2s client with no data.
Now capacity is copied to sample_count as it is actual number
of samples that were captured.

Same fix was applied long time ago to STM32F4 driver.
@kasjer kasjer merged commit 30fc00a into apache:master Dec 11, 2023
15 checks passed
@kasjer kasjer deleted the kasjer/i2s_nrfx-fix-sample_count-for-mic branch December 11, 2023 14:28
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.

2 participants