Commit Graph

52 Commits

Author SHA1 Message Date
Hajime Hoshi
1cf3022ce6 audio/vorbis: Update stbvorbis.js
Fixes #667
2018-10-05 22:12:39 +09:00
Hajime Hoshi
d5ca4c3953 audio/vorbis: Bug fix: compilation error 2018-09-02 23:55:59 +09:00
Hajime Hoshi
70044013e9 audio/vorbis: Rename []uint8 -> []byte 2018-09-02 23:54:50 +09:00
Hajime Hoshi
05ac690db5 audio/vorbis/internal/stb: Use stbvorbis.js
Fixes #641
2018-07-22 17:15:28 +09:00
Hajime Hoshi
c6842f2cd8 audio/vorbis/internal/stb: Use TypedArrayOf (#642) 2018-07-07 17:46:55 +09:00
Hajime Hoshi
e61af537f4 audio/vorbis: Use jfreymuth/oggvorbis when the target is Wasm 2018-07-05 02:27:23 +09:00
Hajime Hoshi
de7065bbf7 audio/vorbis/internal/stb: Use float32 version of decoder for efficiency 2018-07-05 01:37:51 +09:00
Hajime Hoshi
9bf2eaff58 audio/vorbis/internal/stb: Rename files 2018-07-04 12:04:00 +09:00
Hajime Hoshi
992f6c767a audio/vorbis: Use stb_vorbis.c on browsers
This change adds a Ogg/Vorbis decoder stb_vorbis.c usage that is
compiled by Emscripten as WebAssembly.

Fixes #623
2018-07-04 01:23:11 +09:00
Hajime Hoshi
83f168a010 audio/vorbis: Bug fix: fail to decode too short ogg 2018-04-07 22:13:12 +09:00
Hajime Hoshi
75ac8e6f2b vorbis: Add tests (#570) 2018-03-31 01:51:39 +09:00
Hajime Hoshi
a31874ed48 vorbis: Bug fix: Length returned wrong result with monoral source (#570) 2018-03-30 11:59:03 +09:00
Hajime Hoshi
f4e018a336 vorbis: Bug fix: Read was not responsible with Close (#569) 2018-03-27 10:51:21 +09:00
Hajime Hoshi
5c55df87d7 audio: Deprecate Size() and add Length() (#466) 2018-01-09 01:25:38 +09:00
Hajime Hoshi
bc2469a275 audio: Fix wrong comments 2017-10-01 18:07:18 +09:00
Hajime Hoshi
db902dbbee audio: Bug fix: stream size must be multiple of 4 (#384) 2017-07-12 00:51:36 +09:00
Hajime Hoshi
e0bc85e790 audio/vorbis: Cause runtime.Gosched more often 2017-06-04 03:44:39 +09:00
Hajime Hoshi
e7478b794a audio: Change the spec: Now audio.Player's functions are always concurrent safe 2017-06-04 02:52:11 +09:00
Hajime Hoshi
579491afbd audio: Clarify concurrent safety 2017-06-04 01:03:01 +09:00
Hajime Hoshi
4d3ad434b3 audio/wav, audio/vorbis: Add comments about errors (#331) 2017-04-18 01:25:23 +09:00
Hajime Hoshi
2439d407df audio: Bug fix: Adjust data size after resampling 2017-01-16 11:25:46 +09:00
Hajime Hoshi
ed8d87dd87 audio: Convert 8bit monoral to 16bit stereo (#282) 2017-01-16 00:03:18 +09:00
Hajime Hoshi
5bdcd8825c Rename audio/internal/resampling -> audio/internal/convert 2017-01-15 22:37:59 +09:00
Hajime Hoshi
71cecea9c9 audio: Auto resampling (#301) 2017-01-15 17:49:57 +09:00
Hajime Hoshi
924c55ff5c audio/vorbis: Remove comment 2016-12-12 20:06:54 +09:00
Hajime Hoshi
6d895a2001 audio/vorbis: Remove decode.go 2016-12-12 19:52:52 +09:00
Hajime Hoshi
52f57c4a6a audio/vorbis: Adjust Gosched timing (#297) 2016-12-08 10:56:36 +09:00
Hajime Hoshi
8ed07e0822 audio/vorbis: Avoid appending buffer 2016-12-08 02:14:39 +09:00
Hajime Hoshi
51da710860 audio/vorbis: Read some data before actual using (#297) 2016-11-30 12:00:53 +09:00
Hajime Hoshi
604827ed3a audio/vorbis: Change the capacity of buffer 2016-11-29 12:12:48 +09:00
Hajime Hoshi
7b4af1b12d doc: Ogg/Vorbis is now available on Safari (#294) 2016-11-29 03:42:16 +09:00
Hajime Hoshi
83f19591ca audio/vorbis: Add decoded.readUntil 2016-11-29 03:37:43 +09:00
Hajime Hoshi
5789ad6920 audio/vorbis: Add comment 2016-11-29 03:36:42 +09:00
Hajime Hoshi
b454ff6547 audio/vorbis: Use oggvorbis for browsers 2016-11-29 01:02:00 +09:00
Hajime Hoshi
b0231c040e audio/vorbis: Adopt pure-Go decoder again (#294) 2016-11-28 11:34:44 +09:00
Hajime Hoshi
b6a8b5f5c9 audio/vorbis: Bug fix: Noise on browsers 2016-11-27 20:26:13 +09:00
Hajime Hoshi
38f0ec40b4 audio/vorbis: Use consts 2016-11-27 01:06:18 +09:00
Hajime Hoshi
8eba9cfc7f doc: Update docs for Safari (#293) 2016-11-27 00:11:23 +09:00
Hajime Hoshi
d16b5d328a Revert "audio/vorbis: Adopt pure-Go decoder (#294)"
This reverts commit 86276d7808.
2016-11-26 05:43:42 +09:00
Hajime Hoshi
86276d7808 audio/vorbis: Adopt pure-Go decoder (#294) 2016-11-26 04:31:56 +09:00
Hajime Hoshi
cf6d843572 vorbis: Return error when decoding fails 2016-11-26 02:06:15 +09:00
Hajime Hoshi
a14b4c8046 audio: Revert "audio/vorbis: Use pure Go decoder (#247)": fixing a bug of noisy sound 2016-09-27 01:01:04 +09:00
Hajime Hoshi
dd9918d64e Add comments 2016-08-02 01:47:25 +09:00
Hajime Hoshi
77a1117165 audio/vorbis: Use pure Go decoder (#247) 2016-07-22 01:40:08 +09:00
Hajime Hoshi
0c78f2ac48 audio/vorbis: Implement a part in Go to encourage context switch (#247) 2016-07-21 03:08:29 +09:00
Hajime Hoshi
02bf986049 vorbis: Fix misspelling 2016-05-14 03:43:50 +09:00
Hajime Hoshi
1fa89776fc vorbis: Modify function name styles to make golint happy 2016-05-14 03:41:48 +09:00
Hajime Hoshi
88fc32c070 Pointer arithmetic with a variable index should be in C 2016-05-14 02:53:14 +09:00
Hajime Hoshi
a14aa6779e audio: Try supporting Safari (WIP) 2016-04-21 23:57:15 +09:00
Hajime Hoshi
895c559b8e audio/vorbis: Bug fix: compible error in JS 2016-04-19 02:43:06 +09:00