Hajime Hoshi
|
392ee92aeb
|
Add internal/hooks to replace internal/audiobinding
|
2018-02-04 17:33:17 +09:00 |
|
Hajime Hoshi
|
2322c5600b
|
audio: Revert the buffer size
This basically reverts df62b16270 .
|
2018-01-29 11:57:52 +09:00 |
|
Hajime Hoshi
|
5c55df87d7
|
audio: Deprecate Size() and add Length() (#466)
|
2018-01-09 01:25:38 +09:00 |
|
Hajime Hoshi
|
ef282f7f4f
|
audio/internal/convert: Remove unused functions
|
2018-01-09 00:26:54 +09:00 |
|
Hajime Hoshi
|
e83810fc57
|
audio/internal/convert: Add resampling_test.go
Fixes #369
|
2018-01-08 23:44:44 +09:00 |
|
Hajime Hoshi
|
d5d5ebb0b3
|
clock: Make ProceedAudioTimer take a number of frames
|
2018-01-07 18:32:19 +09:00 |
|
Hajime Hoshi
|
d12a3d4073
|
clock: Refactoring
|
2018-01-07 17:10:56 +09:00 |
|
Hajime Hoshi
|
0b3495b81f
|
audio: Use mock sync on browsers
|
2018-01-07 15:26:18 +09:00 |
|
Hajime Hoshi
|
11a1e6ec39
|
audio/internal/convert: Adjust window size again (confirmed this worked well on iPhone 6)
|
2018-01-06 01:49:55 +09:00 |
|
Hajime Hoshi
|
5b2dbf6036
|
audio/internal/convert: Adjust resamplingBufferSize again
|
2018-01-06 01:46:54 +09:00 |
|
Hajime Hoshi
|
ab70f6fc58
|
audio/internal/convert: Much faster sine/cosine functions
|
2018-01-06 00:15:07 +09:00 |
|
Hajime Hoshi
|
005d18ceff
|
audio/internal/convert: Use int64 (now it is fast enough on browsers?)
|
2018-01-05 20:03:17 +09:00 |
|
Hajime Hoshi
|
c020101afc
|
audio/internal/convert: Use cosine table
|
2018-01-05 19:40:12 +09:00 |
|
Hajime Hoshi
|
2884fb7070
|
audio/internal/convert: Fix algorithm
|
2018-01-05 18:21:14 +09:00 |
|
Hajime Hoshi
|
df62b16270
|
audio: Use bigger buffer size for mobile phones
|
2017-12-31 01:28:08 +09:00 |
|
Hajime Hoshi
|
de1a22d9f3
|
audio/internal/convert: Bug fix: remove unneeded import
|
2017-12-31 00:15:36 +09:00 |
|
Hajime Hoshi
|
03942292f5
|
audio/internal/convert: Change the window smaller for performance
On iOS, resapling performance was not good.
|
2017-12-31 00:14:52 +09:00 |
|
Hajime Hoshi
|
97ec367e23
|
audio: Use :=
|
2017-12-30 21:18:34 +09:00 |
|
Hajime Hoshi
|
65c0bf55fc
|
audio: Fix buffer size for the latest Oto
|
2017-12-28 20:37:36 +09:00 |
|
Hajime Hoshi
|
a98b03f738
|
audio/mp3: Flexible timeout
|
2017-12-27 19:18:02 +09:00 |
|
Hajime Hoshi
|
e2a026138a
|
audio/internal/convert: Use float64 for positions
|
2017-12-27 18:55:17 +09:00 |
|
Hajime Hoshi
|
6d6504085c
|
audio/internal/convert: Rename members
|
2017-12-27 18:05:55 +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
|
623caad3ec
|
audio: Bug fix: appropriate buffer size on browsers
|
2017-12-25 01:54:55 +09:00 |
|
Hajime Hoshi
|
60eef4618d
|
audio: Revert size (due to noise on browsers)
|
2017-12-25 00:16:47 +09:00 |
|
Hajime Hoshi
|
4a06198160
|
audio: Smaller buffers (experimental)
|
2017-12-24 22:16:45 +09:00 |
|
Hajime Hoshi
|
5679103d71
|
audio: Use io.CopyN
|
2017-12-24 21:21:15 +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
|
e14257d76d
|
audio: A little better buffer size for Android Chrome
|
2017-12-24 04:01:41 +09:00 |
|
Hajime Hoshi
|
ae6bdf23f2
|
audio: Recalculate audio buffer size
|
2017-12-24 03:54:42 +09:00 |
|
Hajime Hoshi
|
7b1f501bd7
|
audio/mp3: Force context switch when decoding
|
2017-12-24 03:14:10 +09:00 |
|
Hajime Hoshi
|
18c6890d96
|
audio: More often reading (decoding) audio source to reduce noise
|
2017-12-24 00:58:14 +09:00 |
|
Hajime Hoshi
|
7ce87a6c82
|
audio: Simplify read/write logic
|
2017-12-24 00:51:17 +09:00 |
|
Hajime Hoshi
|
00d8d61795
|
audio: Adjust buffer size
|
2017-12-23 23:15:44 +09:00 |
|
Hajime Hoshi
|
f3997cf5ae
|
audio: Fix comments
|
2017-12-23 21:14:08 +09:00 |
|
Hajime Hoshi
|
a540d6b2bb
|
audio: Adjust buffer size
|
2017-12-23 19:59:52 +09:00 |
|
Hajime Hoshi
|
19ca74e86b
|
audio: Remove player's mutex
|
2017-12-23 19:01:28 +09:00 |
|
Hajime Hoshi
|
637ed0d965
|
audio: Refactoring
|
2017-12-23 18:39:14 +09:00 |
|
Hajime Hoshi
|
04739a7249
|
audio: Bug fix: Seek might cause dead lock after Close
|
2017-12-23 18:31:20 +09:00 |
|
Hajime Hoshi
|
db77658935
|
audio: Reduce locks by using channels
|
2017-12-23 17:55:48 +09:00 |
|
Hajime Hoshi
|
ba3de063ac
|
audio: Refactoring
|
2017-12-23 17:05:14 +09:00 |
|
Hajime Hoshi
|
3dcb486a5c
|
audio: Refactoring
|
2017-12-23 05:02:15 +09:00 |
|
Hajime Hoshi
|
7cc6154de6
|
audio: Reduce noise (#443)
|
2017-12-23 04:25:48 +09:00 |
|
Hajime Hoshi
|
3addbfce8a
|
audio: Simplify error handling
|
2017-12-23 04:12:12 +09:00 |
|
Hajime Hoshi
|
a21571fb57
|
audio: Refactoring
|
2017-12-23 04:01:18 +09:00 |
|