fatdog sound configuration tool is not working fully.
Firstly I know my hardware (acer chromebook) is a bit unusual but notwithstanding I have independently got all devices working, namely, speakers, headphones, headset mic and onboard stereo mics. The mics are hw:0,1 (headset right channel only, mono) and hw:0,2 (stereo, 2 channels) .... guvcview, audacity, jack all allow selection and capture from these mics/devices. But fatdog input and aloop configurators do not. This means I cannot use the mics with browser based apps, wechat, whatsapp, etc . It seems sound configuration scripts work on assumptions, rather than selectable devices! I really don't want to have to learn alsa configuration syntax, as it is ridiculous. I'm just waiting for fatdog to reach glibc 2.34 so I can compile pipewire and avoid a lot of frustration. In the meantime, I need a capture block to drop into the configured aloop setup! Any help appreciated.
This is my .asoundrc
Code: Select all
pcm.!default fdplug
pcm.fdplug {
type plug
slave {
pcm fdasym
rate 48000
}
}
pcm.fdasym {
type asym
playback.pcm {
@func getenv
vars [ ALSA_PCMOUT ]
default fddmix
}
capture.pcm {
@func getenv
vars [ ALSA_PCMIN ]
default fdhw
}
}
pcm.fddmix {
type dmix
ipc_key 2342329
ipc_gid audio
ipc_perm 0660
slave {
pcm fdhw
period_time 0
period_size 2048
buffer_size 32768
format S16_LE
channels 2
rate 48000
}
}
pcm.fdhw "hw:Loopback,0,6"
pcm.aloopd {
type plug
slave {
pcm "hw:Loopback,1,6"
rate 48000
format S16_LE
}
}
pcm.aloopdshared {
type plug
slave.pcm aloopdsnoop
}
pcm.aloopdsnoop {
type dsnoop
ipc_key 13328617
ipc_gid audio
ipc_perm 0660
slave {
pcm "hw:Loopback,1,6"
rate 48000
format S16_LE
}
}
# ===== Manual override section =======
# for manual use with plug: overrides
pcm.vdownmix
{
@args [ SLAVE ]
@args.SLAVE {
type string
}
type vdownmix
slave.pcm $SLAVE
}
# for a2dp-alsa (manual edits) - deprecated, replaced by bluealsa
pcm.a2dpfifo {
type rate
slave {
pcm {
type file
slave.pcm "null"
file "/tmp/a2dp.fifo"
}
rate 44100
}
}
cheers
stemsee