hajimehoshi / ebiten

Ebitengine - A dead simple 2D game engine for Go
https://ebitengine.org
Apache License 2.0
10.74k stars 649 forks source link

audio: rare crash during playing a game on Windows #2548

Open hajimehoshi opened 1 year ago

hajimehoshi commented 1 year ago

Ebitengine Version

v2.5.0-alpha.11

Operating System

Go Version (go version)

go 1.19?

What steps will reproduce the problem?

Not sure. This was reported from an actual Steam game. From the log, this crash happened during playing a game.

What is the expected result?

No crash

What happens instead?

oto: IAudioRenderClient::GetBuffer failed: AUDCLNT_ERR(2290679814)

Anything else you feel useful to add?

This was reported from @wasedaigo's game

hajimehoshi commented 1 year ago

AUDCLNT_E_BUFFER_TOO_LARGE?