mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-16 17:40:46 -04:00
26 lines
551 B
Plaintext
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
|
|
}
|
|
}
|