Hajime Hoshi
|
3c29fbdce2
|
jsutil: Refactoring: SliceToTypedArray -> CopySliceToJS
This unifieslocations of the temporary buffer.
|
2019-10-30 00:35:48 +09:00 |
|
Hajime Hoshi
|
f50875ff4b
|
Change the build tag strategy: GopehrJS or not GopherJS
|
2019-10-27 23:33:22 +09:00 |
|
Hajime Hoshi
|
c52e043006
|
Add jsutil package for new API of Go 1.13
Audio part still cannot be compiled due to Oto.
Fixes #878
|
2019-06-15 00:49:57 +09:00 |
|
Hajime Hoshi
|
13ce1c28b4
|
uidriver/mobile: Use timer.NewTimer instead of time.After
timer.NewTimer is much better than time.After in terms of memory
usage. See also https://golang.org/pkg/time/#After
|
2019-06-01 01:30:08 +09:00 |
|
Hajime Hoshi
|
10fb5e33be
|
Replace GopherWasm with syscall/js
Fixes #857
|
2019-05-01 17:28:00 +09:00 |
|
Hajime Hoshi
|
df2604c221
|
audio: Comment about ownership
This behavior might be changed at version 2 though (#837).
|
2019-04-01 01:32:14 +09:00 |
|
Hajime Hoshi
|
cba109ebee
|
audio/mp3: Bug fix: Accept non-io.Closer at Resampling
|
2019-04-01 00:04:57 +09:00 |
|
Hajime Hoshi
|
49c0b64b60
|
audio/mp3: Bug fix: Close source when needed
|
2019-03-31 22:58:22 +09:00 |
|
Hajime Hoshi
|
aa042980ee
|
audio/mp3: Remove Close calls
Close is removed at 14af46a99b
|
2019-03-31 22:42:34 +09:00 |
|
Hajime Hoshi
|
c0ccc16767
|
audio/mp3: Use TypedArray (#642)
|
2018-07-07 17:19:47 +09:00 |
|
Hajime Hoshi
|
6e51d31524
|
Use new GopherWasm API (#634)
I plan to merge this right after
https://github.com/gopherjs/gopherwasm/pull/3 is merged.
|
2018-06-30 00:02:15 +09:00 |
|
Hajime Hoshi
|
a9359e4ef8
|
Use GopherJS/GopherWasm
|
2018-06-24 16:10:24 +09:00 |
|
Hajime Hoshi
|
a8c27b4eb1
|
audio/mp3: Bug fix: float32ArrayToSlice didn't work for Wasm
|
2018-06-24 04:33:05 +09:00 |
|
Hajime Hoshi
|
baee2ba4c9
|
audio/mp3: Bug fix: ArrayBuffer in the backend can be different from Uint8Array range
|
2018-06-24 02:31:34 +09:00 |
|
Hajime Hoshi
|
4c70ad382d
|
audio/mp3: Bug fix: Avoid using a detached ArrayBuffer
|
2018-06-24 02:12:00 +09:00 |
|
Hajime Hoshi
|
5aefa837db
|
audio/mp3: Use gopherwasm
|
2018-06-24 01:42:16 +09:00 |
|
Hajime Hoshi
|
88cfd219e7
|
mp3: Set finalizer for the stream
|
2018-03-27 10:58:13 +09:00 |
|
Hajime Hoshi
|
5c55df87d7
|
audio: Deprecate Size() and add Length() (#466)
|
2018-01-09 01:25:38 +09:00 |
|
Hajime Hoshi
|
a98b03f738
|
audio/mp3: Flexible timeout
|
2017-12-27 19:18:02 +09:00 |
|
Hajime Hoshi
|
50a6158513
|
audio/mp3: Adjust timeout
|
2017-12-26 14:55:01 +09:00 |
|
Hajime Hoshi
|
3855bcc5a4
|
audio/mp3: Change the timeout for decoding (for Firefox)
|
2017-12-26 00:59:36 +09:00 |
|
Hajime Hoshi
|
ad54538d07
|
audio/mp3: Use byte instead of uint8
|
2017-12-26 00:11:17 +09:00 |
|
Hajime Hoshi
|
bb44eebe78
|
audio/mp3: Replace magic numbers with consts in io package
|
2017-12-26 00:10:30 +09:00 |
|
Hajime Hoshi
|
908ccb9404
|
audio/mp3: Try again decoding when timed out (#464)
|
2017-12-26 00:08:33 +09:00 |
|
Hajime Hoshi
|
a74cf21f21
|
audio/mp3: Revert calling Gosched(): Looks like this doesn't make sense
|
2017-12-24 04:53:51 +09:00 |
|
Hajime Hoshi
|
2155b2f04a
|
audio/mp3: Channels should be used only once
|
2017-12-24 04:40:20 +09:00 |
|
Hajime Hoshi
|
7b1f501bd7
|
audio/mp3: Force context switch when decoding
|
2017-12-24 03:14:10 +09:00 |
|
Hajime Hoshi
|
31350dc497
|
mp3: Avoid calling Length() if possible (#463)
|
2017-12-22 05:17:01 +09:00 |
|
Hajime Hoshi
|
b46ed224a7
|
mp3: Add comment about error handling
|
2017-10-18 02:11:09 +09:00 |
|
Hajime Hoshi
|
bc2469a275
|
audio: Fix wrong comments
|
2017-10-01 18:07:18 +09:00 |
|
Hajime Hoshi
|
2c6f6e605e
|
audio/mp3: Bug fix: Decode error on Safari (#438)
|
2017-09-28 03:10:51 +09:00 |
|
Hajime Hoshi
|
1f051b50db
|
audio/mp3: Handle error when decoding
|
2017-09-28 00:55:18 +09:00 |
|
Hajime Hoshi
|
fe2380f1ab
|
audio: Add comments
|
2017-09-26 00:38:50 +09:00 |
|
Hajime Hoshi
|
32b33dd86d
|
audio/mp3: Fix comments
|
2017-09-24 19:28:09 +09:00 |
|
Hajime Hoshi
|
8725589619
|
audio/mp3: Bug fix: decoding a mono MP3 panics on browsers (#421)
|
2017-08-28 01:36:27 +09:00 |
|
Hajime Hoshi
|
16f84f6a89
|
audio/mp3: Use new go-mp3 API
|
2017-07-04 22:01:06 +09:00 |
|
Hajime Hoshi
|
3be2b2516f
|
audio/mp3: Refactoring
|
2017-06-26 02:03:23 +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
|
88c5e4ca2d
|
audio/mp3: Remove some comments
|
2017-06-19 01:10:11 +09:00 |
|
Hajime Hoshi
|
fe70dcc51f
|
audio/mp3: Bug fix: noise on browsers
|
2017-06-19 01:04:37 +09:00 |
|
Hajime Hoshi
|
0f20b7b216
|
audio/mp3: Add JavaScript version
|
2017-06-18 23:49:05 +09:00 |
|
Hajime Hoshi
|
686e2d3318
|
audio/mp3: Create hajimehoshi/go-mp3 package
|
2017-06-18 23:11:39 +09:00 |
|
Hajime Hoshi
|
09ce575774
|
audio/mp3: Add sample rate conversion
|
2017-06-18 22:51:11 +09:00 |
|
Hajime Hoshi
|
6c0fa5e55f
|
audio/mp3: Add Decoder.SampleRate
|
2017-06-18 22:36:56 +09:00 |
|
Hajime Hoshi
|
e9c6bec432
|
audio/mp3: Add Decoder struct
|
2017-06-18 21:28:16 +09:00 |
|
Hajime Hoshi
|
63f1dceb8b
|
audio/mp3: Remove global variables 'reader*'
|
2017-06-18 18:34:58 +09:00 |
|
Hajime Hoshi
|
cf05a581a4
|
audio/mp3: Refactoring
|
2017-06-18 18:15:56 +09:00 |
|
Hajime Hoshi
|
7b1f3fae99
|
audio/mp3: Refactoring
|
2017-06-18 18:08:22 +09:00 |
|
Hajime Hoshi
|
d43df208d2
|
audio/mp3: Make readMainL3 to return *mpeg1MainData
|
2017-06-18 18:06:41 +09:00 |
|
Hajime Hoshi
|
940c3e65a2
|
audio/mp3: Make readHeader to return *mpeg1FrameHeader
|
2017-06-18 17:44:04 +09:00 |
|