From a1542703d57a55ef29dccff2e12b237a87d9c813 Mon Sep 17 00:00:00 2001 From: faiface Date: Mon, 3 Jul 2017 18:55:27 +0200 Subject: [PATCH] change SampleRate to float64 --- audio/interface.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audio/interface.go b/audio/interface.go index adbc6a3..395548c 100644 --- a/audio/interface.go +++ b/audio/interface.go @@ -4,7 +4,7 @@ package audio // // This value should be set at most once before using audio package. It is safe to assume that this // value does not change during runtime. -var SampleRate = 48000 +var SampleRate float64 = 48000 // Streamer is able to stream a finite or infinite sequence of audio samples. type Streamer interface {