0

DAC+/Pi 3 simultaneous output from two or more applications [Mixed/shard output]

Hi folks, 

I got the DAC+ working on RPI3.

I seem to recall the standard sound support has a mixer whereby two apps can send output to the same device.  I'm not getting that with DAC+. If i run one audio app, anything else is blocked to the output.

Is this an Alsa mixer setting or some-such thing? could somebody point me in the right direction?

Output below and alsa.conf below

Thanks,

Dave

 

======

Audio output failed:

The audio device "hw:CARD=sndrpihifiberry,DEV=0" could not be used:

Device or resource busy.

Audio output failed:

The audio device "hw:CARD=sndrpihifiberry,DEV=0" could not be used:

Device or resource busy.

=======

 

 

pi@raspberrypi:/usr/share/alsa $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sndrpihifiberry [snd_rpi_hifiberry_dacplus], device 0: HiFiBerry DAC+ Pro HiFi pcm512x-hifi-0 []
Subdevices: 0/1
Subdevice #0: subdevice #0

 

pi@raspberrypi:/usr/share/alsa $ speaker-test -c 2

speaker-test 1.0.28

Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Playback open error: -16,Device or resource busy

 

=======

pi@raspberrypi:/etc $ cat asound.conf
pcm.!default {
type hw card 0
}
ctl.!default {
type hw card 0
}
pcm.hfifberry {
type softvol
slave.pcm "plugw:0:"
control.name "Master"
control.card 0
}
pcm.!default {
type plug
slave.pcm "hifiberry"
}

 

=======

pi@raspberrypi:/usr/share/alsa $ lsmod |grep snd
snd_soc_pcm512x_i2c 2243 1
snd_soc_pcm512x 17268 1 snd_soc_pcm512x_i2c
regmap_i2c 3393 1 snd_soc_pcm512x_i2c
snd_soc_hifiberry_dacplus 3972 4
snd_soc_bcm2835_i2s 6354 2
snd_soc_hifiberry_dac 2511 0
snd_soc_core 125885 4 snd_soc_pcm512x,snd_soc_bcm2835_i2s,snd_soc_hifiberry_dac,snd_soc_hifiberry_dacplus
snd_pcm_dmaengine 3391 1 snd_soc_core
snd_pcm 75698 6 snd_soc_pcm512x,snd_soc_core,snd_soc_hifiberry_dac,snd_pcm_dmaengine,snd_soc_hifiberry_dacplus
snd_timer 19160 1 snd_pcm
snd 51844 10 snd_soc_core,snd_timer,snd_pcm

====

2 comments

Please sign in to leave a comment.