Thom Johansen
735208a541
Adapted codecs and DSP system to having MACSR saved in thread context.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7485 a1c6a512-1295-4272-9138-f99709370657
2005-09-07 00:24:27 +00:00
Linus Nielsen Feltzing
984712f291
iriver: The MP3 codec didn't take the ID3 tag size into account when seeking
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7391 a1c6a512-1295-4272-9138-f99709370657
2005-08-23 12:52:59 +00:00
Miika Pekkarinen
8a7d104a35
Now codecs will do the buffer flushing after seeking as they find it
...
necessary.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7369 a1c6a512-1295-4272-9138-f99709370657
2005-08-21 18:12:31 +00:00
Linus Nielsen Feltzing
a387805071
Correct samplecount calculation, suggested by Markus Kaufhold
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7336 a1c6a512-1295-4272-9138-f99709370657
2005-08-17 09:34:18 +00:00
Magnus Holmgren
753a89718c
Fix for ff/rw in long MP3 files.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7334 a1c6a512-1295-4272-9138-f99709370657
2005-08-16 18:26:41 +00:00
Magnus Holmgren
1d4a6c0cc3
One more gapless fix for LAME MP3 files.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7331 a1c6a512-1295-4272-9138-f99709370657
2005-08-15 19:33:56 +00:00
Magnus Holmgren
15e0aeb73b
More complete gapless playback implementation in the MP3 codec (using LAME header values). Some cleanups as well.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7312 a1c6a512-1295-4272-9138-f99709370657
2005-08-13 08:02:38 +00:00
Linus Nielsen Feltzing
0da0534d10
mp3 codec: simpler seeking, and now sets the sample frequency dynamically from the mp3 frame headers rather than from the frequency found by the metadata parser
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7299 a1c6a512-1295-4272-9138-f99709370657
2005-08-10 22:59:06 +00:00
Miika Pekkarinen
6b807b2d24
Fixed MAC initialization problem with mpa codec and removed workaround
...
for that bug.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7260 a1c6a512-1295-4272-9138-f99709370657
2005-07-30 13:46:38 +00:00
Magnus Holmgren
988ea2cffc
Added support for ID3V2 ReplayGain tags (as written by Foobar). Generalized the replaygain tag parsing a bit, to cut down the code size (APE tags should use this as well, but as it requires larger changes, it will have to wait for another commit). Also fixed a bug in the ID3V2 parser; ISO-8859-1 strings could confuse the main parsing loop (causing bufferpos to come out of sync).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7243 a1c6a512-1295-4272-9138-f99709370657
2005-07-27 11:54:33 +00:00
Miika Pekkarinen
cda55bbd6f
Correctly read the next track metadata information. Don't crash if
...
frequency is ever set to 0.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7171 a1c6a512-1295-4272-9138-f99709370657
2005-07-16 06:26:29 +00:00
Miika Pekkarinen
20b3897474
Separated buffering stuff from pcm_playback to pcmbuf. Renamed some
...
function calls (audiobuffer -> pcmbuf etc.).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7131 a1c6a512-1295-4272-9138-f99709370657
2005-07-13 12:48:22 +00:00
Miika Pekkarinen
fbd4088df8
Replaced some yields with sleep(1) to save battery while paused or
...
playing files which doesn't require cpu boosting.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7103 a1c6a512-1295-4272-9138-f99709370657
2005-07-11 18:47:47 +00:00
Miika Pekkarinen
0d63cbba4b
Fixed a problem with transition to next album which caused rockbox
...
virtually to crash.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7096 a1c6a512-1295-4272-9138-f99709370657
2005-07-10 20:37:36 +00:00
Miika Pekkarinen
3eb962d13b
PCM buffering fixes. Made a temporary workaround for playback glitch
...
bug (see the patch).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7049 a1c6a512-1295-4272-9138-f99709370657
2005-07-07 07:15:05 +00:00
Miika Pekkarinen
5c2c991d14
Applied patch "[ 1232957 ] MP3 metadata fixes for software codec".
...
Thanks to Magnus Holmgren. Now metadata reading is better with
improved performance for mp3 files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7030 a1c6a512-1295-4272-9138-f99709370657
2005-07-05 19:55:40 +00:00
Miika Pekkarinen
d6e7942426
Fixed: Crossfading, broken elapsed info with mp3 files, possible cpu
...
boost problem and track changing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7027 a1c6a512-1295-4272-9138-f99709370657
2005-07-05 15:19:22 +00:00
Miika Pekkarinen
d54811fe22
Fixed mono playback support for mp3. Added two other event handlers in
...
playback.c.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6986 a1c6a512-1295-4272-9138-f99709370657
2005-07-02 16:52:30 +00:00
Thom Johansen
c6bd12f831
Turned off dithering in MPEG audio codec. It's just too slow.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6896 a1c6a512-1295-4272-9138-f99709370657
2005-06-27 18:06:25 +00:00
Miika Pekkarinen
d8cb703b1e
Initial DSP implementation. DSP supports resampling audio stream from
...
codecs (currently works corrently only with mp3's, somebody should fix
that).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6877 a1c6a512-1295-4272-9138-f99709370657
2005-06-26 19:41:29 +00:00
Thom Johansen
10426dbe22
Cleaned up code a bit, removed all rb references.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6825 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 21:18:05 +00:00
Daniel Stenberg
31efab4909
removed the use of the 2nd argument to codec_start() since no codec used
...
it anymore
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6814 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 19:55:09 +00:00
Daniel Stenberg
1dd672fe32
moved and renamed the codecs, gave the codecs a new extension (.codec),
...
unified to a single codec-only API, made a new codeclib, disabled the building
of the *2wav plugins
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6812 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 19:41:30 +00:00