The raspberry pi 3 ALSA driver seems to be totally broken. I was trying to verify pipewire is working, but in fact plain ALSA seems to be malfunctioning.
- The media player with pipewire looks like it is playing, but in fact it goes on double rate (the elapsed time indicator advances by 2 seconds every 1 second) and you can only hear a glitch every one second on the headphones
This makes some sound, but the audio output is not consistent with the printed messages. You can hear sound on the right while it says "Front left" and then it switches to "Front right" but you can still hear sound on the right and 1-2 seconds later you can hear it on the left. Then the test stops, but you can still hear some audio on the left, then it prints "Front left" again and sound is still on the left, but then switches to the right.... Changing the rate doesn't seem to have any effect.
Playing some audio file with gstreamer is audible, but it plays slower than the normal rate of the file. Changing the rate in gstreamer also doesn't have any effect.
- Switching to HDMI sound with
does not output anything on the HDMI. I also tried to set hdmi_drive=2 in /boot/config.txt as suggested here but there is still no sound coming on the monitor.