Alsa dmix

This forum is for topics dealing with problems with software specifically in the AArch64 repo.

Alsa dmix

Postby lah » Tue Feb 14, 2017 2:08 pm

I got problems using alsa dmix plugin on raspberry : http://stackoverflow.com/questions/4220 ... -with-dmix
I thought it was because of an error in my alsa config. So I tried with some very simple configs only using dmix :

$this->bbcode_second_pass_code('', '
pcm.dmixer {
type dmix
ipc_key 1024
ipc_key_add_uid 0
ipc_perm 0666
slave.pcm "hw:0,0"
}

pcm.dsp0 {
type plug
slave.pcm "dmixer"
}

pcm.!default {
type plug
slave.pcm "dmixer"
}

pcm.default {
type plug
slave.pcm "dmixer"
}

ctl.mixer0 {
type hw
card 0
}
')

I figured out I cannot use dmix plugin, when I run a speaker-test with this config, its stays stuck.
When I use default alsa config (direct use of hw:0,0 without dmix), mixing is done as said here :
$this->bbcode_second_pass_quote('', 'N')OTE: For ALSA 1.0.9rc2 and higher you don't need to setup dmix for analogue output. Dmix is enabled by default for soundcards which don't support hardware mixing. You still need to set it up for digital outputs.


How can I enable dmix in my alsa config?
Is there something in alsa drivers preventing dmix use?
lah
 
Posts: 8
Joined: Fri Aug 28, 2015 9:28 am

Return to ARMv8

Who is online

Users browsing this forum: No registered users and 5 guests