Commit Graph

115 Commits

Author SHA1 Message Date
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
Hajime Hoshi
1c779b6017 audio/mp3: Refactoring 2017-06-18 17:40:28 +09:00
Hajime Hoshi
2767136947 audio/mp3: Refactoring: readSideInfo (was readAudioL3) returns *mpeg1SideInfo 2017-06-18 17:37:46 +09:00
Hajime Hoshi
80e6d4a175 audio/mp3: Rename sideInfo to sideInfoBytes 2017-06-18 17:24:33 +09:00
Hajime Hoshi
2b54013ccc audio/mp3: Refactoring: Rename global variables 2017-06-18 17:19:16 +09:00
Hajime Hoshi
8efd0e725f audio/mp3: Remove global variables 'v_vec' and 'store' 2017-06-18 17:13:38 +09:00
Hajime Hoshi
e0661a0ac6 audio/mp3: Refactoring 2017-06-18 16:50:08 +09:00
Hajime Hoshi
0291330a1b audio/mp3: Remove global variable theMainDataBytes 2017-06-18 16:45:36 +09:00
Hajime Hoshi
782284efd9 audio/mp3: Refactoring: Remove mainDataBytes.ptr 2017-06-18 13:45:08 +09:00
Hajime Hoshi
ff4529f1e7 audio/mp3: Refactoring: Remove mainDataBytes.top 2017-06-18 13:15:48 +09:00
Hajime Hoshi
3a55c2f805 audio/mp3: Refactoring 2017-06-18 02:38:43 +09:00
Hajime Hoshi
93c48e15c0 audio/mp3: Remove global variable 'theSideInfo' 2017-06-18 01:32:44 +09:00
Hajime Hoshi
9890a530a2 audio/mp3: Remove global variable 'writer' 2017-06-18 00:02:51 +09:00
Hajime Hoshi
19b3df1da3 audio/mp3: Remove audioWriteRaw 2017-06-17 23:58:15 +09:00
Hajime Hoshi
ae85ec991c audio/mp3: Refactoring: Add frame.numberOfChannels 2017-06-17 23:33:29 +09:00
Hajime Hoshi
76320010f4 audio/mp3: Bug fix: LR was swapped 2017-06-17 23:10:06 +09:00
Hajime Hoshi
c496d94047 audio/mp3: Remove isEOF 2017-06-17 19:33:49 +09:00
Hajime Hoshi
cb6e7366e2 audio/mp3: Add frame struct 2017-06-17 18:56:08 +09:00
Hajime Hoshi
0e4c949471 audio/mp3: Refactoring: layer member usage 2017-06-17 18:20:43 +09:00
Hajime Hoshi
b8a965b471 audio/mp3: Remove C files 2017-06-17 17:51:53 +09:00
Hajime Hoshi
ab8a9a1e36 audio/mp3: Move t_mpeg1_header to Go 2017-06-17 17:51:53 +09:00
Hajime Hoshi
a0af1595de audio/mp3: Move t_mpeg1_side_info to Go 2017-06-17 17:51:53 +09:00
Hajime Hoshi
d30f025d85 audio/mp3: Move t_mpeg1_main_data to Go 2017-06-17 17:51:41 +09:00
Hajime Hoshi
408b37dd7a audio/mp3: Remove eof const 2017-06-17 06:59:27 +09:00
Hajime Hoshi
541a633361 audio/mp3: Refactoring: Use uint32 for output data 2017-06-17 06:53:37 +09:00
Hajime Hoshi
51a2507430 audio/mp3: Remove all exports to C 2017-06-17 06:48:27 +09:00
Hajime Hoshi
02e284ea9d audio/mp3: Refactoring 2017-06-17 06:43:50 +09:00
Hajime Hoshi
e53d5920b0 audio/mp3: Move Decode_L3 to Go 2017-06-17 06:28:25 +09:00
Hajime Hoshi
1c86a90c8e audio/mp3: Remove g_error 2017-06-17 03:01:39 +09:00
Hajime Hoshi
61c76a3749 audio/mp3: Fix Get_Main_Dat to return error 2017-06-17 02:50:38 +09:00
Hajime Hoshi
73190062da audio/mp3: Move Read_Frame to Go 2017-06-17 02:43:13 +09:00
Hajime Hoshi
b08897a4e5 audio/mp3: Make Get_Byte a Go function 2017-06-17 01:36:58 +09:00
Hajime Hoshi
bdb87b0257 audio/mp3: Bug fix: updating cache in getBytes wrongly 2017-06-17 01:32:17 +09:00
Hajime Hoshi
e5fbcd50de audio/mp3: Refactoring getByte(s) 2017-06-17 00:35:01 +09:00
Hajime Hoshi
e41c0d3514 audio/mp3: Move Read_Header to Go 2017-06-17 00:08:47 +09:00
Hajime Hoshi
f6e7e3601f audio/mp3: Move Read_Huffman to Go 2017-06-16 23:41:13 +09:00
Hajime Hoshi
4b9242cbd0 audio/mp3: Move Requantize_Process_Long to Go 2017-06-16 22:56:54 +09:00
Hajime Hoshi
8e4abca1f8 audio/mp3: Move Requantize_Process_Short to Go 2017-06-16 22:29:16 +09:00
Hajime Hoshi
bf9a259565 audio/mp3: Bug fix in L3_Hybrid_Synthesis 2017-06-16 20:00:32 +09:00
Hajime Hoshi
74c2953f56 audio/mp3: Move L3_Requantize to Go 2017-06-16 16:43:45 +09:00
Hajime Hoshi
c96b54dbfb audio/mp3: Refactoring 2017-06-16 16:27:55 +09:00
Hajime Hoshi
3f24b7193a audio/mp3: Move L3_Reorder to Go 2017-06-15 11:06:58 +09:00
Hajime Hoshi
ef85c9a7bc audio/mp3: Move L3_Antialias to Go 2017-06-15 03:20:00 +09:00
Hajime Hoshi
53c2c5d810 audio/mp3: Move L3_Stereo to Go 2017-06-15 02:15:17 +09:00
Hajime Hoshi
9e002e3e52 audio/mp3: Move L3_Frequency_Inversion to Go 2017-06-15 01:40:42 +09:00
Hajime Hoshi
91c022dcda audio/mp3: Move L3_Subband_Synthesis to Go 2017-06-15 01:31:12 +09:00
Hajime Hoshi
b54f711243 audio/mp3: Move L3_Hybrid_Synthesis to Go 2017-06-14 23:45:18 +09:00
Hajime Hoshi
78626426fe audio/mp3: Move Read_Main_L3 to Go 2017-06-14 11:07:08 +09:00
Hajime Hoshi
746548f5d2 audio/mp3: Move Read_Audio_L3 to Go 2017-06-14 02:29:15 +09:00
Hajime Hoshi
49c95eb69f audio/mp3: Move IMDCT_Win to Go 2017-06-14 01:38:38 +09:00
Hajime Hoshi
b3e3adb9f0 audio/mp3: Move Read_CRC to Go 2017-06-13 10:28:21 +09:00
Hajime Hoshi
5dd91f6c83 audio/mp3: Move main_data_* to Go 2017-06-13 10:21:55 +09:00
Hajime Hoshi
3e76a77e6b audio/mp3: Move side_info_* to Go 2017-06-13 02:49:31 +09:00
Hajime Hoshi
68a2625fd2 audio/mp3: Move huffman tables to Go 2017-06-13 02:24:45 +09:00
Hajime Hoshi
bf3f6c9ff6 audio/mp3: Start implementing 2017-06-12 23:32:42 +09:00