target the hat instead of 0,0

This commit is contained in:
legop3
2025-11-27 18:47:03 -05:00
parent 022249950e
commit 1ec37a43f6
2 changed files with 6 additions and 6 deletions
+5 -5
View File
@@ -1,14 +1,14 @@
# Use the Google Voice HAT soundcard as index 0 (primary card)
# Use the Google Voice HAT soundcard as the primary device by name (more robust than numeric card index)
options snd_rpi_googlevoicehat_soundcard index=0
# Simple defaults: direct playback/capture on card 0
# Simple defaults: direct playback/capture on the voice HAT
pcm.!default {
type asym
playback.pcm "plughw:0,0"
capture.pcm "plughw:0,0"
playback.pcm "plughw:sndrpigooglevoicehat_soundcar,0"
capture.pcm "plughw:sndrpigooglevoicehat_soundcar,0"
}
ctl.!default {
type hw
card 0
card sndrpigooglevoicehat_soundcar
}