-
Notifications
You must be signed in to change notification settings - Fork 592
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
ALSA lib pcm.c:8382:(snd_pcm_set_params) Sample format not available for PLAYBACK: Invalid argument #47
Comments
Comment by joerg-krause Looks like your ALSA device does not support the sample format |
Comment by archphile My device is: ard 1, ID and indeed does not support S16_LE. So I assume there's no solution to this? Many thanks for your immediate reply. |
Comment by joerg-krause You can set the ALSA device with the |
Comment by archphile Thank you very much, it works! I am trying to find a more generic approach so that librespot uses the default alsa device. Is there any possibility to do this? |
Comment by joerg-krause librespot does use the default device. Your default device does not support S16_LE. If you do not want to set the device with |
Comment by archphile Many thanks for everything. I have already created an asound.conf file with the following configuration: pcm.!default { As it seems I have to search more for this. |
Comment by joerg-krause Try this:
|
Comment by archphile Thank you very much for everything Joerg. Everything is up and running buy adding the device option on the systemd.service file. |
Comment by joerg-krause You are welcome! |
Comment by arthurlutz am getting this too, but with a FiiO USB DAC adding |
The last comment was a different issue. Closing as it was solved. |
Issue by archphile
Saturday Mar 11, 2017 at 09:44 GMT
Originally opened as plietar/librespot#162
Hi,
I built librespot with alsa backend on Archlinuxarm:
https://aur.archlinux.org/packages/librespot-alsa-git/
When I try to start librespot with the following command:
librespot --cache /var/cache/librespot --name Test --bitrate 320 --username xxxxxx --password xxxxxx
I get the following error:
Any help is highly appreciated.
Many thanks,
Michael
The text was updated successfully, but these errors were encountered: