Commit Graph

335 Commits

Author SHA1 Message Date
Hajime Hoshi
f17be388b2 update Oto to v2.4.0-alpha.11 2023-01-15 02:08:47 +09:00
Hajime Hoshi
a06c15fb66 update Oto (bug fix: possible memory leak on Windows) 2023-01-12 13:20:09 +09:00
Hajime Hoshi
8017f2b3a8 update Oto (bug fix: crash when a device is switched during suspension on Windows) 2023-01-12 04:41:31 +09:00
Hajime Hoshi
4cc9d4d0db update Oto (avoid crashing w/ a PS5 controller)
A game might crash when a PS5 controller is connected due to switching
audio device. The latest Oto fix at least avoids this crash.

This crash is confirmed only with a Steam game so far.

Updates #2535
2023-01-12 03:58:27 +09:00
Hajime Hoshi
ff4e382902 update Oto (more precise buffer-size calculations) 2023-01-10 01:00:11 +09:00
Hajime Hoshi
d3553bf698 update Oto (adjust the buffer size to 50[ms] for Windows)
Updates #2534
2023-01-09 22:15:08 +09:00
Hajime Hoshi
80bbdd3ca3 update Oto (fix for buffer size calculation on macOS/iOS) 2023-01-09 21:54:45 +09:00
Hajime Hoshi
0288a552e1 update Oto 2023-01-09 20:37:11 +09:00
Hajime Hoshi
8ef52841bc audio: use NewContextWithOptions
Upates #2534
2023-01-09 19:15:31 +09:00
Hajime Hoshi
217584ceb3 bug fix: unexpected 'replace' in go.mod 2023-01-09 02:16:30 +09:00
Hajime Hoshi
08fba564f8 internal/ui: refactoring: define global sel_ objects 2023-01-09 01:41:13 +09:00
Hajime Hoshi
ed8efa54e3 update Oto and purego 2023-01-07 18:58:04 +09:00
Hajime Hoshi
41700fe6bb update dependencies 2023-01-05 14:00:55 +09:00
Hajime Hoshi
aa00293fea update Oto to v2.4.0-alpha.10 2023-01-03 02:50:36 +09:00
Hajime Hoshi
cd66fecd1b update Oto (update the Oboe version to v1.7.0) 2022-12-31 01:07:12 +09:00
Hajime Hoshi
7736161d8d update Oto (bug fix: strange sounds when volume is 0) 2022-12-29 00:02:47 +09:00
Hajime Hoshi
7af300a468 update Oto to v2.4.0-alpha.9 2022-12-24 14:33:12 +09:00
Hajime Hoshi
1b4f68d775 internal/graphicsdriver/directx: call D3DCompile in parallel
D3DCompile can be very slow on some old machines.

See also https://bugs.chromium.org/p/angleproject/issues/detail?id=422
2022-12-24 01:22:33 +09:00
Hajime Hoshi
8dc582aca4 update Oto (reverting the fix for pausing/resuming)
Updates #2074
2022-12-21 12:05:46 +09:00
Hajime Hoshi
8ccfa7bec1 update Oto (to reduce clicking noises on pausing/resuming)
Updates #2074
2022-12-21 02:25:14 +09:00
Hajime Hoshi
f989f8a9fa update Oto (reduce noises when changing volumes) 2022-12-20 11:59:30 +09:00
Hajime Hoshi
e1804eca64 update Oto 2022-12-18 16:12:44 +09:00
Hajime Hoshi
ff25728dcf update Oto 2022-12-17 15:03:21 +09:00
Hajime Hoshi
e5a8f99a67 update Oto 2022-12-17 14:21:50 +09:00
Hajime Hoshi
bb39f3a797 update bitmapfont to v2.2.3 2022-12-17 00:20:14 +09:00
Hajime Hoshi
d79f1a3d08 update Oto to v2.4.0-alpha.8 2022-12-16 03:05:25 +09:00
Hajime Hoshi
9911b760c5 update Oto 2022-12-13 13:08:47 +09:00
Hajime Hoshi
1dd7c1cce3 update dependencies 2022-12-13 01:44:04 +09:00
Hajime Hoshi
50c1620e35 update Oto to v2.4.0-alpha.7 2022-11-21 02:59:49 +09:00
Hajime Hoshi
6121856836 update dependencies 2022-11-19 13:46:41 +09:00
Hajime Hoshi
b2b152e60f update Oto 2022-11-18 13:05:46 +09:00
Hajime Hoshi
9f97befe71 update Oto to v2.4.0-alpha.6 2022-11-12 00:55:34 +09:00
Hajime Hoshi
10d3e245e6 update dependencies 2022-11-11 18:02:56 +09:00
Hajime Hoshi
14041c61c0 update Oto 2022-11-10 00:17:47 +09:00
Hajime Hoshi
7c85d88f9e update Oto to fix the macOS audio delay issue
This change doesn't improve the delay itself, but at least suppresses
the hang of an application by the audio initialization on macOS.

