Zdravím.
Nevím kde dělam kopanec.
arecord -l
card 1: Set [C-Media USB Headphone Set], device 0: USB Audio [USB Audio]
aplay -l
Použijeme tu samou
card 1: Set [C-Media USB Headphone Set], device 0: USB Audio [USB Audio]
nano /home/pi/.asoundrc
pcm.!default {
type asym
capture.pcm "mic"
playback.pcm "speaker"
}
pcm.mic {
type plug
slave {
pcm "hw:<1>,<0>"
}
}
pcm.speaker {
type plug
slave {
pcm "hw:<1>,<0>"
}
pi@raspberrypi:~ $ speaker-test -t wav
speaker-test 1.1.8
Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
WAV file(s)
ALSA lib conf.c:4926:(parse_args) Parameter DEV must be an integer
ALSA lib conf.c:5031:(snd_config_expand) Parse arguments error: Nepřípustný argument
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM hw:<1>,<0>
Playback open error: -22,Nepřípustný argument