mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08: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
|
// Read chunks
|
||||||
dataSize := int64(0)
|
dataSize := int64(0)
|
||||||
headerSize := int64(0)
|
headerSize := int64(len(buf))
|
||||||
sampleRateFrom := 0
|
sampleRateFrom := 0
|
||||||
sampleRateTo := 0
|
sampleRateTo := 0
|
||||||
mono := false
|
mono := false
|
||||||
|
Loading…
Reference in New Issue
Block a user