Hajime Hoshi
Hajime Hoshi
1. Disable all the audio device (see #2316) 2. Start the app 3. Enable at least one audio device Audio should is played but not.
https://developers.google.com/web/updates/2018/08/offscreen-canvas https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas If Ebiten can work on a worker, multiple Ebiten instances can work in theory.
``` --- FAIL: TestImageOptionsNegativeBoundsWritePixels (0.01s) panic: directx: ID3D12Device::CreateCommittedResource failed: HRESULT(2147942414) [recovered] panic: directx: ID3D12Device::CreateCommittedResource failed: HRESULT(2147942414) goroutine 118 [running]: testing.tRunner.func1.2({0x4e2f80, 0x1188a430}) C:/Program Files/Go/src/testing/testing.go:1396 +0x2ab testing.tRunner.func1() C:/Program Files/Go/src/testing/testing.go:1399 +0x41f panic({0x4e2f80, 0x1188a430})...
``` $ GOOS=windows go run -tags=example ./examples/audio 2022/09/10 23:23:32 oto: Queueing the header failed: oto: waveOutWrite failed: MMSYSERR_NODRIVER ```
This would be helpful to determine whether to use an unmanaged image. Suggested by @noppikinatta
Now the bot test takes 30-60 minutes due to the restriction of prallel executions (AFAFIK). My paying for GitHub didn't solve the issue. So, probably using an external CI might...
`cosTable` takes 65536 float64s = 512KB. This is not neeeded when you don't use resampling. Let's use sync.Once to initialize this lazily.