mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-16 09:31:20 -04:00
ahh!!
This commit is contained in:
+1
-1
@@ -256,7 +256,7 @@ func clampFloat(value, min, max float64) float64 {
|
||||
|
||||
func validateAudioConfig(cfg *AudioConfig) {
|
||||
if cfg.CaptureEnabled && cfg.CaptureDevice == "" {
|
||||
cfg.CaptureDevice = "rovermic"
|
||||
cfg.CaptureDevice = "hw:0,0"
|
||||
}
|
||||
if cfg.SampleRate <= 0 {
|
||||
cfg.SampleRate = 48000
|
||||
|
||||
Reference in New Issue
Block a user