-
-
Notifications
You must be signed in to change notification settings - Fork 581
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
[Problem]: Sample rate ignored #1925
Comments
Thanks for the report. Just looking at the configuration, please note that there are no If you have done a full install, a file |
Thanks, that's right. Looking at the source code, It seems the JACK backend is hardcoded to expect 44100 Hz Line 245 in 910264e
If that is correct, what changes are needed to make the sample rate configurable for JACK? particularly, I don't understand the rationale behind this comment (why hardcoded 44k1):
|
Thanks. It is the AirPlay audio that is fixed to 44100/S16/2. The |
Correct
Now I understand, I made the assumption that AirPlay is capable of handling hi-res audio when it is not the case. Bummer. So in practice there is no benefit in trying to increase the system sample rate. However if for some reason JACK is running > 44100 Hz, for example a Pi handling multiple audio sources all connected to JACK. That would be an unsupported configuration? there seems to be some code related to SOX for resampling in audio_jack.c, but the 44100 check always takes place no matter SOX is enabled or not. |
Indeed — there is no advantage to increasing the sample rate. |
Perfect, thanks. |
What happened?
rate
andoutput_rate
from conf.Note for the Sound Server checkbox below: system has also PulseAudio installed but it outputs to JACK.
Relevant log output
$ shairport-sync fatal error: The JACK server is running at the wrong sample rate (176400) for Shairport Sync. Must be 44100 Hz.
System Information.
Configuration Information.
PulseAudio or PipeWire installed?
How did you install Shairport Sync?
Built from source
Check previous issues
The text was updated successfully, but these errors were encountered: