From 4b4b3cb2cb8cdc14ef0b6f63995bc647ee3b9140 Mon Sep 17 00:00:00 2001 From: Trek H Date: Sat, 16 Nov 2019 23:47:05 +1030 Subject: [PATCH] alsa: increase read timeout --- device/alsa/alsa.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/device/alsa/alsa.go b/device/alsa/alsa.go index 60d6e476..d156ef74 100644 --- a/device/alsa/alsa.go +++ b/device/alsa/alsa.go @@ -47,7 +47,7 @@ import ( const ( pkg = "alsa: " rbTimeout = 100 * time.Millisecond - rbNextTimeout = 100 * time.Millisecond + rbNextTimeout = 2000 * time.Millisecond rbLen = 200 defaultSampleRate = 48000 )