Commit Graph

1214 Commits

Author SHA1 Message Date
Hajime Hoshi
1b86bb9889 examples/font: Add an English sentence 2016-03-21 23:25:17 +09:00
Hajime Hoshi
deabfa5e15 graphics: Clear the default render target just after initializing 2016-03-21 23:24:30 +09:00
Hajime Hoshi
dc933b88f8 Add examples/font (#77) 2016-03-21 21:09:31 +09:00
Hajime Hoshi
8086afb6b5 examples/audio: Toggle play/pause 2016-03-21 01:38:15 +09:00
Hajime Hoshi
82788c45b0 audio/vorbis: Enable to decode parallelly in JavaScript 2016-03-20 04:33:59 +09:00
Hajime Hoshi
3acb3e08ce audio/vorbis: Bug fix: Set sample rate in JavaScript 2016-03-20 04:12:02 +09:00
Hajime Hoshi
11c9ab3fbf examples/audio: Refactoring: Introduce Player struct 2016-03-20 04:02:51 +09:00
Hajime Hoshi
4a4621a126 examples/audio: Implement seeking 2016-03-20 01:40:10 +09:00
Hajime Hoshi
0fb5dffbf5 examples/audio: Add the player bar 2016-03-19 23:45:36 +09:00
Hajime Hoshi
eb0d650612 tmp 2016-03-18 02:42:47 +09:00
Hajime Hoshi
79e1d1b1f7 audio/vorbis: Add Stream interface 2016-03-18 02:42:47 +09:00
Hajime Hoshi
ff2882799c graphics: Add uv (optimization) 2016-03-18 02:41:00 +09:00
Hajime Hoshi
15d0ec3775 graphics: Reduce int16 converting 2016-03-18 01:52:46 +09:00
Hajime Hoshi
b02df7b542 graphics: Bug fix #186 by clearing non-black-or-white color 2016-03-17 03:31:12 +09:00
Hajime Hoshi
6c78837d06 test: Split util_test into readfile_test and readfile_js_test 2016-03-17 00:11:40 +09:00
Hajime Hoshi
c100ff7989 audio: Refactoring 2016-03-16 03:02:54 +09:00
Hajime Hoshi
3bf9334a80 audio: Bug fix: a buffer size passed to OpenAL must be a multiple of 4 (#187) 2016-03-16 02:58:33 +09:00
Hajime Hoshi
8f15978c83 ui: Bug fix: Quit soon after the window is closed (#185) 2016-03-15 00:32:06 +09:00
Hajime Hoshi
1bb8a8b4bf audio: time.Sleep for Windows 2016-03-14 01:13:11 +09:00
Hajime Hoshi
d397842ada audio: More sleeping (#183) 2016-03-14 01:03:52 +09:00
Hajime Hoshi
681b8ef933 audio: time.Sleep to avoid busy loop 2016-03-14 00:07:31 +09:00
Hajime Hoshi
f07702746c audio: Reduce 'make' for performance (#183) 2016-03-13 23:13:50 +09:00
Hajime Hoshi
8b8eb855a7 audio: Avoid busy loops (#183) 2016-03-13 22:39:03 +09:00
Hajime Hoshi
b1f856a0e0 Add FPS const 2016-03-13 04:57:31 +09:00
Hajime Hoshi
305016f636 audio: Reduce magic numbers 2016-03-13 03:59:57 +09:00
Hajime Hoshi
8c065a28e1 audio/vorbis: Hide Stream struct 2016-03-13 03:15:19 +09:00
Hajime Hoshi
bc49108c40 audio: Move VorbisStream to a new package 2016-03-13 03:00:05 +09:00
Hajime Hoshi
71312ba26f audio: Add AudioContext.Update (#177) 2016-03-12 23:40:11 +09:00
Hajime Hoshi
77b62615b2 audio: Adjust buffer size to reduce noise 2016-03-11 13:03:45 +09:00
Hajime Hoshi
f2173f8f75 audio: Bug fix: Adjust stream position (#180) 2016-03-11 12:01:48 +09:00
Hajime Hoshi
bcd7bfc74e audio: Bug fix: mixedPlayersStream.Read must return 0 when nothing plays (#180) 2016-03-11 04:21:27 +09:00
Hajime Hoshi
b1568e19cb audio: Bug fix: Remove noise by calling 'stop' (#149) 2016-03-11 02:27:34 +09:00
Hajime Hoshi
1313644611 audio: Refactoring: Remove unneeded for loop 2016-03-11 02:10:07 +09:00
Hajime Hoshi
7aaa599f6b audio: Change position from float64 to int64 2016-03-11 01:51:13 +09:00
Hajime Hoshi
76a2dbad26 audio: Fix compile error on Windows 2016-03-10 03:32:52 +09:00
Hajime Hoshi
3cbcda1bb0 audio: Use runtime.Gosched() instead of time.Sleep(1) 2016-03-10 03:27:51 +09:00
Hajime Hoshi
83579a465e examples/audio: Fix title 2016-03-10 03:02:55 +09:00
Hajime Hoshi
86aeda2c9d examples/audio: Add 'Now Loading' phase 2016-03-09 02:45:56 +09:00
Hajime Hoshi
252fee56d3 audio: Rename OggStream -> VorbisStream 2016-03-09 01:36:19 +09:00
Hajime Hoshi
b964df4f0f Add examples/audio and OggStream struct 2016-03-08 04:36:06 +09:00
Hajime Hoshi
59c2fcd961 audio: Remove print 2016-03-08 02:47:04 +09:00
Hajime Hoshi
66052b5b5d audio: an inner player should be in the context 2016-03-08 02:30:38 +09:00
Hajime Hoshi
13461aa455 ebitenutil: Add OpenFile 2016-03-07 01:42:01 +09:00
Hajime Hoshi
f59daf757e examples/audio: Rename to pcm 2016-03-06 22:05:56 +09:00
Hajime Hoshi
d632a2d7a4 audio: Refactoring 2016-03-06 22:03:11 +09:00
Hajime Hoshi
5ba5a1fb90 audio: Add player methods 2016-03-06 18:55:20 +09:00
Hajime Hoshi
38e36dedc1 audio: Remove padding 0 values 2016-03-06 18:25:58 +09:00
Hajime Hoshi
c090805021 audio: Make sure to fill 4096 bytes 2016-03-06 03:48:47 +09:00
Hajime Hoshi
e69b44e327 audio: Refactoring 2016-03-05 23:01:13 +09:00
Hajime Hoshi
8631fbc027 audio: mixedPlayingStream returns empty 0s again 2016-03-05 22:58:54 +09:00