mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 18:58:54 +01:00
audio/wav: Bug fix: header size was wrong
This commit is contained in:
parent
abd0958566
commit
6437bb28da
@ -132,7 +132,7 @@ func Decode(context *audio.Context, src audio.ReadSeekCloser) (*Stream, error) {
|
||||
|
||||
// Read chunks
|
||||
dataSize := int64(0)
|
||||
headerSize := int64(0)
|
||||
headerSize := int64(len(buf))
|
||||
sampleRateFrom := 0
|
||||
sampleRateTo := 0
|
||||
mono := false
|
||||
|
Loading…
Reference in New Issue
Block a user