-
Notifications
You must be signed in to change notification settings - Fork 75
Description
hi
i have installed ec
i use this asound.conf
`
defaults.pcm.rate_converter "samplerate"
pcm.!default {
type asym
playback.pcm "dmixer"
#capture.pcm "ac108"
capture.pcm "eco"
}
pcm.ac108 {
type plug
slave {
rate 48000
format S32_LE
pcm "hw:seeed8micvoicec"
}
}
pcm.dmixer {
type plug
slave {
pcm {
type dmix
ipc_key 555555
slave {
pcm "hw:seeed8micvoicec"
format S32_LE
channels 8
}
bindings {
0 0
1 1
2 2
3 3
4 4
5 5
6 6
7 7
}
}
channels 8
format S32_LE
rate 48000
}
ttable.0.0 1
ttable.1.1 1
ttable.0.2 1
ttable.1.3 1
ttable.0.4 1
ttable.1.5 1
ttable.0.6 1
ttable.1.7 1
}
pcm.ac101 {
type plug
slave {
pcm "hw:seeed8micvoicec"
channels 8
format S32_LE
rate 48000
}
ttable.0.0 1
ttable.1.1 1
ttable.0.2 1
ttable.1.3 1
ttable.0.4 1
ttable.1.5 1
ttable.0.6 1
ttable.1.7 1
}
pcm.eco {
type plug
slave.pcm {
type fifo
infile "/tmp/ec.output"
rate 16000
format S16_LE
channels 2
}
}
`
if i run ec_hw:
/root/ec/ec_hw -i plughw:seeed8micvoicec -c 8 -l 7 -m 0,1,2,3
and next, try to run audio i get this error:
root@raspberrypi:~# aplay -r 16000 a.wav Playing WAVE 'a.wav' : Signed 32 bit Little Endian, Rate 16000 Hz, Channels 8 ALSA lib pcm_params.c:2226:(snd1_pcm_hw_refine_slave) Slave PCM not usable aplay: set_params:1310: Broken configuration for this PCM: no configurations available
if i try to run audio without run ec_hw, i ear sound correctly
your asound.conf seems to be made for ec and not for ec_hw
if your guide is correct ec_hw don't create /tmp/ec.input!!!!!!