Commit Graph

44 Commits

Author SHA1 Message Date
Hajime Hoshi
a12e32faf9 examples/pcm: use NewPlayerF32FromBytes
Updates #2160
2024-07-22 23:29:50 +09:00
Artem Yadelskyi
86e694941f
examples: remove example build tag (#2433)
Closes #1462
2022-11-03 20:24:09 +09:00
Artem Yadelskyi
5b53cef59e
all: remove old // +build comments (#2431)
Closes #2325
2022-11-03 12:55:14 +09:00
Hajime Hoshi
f7c44f086f replace Ebiten with Ebitengine in comments 2022-08-29 11:17:17 +09:00
Hajime Hoshi
0f52381580 ebiten: rename TPS functions
* SetMaxTPS() -> SetTPS()
* MaxTPS() -> TPS()
* CurrentTPS() -> ActualTPS()
* CurrentFPS() -> ActualFPS()

Closes #2071
2022-07-17 11:30:12 +09:00
Hajime Hoshi
f00bdc99f7 examples: Change the sample rate to 48000
Closes #1649
2021-09-23 01:36:00 +09:00
Hajime Hoshi
92bc5c1908 audio: Add (*Context).NewPlayer and (*Context).NewPlayerFromBytes
Closes #1708
2021-07-22 16:41:04 +09:00
Hajime Hoshi
1dc8002689 examples: Reduce global variables
Closes #1669
2021-07-22 01:38:55 +09:00
Hajime Hoshi
a615be69c7 examples: Add //go:build 2021-06-24 21:49:37 +09:00
Hajime Hoshi
19d6f8d20a examples: Update resolutions
Fixes #1408
2020-10-31 02:06:45 +09:00
Hajime Hoshi
47065f5f2c Remove supporting jsgo
Updates #1129
2020-10-07 00:46:07 +09:00
Hajime Hoshi
944a19c6f7 audio: Remove the error returning value from NewContext
Updates #1380
2020-10-05 02:25:13 +09:00
Hajime Hoshi
29b4087ebf audio: Remove the error returning value from NewPlayerFromBytes
Updates #1380
2020-10-05 02:18:27 +09:00
Hajime Hoshi
8f00c8fbf5 ebiten: Remove the argument from Update
Fixes #1260
2020-10-04 19:33:10 +09:00
Hajime Hoshi
bf515bb594 Update version to v2.0.0-alpha 2020-10-04 04:30:40 +09:00
Hajime Hoshi
0bbf0d5291 examples: Use RunGame
Updates #1111
2020-05-23 23:36:53 +09:00
Hajime Hoshi
9142a077cf examples/pcm: Add intervals between notes 2018-12-17 23:25:52 +09:00
Hajime Hoshi
732b036343 Revert "examples/pcm: Bug fix: audio.Player refs should be held not to be GCed"
This reverts commit 52f0bd7e21.
2018-12-17 02:34:10 +09:00
Hajime Hoshi
52f0bd7e21 examples/pcm: Bug fix: audio.Player refs should be held not to be GCed
Now audio.Player can be GCed after #746 was fixed.
2018-12-17 02:06:55 +09:00
Hajime Hoshi
d14202ef7b audio: Add Context.IsReady
Fixes #717
2018-10-16 00:02:19 +09:00
Hajime Hoshi
e99f2f9f69 ui: Rename TPS -> MaxTPS 2018-07-17 22:41:27 +09:00
Hajime Hoshi
16c6ab4d07 ui: Introduce DefaultTPS and deprecate FPS 2018-07-17 02:07:03 +09:00
Hajime Hoshi
3cd9dfd800 Rename IsRunningSlowly to IsDrawingSkipped
Fixes #643
2018-07-10 22:31:26 +09:00
Hajime Hoshi
eecb04eaea examples: Add jsgo build tag experimentally 2018-03-15 01:26:21 +09:00
Hajime Hoshi
c4faf5b12c examples/pcm: Refactoring 2018-01-30 01:13:39 +09:00
Hajime Hoshi
65b44928ad examples: Remove callsites of audio.Context.Update 2017-12-01 02:20:37 +09:00
Hajime Hoshi
fb85bcf104 examples: Remove unneeded error handlings 2017-06-03 01:34:17 +09:00
Hajime Hoshi
b1c0c618b6 examples/pcm: Improve debug messages 2017-03-28 00:56:14 +09:00
Hajime Hoshi
ef8da64680 examples: Remove unnecessary checks of returning values 2017-03-04 23:24:54 +09:00
Hajime Hoshi
7410a9d814 Add example tags again
This reverts commit 7a1d63fb02.
2016-08-26 00:40:39 +09:00
Hajime Hoshi
7a1d63fb02 Revert example tags 2016-08-17 23:33:31 +09:00
Hajime Hoshi
12732d3302 examples: Add example tag 2016-08-17 22:52:51 +09:00
Hajime Hoshi
8f1b7a2d0c examples: Add error checks 2016-08-03 10:57:50 +09:00
Hajime Hoshi
b02d89cdc3 audio: Add NewPlayerFromBytes (#231) 2016-06-27 02:23:08 +09:00
Hajime Hoshi
fdfc44281f gofmt -s 2016-05-14 00:25:11 +09:00
Hajime Hoshi
62243f97b5 examples: audioContext.Update should be called at last 2016-04-22 01:11:28 +09:00
Hajime Hoshi
9a18ffe563 audio: Change NewPlayer to be an independent function 2016-04-19 23:43:54 +09:00
Hajime Hoshi
b0178e8425 audio: Move exp/audio -> audio (#206) 2016-04-19 01:26:37 +09:00
Hajime Hoshi
f222885d97 audio: Context.Update now returns error (#197) 2016-04-05 00:09:00 +09:00
Hajime Hoshi
1ec786f83a audio: audio.NewContext now returns error 2016-04-03 02:59:44 +09:00
Hajime Hoshi
e43493fc4e examples/pcm: Bug fix: build error 2016-03-29 03:37:28 +09:00
Hajime Hoshi
b1f856a0e0 Add FPS const 2016-03-13 04:57:31 +09:00
Hajime Hoshi
71312ba26f audio: Add AudioContext.Update (#177) 2016-03-12 23:40:11 +09:00
Hajime Hoshi
f59daf757e examples/audio: Rename to pcm 2016-03-06 22:05:56 +09:00