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

Remove WM8731 TODO comment #623

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jacobvosmaer
Copy link

I was reading the WM8731 audio codec setup code and I got confused by a comment which suggested Daisy always uses the codec with a 48kHz sample rate. After several hours of reading data sheets I figured out what is going on here: the WM8731 has built-in sample rate conversion and the nominal "48kHz" setting disables the built-in conversion.

This commit updates the comment to explain what we are actually doing here.

I was reading the WM8731 audio codec setup code and I got confused by
a comment which suggested Daisy always uses the codec with a 48kHz
sample rate. After several hours of reading data sheets I figured out
what is going on here: the WM8731 has built-in sample rate conversion
and the nominal "48kHz" setting disables the built-in conversion.

This commit updates the comment to explain what we are actually doing here.
@beserge
Copy link
Contributor

beserge commented May 9, 2024

Looks good, nice catch!

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