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 {
return nil, err
}
s := &Stream{
sampleRate: context.SampleRate(),
}
s := &Stream{}
ch := make(chan struct{})
// TODO: 1 is a correct second argument?