Closes #2384
2022-11-09 23:56:03 +09:00
Hajime Hoshi
17be6eecd1 update Oto
Updates #2440
2022-11-07 13:33:49 +09:00
Hajime Hoshi
92d5f48d24 update go-mp3 to v0.3.4 2022-11-06 22:24:29 +09:00
Hajime Hoshi
a65799fbcf update Oto
Updates #2160
2022-11-06 18:18:45 +09:00
Hajime Hoshi
e9754c7bc6 update Oto
Updates #2440
Updates hajimehoshi/oto#195
2022-11-05 23:16:14 +09:00
Hajime Hoshi
6b38f5db3a bug fix: revert Oto temporarily
Closes #2440
hajimehoshi/oto#195
2022-11-05 18:47:40 +09:00
Hajime Hoshi
40c7f2869b update Oto to v2.4.0-alpha.5 2022-11-02 21:47:25 +09:00
Hajime Hoshi
b966190b34 update Oto 2022-10-31 13:52:45 +09:00
Hajime Hoshi
f89f99a2bc update Oto 2022-10-30 01:11:58 +09:00
Hajime Hoshi
059dddf7f7 update dependencies
This is a reland of b752a6ca28.
2022-10-30 00:49:02 +09:00
Hajime Hoshi
606ff77d89 all: drop Go 1.16 and Go 1.17 supports
Updates #2421
2022-10-29 23:22:10 +09:00
Hajime Hoshi
6b8aeda55f update bitmapfont to v2.2.2
Closes #2411
2022-10-29 22:31:20 +09:00
Hajime Hoshi
26b5bb4b2c Revert "update dependencies"
This reverts commit b752a6ca28.

Reason: compile error with Go 1.16 for Windows:

```
Error: ../../../go/pkg/mod/golang.org/x/sys@v0.1.0/windows/syscall.go:84:16: undefined: unsafe.Slice
Error: ../../../go/pkg/mod/golang.org/x/sys@v0.1.0/windows/syscall_windows.go:141:29: undefined: unsafe.Slice
```
2022-10-29 21:52:05 +09:00
Hajime Hoshi
b752a6ca28 update dependencies
This is a reland of these commits:

 * fd1788710c
 * 5565893f2f

Now Ebitengine doesn't use golang.org/x/sys/unix, Go 1.16 should be
able to compile Ebitengine.
2022-10-29 21:45:50 +09:00
Hajime Hoshi
90e2250d17 update GLFW 2022-10-29 21:27:43 +09:00
Hajime Hoshi
6eb599ad00 Revert "update dependencies"
This reverts these commits
* 5565893f2f
* fd1788710c

Reason: golang.org/x/sys uses unsafe.Slice:

```
Error: ../../../go/pkg/mod/golang.org/x/sys@v0.1.0/unix/syscall.go:83:16: undefined: unsafe.Slice
Error: ../../../go/pkg/mod/golang.org/x/sys@v0.1.0/unix/syscall_linux.go:2255:9: undefined: unsafe.Slice
Error: ../../../go/pkg/mod/golang.org/x/sys@v0.1.0/unix/syscall_unix.go:118:7: undefined: unsafe.Slice
Error: ../../../go/pkg/mod/golang.org/x/sys@v0.1.0/unix/sysvshm_unix.go:33:7: undefined: unsafe.Slice
```
2022-10-29 19:23:25 +09:00