-
Notifications
You must be signed in to change notification settings - Fork 458
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
Sample rate set to 48khz when using the alsa backend #1216
Comments
Sorry for taking so long to respond. Unfortunately, I'm a bit at loss here. As you can see here, Maybe you can try to see, if alsa correctly recognizes that your DAC is able to play at that sample rate? |
I won't have access to my setup for a while, so I'll try to get back with more info when that happens. Thanks for the reply |
Bump. I have exactly same problem with spotifyd (when using alsa backend). The spotifyd outputs at 48kHz/S32_LE to DAC. As pointed out by OP, it should be 44.1kHz/S16 (or S32*). My config:
and...
Let me know if additional details are needed. |
Sorry for not responding earlier. Is |
To Reproduce
Use
alsa
as the audio backend. Play a song.Run this command and replace
cardX
with the correct deviceOn my machine it shows 48khz. My DAC has a display and states the same. My DAC can play 44.1khz as well
Expected behavior
Music should play at 44.1khz (or some multiple) because that's most likely the source audio format. 48khz is for videos, and using it for music add a useless resampling step (purists would consider this heresy, even though it still sounds good).
Logs
Click to show logs
Compilation flags
Versions
The text was updated successfully, but these errors were encountered: