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

On the Raspberry Pi 4 there is a bcm headphone audio device, but it does not work #19

Open
moritzvieli opened this issue Feb 5, 2021 · 6 comments
Labels

Comments

@moritzvieli
Copy link
Owner

moritzvieli commented Feb 5, 2021

Gstreamer error:
2021-01-21 07:44:53.998 INFO 2432 --- [io-8080-exec-10] c.a.r.c.CompositionPlayer : Playing composition 'Audio'...
0:00:07.095915533 2432 0x90ac3cc0 WARN alsa pcm_hw.c:1711:snd_pcm_hw_open: alsalib error: open '/dev/snd/pcmC0D0p' failed (-22): Invalid argument
0:00:07.096355607 2432 0x90ac3cc0 WARN alsa pcm_dmix.c:1165:snd_pcm_dmix_open: alsalib error: unable to open slave
0:00:07.096881144 2432 0x90ac3cc0 WARN alsa gstalsasink.c:848:gst_alsasink_open: Error -22 (Invalid argument) calling snd_pcm_open (&alsa->handle, alsa->device, SND_PCM_STREAM_PLAYBACK, SND_PCM_NONBLOCK)
0:00:07.097383070 2432 0x90ac3cc0 WARN alsa gstalsasink.c:865:gst_alsasink_open: error: Could not open audio device for playback.
0:00:07.097704496 2432 0x90ac3cc0 WARN alsa gstalsasink.c:865:gst_alsasink_open: error: Playback open error on device 'rocketshow': Invalid argument
2021-01-21 07:44:54.049 ERROR 2432 --- [ervice thread 1] c.a.r.c.CompositionPlayer : GST error: Could not open audio device for playback.

Playing it with aplay -D rocketshow xy.zwav works fine. Seems to be a Gstreamer issue. Maybe update Gstreamer and try again?

@moritzvieli
Copy link
Owner Author

If no solution: Deactivate the headphone audio device.

@moritzvieli moritzvieli added the bug label Feb 5, 2021
@moritzvieli
Copy link
Owner Author

Temporarily deactivated

@DavidOpgh
Copy link
Contributor

So will there ever be support to output audio from the headphone jack on the Pi 4 ?

@moritzvieli
Copy link
Owner Author

@DavidOpgh I need to check again with the new version. However, we had complaints about the quality in the past anyway. Seems like the headphone jack is not well suited for public audiences. I would therefore anyway recommend a separate audio interface for serious applications.

@DavidOpgh
Copy link
Contributor

DavidOpgh commented Feb 5, 2023 via email

@moritzvieli
Copy link
Owner Author

moritzvieli commented Feb 5, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants