change SampleRate to float64

This commit is contained in:
faiface 2017-07-03 18:55:27 +02:00
parent 019c0f83e1
commit a1542703d5
1 changed files with 1 additions and 1 deletions

View File

@ -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 {