mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 18:58:54 +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 {
|
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?
|
||||||
|
Loading…
Reference in New Issue
Block a user