Commit Graph

897 Commits

Author SHA1 Message Date
Hajime Hoshi
5ec3180919 Delete JS and Map files 2016-02-13 23:07:32 +09:00
Hajime Hoshi
2d9fcf88ae Bug fix: example -> examples in doc 2016-02-13 23:02:54 +09:00
Hajime Hoshi
707c5d9657 New example: Sine Wave 2016-02-13 22:37:55 +09:00
Hajime Hoshi
5dbdb23b46 audio: Inifite stream in JS 2016-02-13 22:36:08 +09:00
Hajime Hoshi
797bd04b1f audio: Bug fix: newPlayer should return error in JS 2016-02-13 21:39:45 +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
60371deb3b Update .travis.yml 2016-02-11 19:57:13 +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
Hajime Hoshi
84d50f7714 audio: Remove Init 2016-02-11 17:16:34 +09:00
Hajime Hoshi
8e43d1047b audio: Use io.ReadSeeker instead of ReadSeekCloser 2016-02-11 17:07:28 +09:00
Hajime Hoshi
bca9b0d3f1 audio: Remove audioEnabled 2016-02-11 04:02:18 +09:00
Hajime Hoshi
5687d9d0ef go generate 2016-02-11 03:53:36 +09:00
Hajime Hoshi
7141114ab2 Add comment 2016-02-11 03:15:13 +09:00
Hajime Hoshi
0f6c18fb1b Rename example -> examples 2016-02-11 03:07:14 +09:00
Hajime Hoshi
10650d1c6e audio: Introduce audio.Player 2016-02-11 02:18:39 +09:00
Hajime Hoshi
d52118639d audio: Use IO as source 2016-02-11 02:09:06 +09:00
Hajime Hoshi
c6a431c9ab audio: add sampleRate arg to Queue: implementation turned to be simplified 2016-02-10 02:40:07 +09:00
Hajime Hoshi
e8895d8f35 audio: Use bigger buffer to reduce noise (#149) 2016-02-10 01:04:43 +09:00
Hajime Hoshi
14d28ea122 audio: Use AudioBuffer's duration 2016-02-10 01:04:15 +09:00
Hajime Hoshi
719e5ba6d2 audio: Remove audio.Tick 2016-02-10 00:09:23 +09:00
Hajime Hoshi
c5de32297f audio: Bug fix: isPlaying must consider two buffers in JS 2016-02-09 23:49:33 +09:00
Hajime Hoshi
2ba25b1a14 auido: Remove some APIs 2016-02-09 23:04:00 +09:00
Hajime Hoshi
70fe6d8169 audio: Remove channel argument from audio.Queue 2016-02-09 22:55:18 +09:00
Hajime Hoshi
34691dabbf audio: Reimplement audio for JS with AudioBuffer (#146) 2016-02-09 22:35:55 +09:00
Hajime Hoshi
21e2b1ed7b audio: nit 2016-02-09 03:28:31 +09:00
Hajime Hoshi
1c10d46288 audio: Add comment about #146 2016-02-09 03:27:09 +09:00
Hajime Hoshi
8c23c8ba34 audio: Refactoring 2016-02-08 12:27:09 +09:00
Hajime Hoshi
2097a5d822 audio: Use a new channel: We don't guarantee the exact condition when IsPlaying returns true/false 2016-02-08 12:26:48 +09:00
Hajime Hoshi
45329ab32f audio: Bug fix: always fill zero values (#147) 2016-02-08 04:27:21 +09:00
Hajime Hoshi
4b4802419b audio: Remove audio.Tick 2016-02-08 03:26:58 +09:00
Hajime Hoshi
d1f46a92df audio: Refactoring 2016-02-08 01:52:36 +09:00
Hajime Hoshi
c94f94cc17 example: Fix URL guide 2016-02-08 01:52:25 +09:00
Hajime Hoshi
debbc19c82 audio: Remove start func 2016-02-08 01:40:27 +09:00
Hajime Hoshi
ddd6e2b732 audio: Fix comment 2016-02-08 00:51:25 +09:00
Hajime Hoshi
60c4990555 audio: Change audio.SampleRate to be a const 2016-02-08 00:48:43 +09:00
Hajime Hoshi
b63911e6f7 audio: Remove audio.Play 2016-02-08 00:45:02 +09:00
Hajime Hoshi
0b62a9af74 audio: Use golang.org/x/mobile/exp/audio/al 2016-02-07 23:37:16 +09:00
Hajime Hoshi
9ec37fbf19 doc: Update changelog 2016-02-07 17:48:52 +09:00
Hajime Hoshi
2f4a46d1f5 Go back 2014: License year should be creation year 2016-02-07 17:36:32 +09:00
Hajime Hoshi
a83286accb audio: Move files from exp/audio/inner to internal/audio 2016-02-07 16:03:41 +09:00
Hajime Hoshi
b33d5c5393 doc: Update license year in a new file 2016-02-07 06:09:19 +09:00