Commit Graph

48 Commits

Author SHA1 Message Date
Hajime Hoshi
f1f7b350de audio, audio/mp3, audio/vorbis, audio/wav: Remove Close functions
Fixes #859
2020-10-07 23:39:58 +09:00
Hajime Hoshi
426cb5948a audio/vorbis: Remove the GopherJS part
Updates #1129
2020-10-07 01:33:19 +09:00
Hajime Hoshi
825972b3e1 audio/mp3, audio/vorbis, audio/wav: Remove deprecated functions
Updates #1127
2020-10-04 15:35:17 +09:00
Hajime Hoshi
bf515bb594 Update version to v2.0.0-alpha 2020-10-04 04:30:40 +09:00
Hajime Hoshi
a1ac574a60 docs: Use 'Deprecated:' annotation
Fixes #1160
2020-05-19 01:50:55 +09:00
Acid147
21abd85a63 Small cleanup (#877)
* Remove unused variables and constants
* Remove redundant return statement
* Change flock.NewFlock to flock.New
2019-05-26 18:06:43 +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
f16f6cf4b9 audio/internal/convert: Add Float32Reader and NewReaderFromFloat32Reader 2019-01-15 11:46:31 +09:00
Hajime Hoshi
13f6549cb6 audio/vorbis: Remove duplicated decoded data
There was duplicated decoded date in audio/vorbis package and Ogg
decoder package. This change removes this duplication and reduces
memory usage.
2019-01-15 03:52:27 +09:00
Hajime Hoshi
feca647087 audio/vorbis: Unretain the Ogg decoder on Close (#733) 2018-11-09 03:48:28 +09:00
Hajime Hoshi
eda8d61413 audio/vorbis: Unretain the Ogg decoder after decoding is done (#733) 2018-11-09 03:46:00 +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
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
83f19591ca audio/vorbis: Add decoded.readUntil 2016-11-29 03:37:43 +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
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
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
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
5ae624b891 audio: Add comments (#199) 2016-04-19 02:00:16 +09:00
Hajime Hoshi
b0178e8425 audio: Move exp/audio -> audio (#206) 2016-04-19 01:26:37 +09:00