Commit Graph

25 Commits

Author SHA1 Message Date
Hajime Hoshi
b6a02ddc94 audio: Refactoring: Unify loop 2016-04-04 23:42:44 +09:00
Hajime Hoshi
3d8de3254c audio: Reduce panic 2016-04-03 16:13:00 +09:00
Hajime Hoshi
8dc3c2fb70 audio: Refactoring: Remove player.start 2016-04-03 03:15:57 +09:00
Hajime Hoshi
54f0e30fe6 audio: Remove returning value from startPlaying 2016-04-03 02:43:39 +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
3cbcda1bb0 audio: Use runtime.Gosched() instead of time.Sleep(1) 2016-03-10 03:27:51 +09:00
Hajime Hoshi
66052b5b5d audio: an inner player should be in the context 2016-03-08 02:30:38 +09:00
Hajime Hoshi
76386213bd audio: Refactoring 2016-03-05 01:52:28 +09:00
Hajime Hoshi
9c097c73f5 audio: Refactoring: Remove newPlayerFromCache 2016-03-05 00:57:35 +09:00
Hajime Hoshi
3859bc7421 audio: Mixing by Go 2016-03-03 11:57:25 +09:00
Hajime Hoshi
22f16f0c23 audio: Add comment 2016-02-15 10:41:02 +09:00
Hajime Hoshi
72e0080f65 audio: Refactoring: Remove alSourceCache and add playerCache instead 2016-02-13 21:21:42 +09:00
Hajime Hoshi
16412aab30 audio: Bug fix: Reuse buffers properly 2016-02-13 20:43:27 +09:00
Hajime Hoshi
0f81a421b8 audio: Bug fix: sources were not reused properly 2016-02-13 06:44:49 +09:00
Hajime Hoshi
3638ac6ad8 audio: Bug fix: total num of buffers should be 8 for each source 2016-02-13 00:45:48 +09:00
Hajime Hoshi
49751eb954 audio: Bug fix: unqueue remaining buffers properly 2016-02-12 23:49:30 +09:00
Hajime Hoshi
68b84a90b6 audio: Bug fix: alGenBuffer accepts only positive number 2016-02-12 21:43:00 +09:00
Hajime Hoshi
b2724e8694 audio: Reuse al.Source objects (crash still happens on piano) 2016-02-12 21:39:48 +09:00
Hajime Hoshi
f0d7a811e1 audio: Enable to play inifinite stream 2016-02-12 16:35:09 +09:00
Hajime Hoshi
6d3598c057 audio: Add Close method 2016-02-11 19:55:59 +09:00
Hajime Hoshi
1fec0d8203 audio: Refactoring 2016-02-11 18:43:11 +09:00
Hajime Hoshi
1e4f486174 audio: Move files from internal/audio to exp/audio 2016-02-11 17:22:02 +09:00