audio/voribs: Bug fix: sampleRate member doesn't exist

This commit is contained in:
Hajime Hoshi 2016-03-29 23:50:17 +09:00
parent e43493fc4e
commit 992832afe1

View File

@ -34,9 +34,7 @@ func Decode(context *audio.Context, src io.Reader) (*Stream, error) {
if err != nil { if err != nil {
return nil, err return nil, err
} }
s := &Stream{ s := &Stream{}
sampleRate: context.SampleRate(),
}
ch := make(chan struct{}) ch := make(chan struct{})
// TODO: 1 is a correct second argument? // TODO: 1 is a correct second argument?