Commit Graph

78 Commits

Author SHA1 Message Date
Hajime Hoshi
5cd66b6d6b examples/audio: Remove unused functions 2019-01-15 02:13:18 +09:00
Hajime Hoshi
5a612f60b6 examples/audio: Bug fix: Do not close after Run
Now Run can return immediately on GopherJS.

In general, graceful shutdown should not be expected since there
is no 'end' phase on some environments.

Fixes #784
2019-01-15 02:11:23 +09:00
Hajime Hoshi
348e50c5e7 examples/audio: Show the current volume (#730) 2019-01-05 01:43:22 +09:00
Hajime Hoshi
2923bec0dc examples: Use TPS instead of FPS to indicate how fast the app works 2018-09-30 02:27:33 +09:00
Hajime Hoshi
eb0f0e6ced examples: Adjust samplerate not to cause resampling
Fixes #687
2018-09-28 03:55:28 +09:00
Hajime Hoshi
3d1d5d4355 examples/audio: Use Ogg again 2018-09-03 00:49:06 +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
cff14cbbd4 example: Embed resources (#552) 2018-03-14 03:13:46 +09:00
Hajime Hoshi
658c7cf452 examples: Use inpututil (#415) 2018-02-04 23:27:54 +09:00
Hajime Hoshi
80e4ee0998 ebitenutil: Remove JoinStringsIntoPath; Always use slash for ebitenutil.OpenFile
#428
2018-01-29 23:38:11 +09:00
Hajime Hoshi
20e12a7ea9 examples/audio: Refactoring 2018-01-22 02:15:04 +09:00
Hajime Hoshi
5c55df87d7 audio: Deprecate Size() and add Length() (#466) 2018-01-09 01:25:38 +09:00
Hajime Hoshi
10080d83e6 ebitentutil: Add JoinStringsIntoFilePath
Fixes #428
2017-12-16 23:29:35 +09:00
Hajime Hoshi
65b44928ad examples: Remove callsites of audio.Context.Update 2017-12-01 02:20:37 +09:00
Hajime Hoshi
4a13267590 examples/audio: Use DrawRect 2017-08-18 12:11:59 +09:00
Hajime Hoshi
5adfababee examples/audio: Fix comments 2017-08-08 02:09:45 +09:00
Hajime Hoshi
6b8ab59d1f examples/audio: Add comments 2017-08-08 02:06:24 +09:00
Hajime Hoshi
f0d47312c4 ui: Add IsRunnableInBackground / SetRunnableInBackground (#272) 2017-08-03 03:21:51 +09:00
Hajime Hoshi
3cac19d1b8 examples/audio: Remove 'loading' message 2017-07-15 00:55:39 +09:00
Hajime Hoshi
8912563555 examples/audio: Bug fix: Wrong file name 2017-07-09 15:30:21 +09:00
Hajime Hoshi
5cf7b2491a audio: Bug fix: noise on audio 2017-07-09 04:09:21 +09:00
Hajime Hoshi
e596271002 examples/audio: Change the music 2017-07-01 17:04:37 +09:00
Hajime Hoshi
9130c490c2 audio: Remove convert.Seeker: mp3.Decoded is now io.Seeker 2017-06-25 23:33:23 +09:00
Hajime Hoshi
1f28c687cf audio: Bug fix: Seeking might block forever when another seeking is not done yet 2017-06-24 23:33:19 +09:00
Hajime Hoshi
09ce575774 audio/mp3: Add sample rate conversion 2017-06-18 22:51:11 +09:00
Hajime Hoshi
bf3f6c9ff6 audio/mp3: Start implementing 2017-06-12 23:32:42 +09:00
Hajime Hoshi
4b449bbc75 examples/audio: Change the music 2017-06-04 17:17:32 +09:00
Hajime Hoshi
7f39dc1e8b examples/audio: Improve the seeking message 2017-06-04 17:12:35 +09:00
Hajime Hoshi
e7478b794a audio: Change the spec: Now audio.Player's functions are always concurrent safe 2017-06-04 02:52:11 +09:00
Hajime Hoshi
035e4d321a examples/audio: Refactoring: Unify channel usages (#302) 2017-06-04 01:34:36 +09:00
Hajime Hoshi
579491afbd audio: Clarify concurrent safety 2017-06-04 01:03:01 +09:00
Hajime Hoshi
250afe97a5 examples/audio: Refactoring: Add Input struct (#302) 2017-06-04 00:01:48 +09:00
Hajime Hoshi
d340a50188 examples/audio: Refactoring: Reduce global variables (#302) 2017-06-03 23:37:00 +09:00
Hajime Hoshi
5ad5b2a8b8 examples/audio: Refactoring (#302) 2017-06-03 23:23:02 +09:00
Hajime Hoshi
91b5d985fe examples: Bug fix: updating audio context should sync with updating logic 2017-06-03 01:46:03 +09:00
Hajime Hoshi
7bb917d4f6 examples/audio: Remove unneeded error handlings 2017-06-03 01:40:22 +09:00
Hajime Hoshi
fb85bcf104 examples: Remove unneeded error handlings 2017-06-03 01:34:17 +09:00
Hajime Hoshi
98c48463d2 audio: NewPlayerFromBytes now never returns errors 2017-06-03 01:12:58 +09:00
Hajime Hoshi
9a4a7fe5ba examples: Remove unneeded error checks 2017-06-03 00:51:15 +09:00
Hajime Hoshi
a657cac229 examples: Call IsRunningSlowly (#354) 2017-05-16 10:35:58 +09:00
Hajime Hoshi
ef8da64680 examples: Remove unnecessary checks of returning values 2017-03-04 23:24:54 +09:00
Hajime Hoshi
71cecea9c9 audio: Auto resampling (#301) 2017-01-15 17:49:57 +09:00
Hajime Hoshi
fec530ebbc examples/audio: Async seeking 2016-11-29 03:38:08 +09:00
Hajime Hoshi
b3bd0d8596 examples/audio: Change the Ogg file (#270) 2016-11-26 03:48: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
0ed95031c5 example/audio: More punches 2016-06-27 03:11:10 +09:00