Files
MultiRoombaRover/pi/asound.conf
T
2025-11-29 03:16:54 -05:00

26 lines
551 B
Plaintext

# Use the Google Voice HAT soundcard as the primary device by name (card id is "sndrpigooglevoi")
options snd_rpi_googlevoicehat_soundcard index=0
# Simple defaults: direct playback/capture on the voice HAT
pcm.!default {
type asym
playback.pcm "plughw:0,0"
capture.pcm "plughw:0,0"
}
ctl.!default {
type hw
card 0
}
# Stable capture device for ffmpeg/roverd: exposes the HAT at fixed format/rate.
pcm.rovermic {
type plug
slave {
pcm "hw:0,0"
format S32_LE
rate 48000
channels 2
}
}