0

ALSA

Hi,

I'm trying to get my DAC+ to work with aplay but I get an error when I try to play my test WAV file.

pi@raspberrypi ~ $ aplay -l
**** Liste der Hardware-Geräte (PLAYBACK) ****
Karte 0: sndrpihifiberry [snd_rpi_hifiberry_dacplus], Gerät 0: HiFiBerry DAC+ HiFi pcm512x-hifi-0 []
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0

pi@raspberrypi ~ $ aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
sysdefault:CARD=sndrpihifiberry
snd_rpi_hifiberry_dacplus,
Default Audio Device

pi@raspberrypi ~ $ aplay test.wav
Wiedergabe: WAVE 'test.wav' : Signed 16 bit Little Endian, Rate: 48000 Hz, mono
aplay: set_params:1087: Kanalanzahl nicht unterstützt

This is my configuration:

pi@raspberrypi ~ $ cat /etc/asound.conf
pcm.!default {
type hw card 0
}
ctl.!default {
type hw card 0
}

pi@raspberrypi ~ $ cat /etc/modules
snd_soc_bcm2708
bcm2708_dmaengine
snd_soc_hifiberry_dacplus

pi@raspberrypi ~ $ cat /etc/modprobe.d/raspi-blacklist.conf
blacklist spi-bcm2708
# blacklist i2c-bcm2708
# blacklist snd-soc-pcm512x
# blacklist snd-soc-wm8804

Using mplayer to playback an MP3 files works fine.

What is wrong with my setup?

Best
Jan

2 comments

Please sign in to leave a comment.