I use a Raspberry 3B+.
After a fresh installation of latest Raspberry Pi OS Lite 64 bit (Bookworm official image : https://downloads.raspberrypi.com/raspios_lite_armhf/images/raspios_lite_armhf-2023-12-11/2023-12-11-raspios-bookworm-armhf-lite.img.xz), the default sound output is the analog headphone jack.
speaker-test works well.
I want sound over HDMI. So, with raspi-config, I changed the audio output to HDMI.
However, this doesn't work. speaker-test gives :
Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Sample format not available for playback: Invalid argument
Setting of hwparams failed: Invalid argument
Is this normal ? How to get sound over HDMI ?
Steps to reproduce :
- Download image here : https://downloads.raspberrypi.com/raspios_lite_armhf/images/raspios_lite_armhf-2023-12-11/2023-12-11-raspios-bookworm-armhf-lite.img.xz
- Burn to SD card, boot, choose username and password
- Run
speaker-testand check sound output is 3.5mm jack - Change sound output to HDMI with
sudo raspiconfig - Now,
speaker-testfails