mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
audio/voribs: Bug fix: sampleRate member doesn't exist
This commit is contained in:
parent
e43493fc4e
commit
992832afe1
@ -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?
|
||||
|
Loading…
Reference in New Issue
Block a user