Ryan Jackson
f580941b5a
Changed assembly optimizations to re-init the MAC each time they're called. Fixes resampling problems with Ogg Vorbis.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7149 a1c6a512-1295-4272-9138-f99709370657
2005-07-15 06:24:22 +00:00
Ryan Jackson
4d45987e37
Removed unnecessary code that also caused playback glitches when changing tracks
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7136 a1c6a512-1295-4272-9138-f99709370657
2005-07-14 03:58:22 +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
Ryan Jackson
d191756286
Resume now starts playback at the point it was stopped, not 2-7 seconds later.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7125 a1c6a512-1295-4272-9138-f99709370657
2005-07-12 16:45:38 +00:00
Daniel Stenberg
3f606de6f8
silence the makefile
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7121 a1c6a512-1295-4272-9138-f99709370657
2005-07-12 11:08:57 +00:00
Daniel Stenberg
2d8fd9cf8a
I find it weird that there is a private copy of this file here, but I'm
...
not fixing this now. I'm just making sure that this is in perfect sync
with the firmware one by simply #including it here!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7119 a1c6a512-1295-4272-9138-f99709370657
2005-07-12 11:04:57 +00:00
Daniel Stenberg
7ba03e6279
removed an extra codec_api struct pointer and the function setting it
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7117 a1c6a512-1295-4272-9138-f99709370657
2005-07-12 10:10:02 +00:00
Daniel Stenberg
4d71da006f
code-policed, removed commented and ifdef'ed code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7115 a1c6a512-1295-4272-9138-f99709370657
2005-07-12 10:01:55 +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
Linus Nielsen Feltzing
c4b7c671f9
Patch #1235763 by Ryan Jackson - Resume/bookmark support for Vorbis
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7098 a1c6a512-1295-4272-9138-f99709370657
2005-07-11 06:47:35 +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
Dave Bryant
85e03767f7
Reorganized encoder to allow compressing blocks in smaller chunks and
...
improved efficiency somewhat by looping through data in tighter passes.
Code is basically ready for an attempt at direct recording.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7088 a1c6a512-1295-4272-9138-f99709370657
2005-07-09 23:14:41 +00:00
Daniel Stenberg
a33fd0f14d
build on all h100 units
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7066 a1c6a512-1295-4272-9138-f99709370657
2005-07-08 10:26:23 +00:00
Daniel Stenberg
28bd327559
Fix possible use of uninitialized variable
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7052 a1c6a512-1295-4272-9138-f99709370657
2005-07-07 08:23:21 +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
Linus Nielsen Feltzing
eaf8b2d76d
Patch #1232549 by Ryan Jackson, adds seeking and comments to Vorbis playback
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7025 a1c6a512-1295-4272-9138-f99709370657
2005-07-05 08:43:36 +00:00
Dave Bryant
dacbc16d5b
Added lossless encoding to WavPack library. Also made a few changes to
...
decoding stuff in preparation for future optimization and eliminated all tabs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7009 a1c6a512-1295-4272-9138-f99709370657
2005-07-04 06:38:00 +00:00
Jens Arnold
d2456b44f7
Centralised the ICODE_ATTR and IDATA_ATTR #defines. Renamed some musepack and rockboy headers to avoid clashes with rockbox headers.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6991 a1c6a512-1295-4272-9138-f99709370657
2005-07-03 14:05:12 +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
Dave Bryant
1983738ea1
Not sure if this is the right way to make "resume" work correctly for WavPack,
...
but it seems to work and if it's wrong it should only affect WavPack...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6938 a1c6a512-1295-4272-9138-f99709370657
2005-06-30 06:09:59 +00:00
Daniel Stenberg
c2bf5dfe12
For target builds, make the ELF files depend on its object file, but also
...
on the generic codec lib and the specific codec lib for each particular
codec. (Initial take, may need to adjusting to get optimal)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6905 a1c6a512-1295-4272-9138-f99709370657
2005-06-28 22:14:02 +00:00
Miika Pekkarinen
c2093538a4
Fixed a simulator warning.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6899 a1c6a512-1295-4272-9138-f99709370657
2005-06-27 19:52:34 +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
Dave Bryant
24d6535b7a
Allow WavPack to use new sampling rate converter
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6888 a1c6a512-1295-4272-9138-f99709370657
2005-06-27 00:12:40 +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
8b2531be27
Nicer code, removed rb references.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6829 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 22:02:11 +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
091001179a
fix sim builds
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6823 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 21:13:10 +00:00
Daniel Stenberg
055303ad7d
rip out all the LCD junk from the codec API
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6821 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 20:40:35 +00:00
Daniel Stenberg
3739d3aa34
codec lib sources
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6819 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 20:13:46 +00:00
Daniel Stenberg
b685ebd4f6
build codecs too
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6818 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 20:13:18 +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
1f3d08d600
fixed make clean for the codec lib
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6813 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 19:54:43 +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
Pedro Vasconcelos
1b3622d589
Use asm optimised memset() in vorbis_apply_window.
...
Slight speed improvement. "Toughest" Q10 encodings play without skipping now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6792 a1c6a512-1295-4272-9138-f99709370657
2005-06-21 20:14:18 +00:00
Miika Pekkarinen
53ce20a1ae
Killed all simulator warnings.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6726 a1c6a512-1295-4272-9138-f99709370657
2005-06-15 19:38:13 +00:00
Tomas Salfischberger
88a89e0cdb
There is no printf() in rockbox, but DEBUGF() has the intended effect in simulator.
...
And this was the last warning in iriver builds :D
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6713 a1c6a512-1295-4272-9138-f99709370657
2005-06-14 19:04:47 +00:00
Tomas Salfischberger
fe8663c548
See my message on the mailinglist. This should kill all warnings left in the iriver builds. And the changes will be added to the next musepack minor release.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6710 a1c6a512-1295-4272-9138-f99709370657
2005-06-14 18:48:35 +00:00
Tomas Salfischberger
9b9d6e7767
Another warning fixed (idtag.c:59: warning: implicit declaration of function `memcmp')
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6709 a1c6a512-1295-4272-9138-f99709370657
2005-06-14 16:18:17 +00:00
Thom Johansen
ca19564eec
Enabled minor Tremor opt.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6688 a1c6a512-1295-4272-9138-f99709370657
2005-06-12 12:53:10 +00:00
Thom Johansen
649acec2fc
Small Musepack optimisation.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6685 a1c6a512-1295-4272-9138-f99709370657
2005-06-12 12:43:05 +00:00
Thom Johansen
5f12af28fb
Big performance improvement for liba52. A couple of small ASM opts, and lots IRAM usage.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6676 a1c6a512-1295-4272-9138-f99709370657
2005-06-11 14:45:48 +00:00
Thom Johansen
c82518ce06
Replaced critical loop with assembler. A bit closer to realtime now. This codec really needs all the 64 bit muls replaced with EMAC equivalents.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6667 a1c6a512-1295-4272-9138-f99709370657
2005-06-11 01:04:59 +00:00
Pedro Vasconcelos
6b9350b4d3
A little improvement on Vorbis block synthesis.
...
Added myself to the list of contributors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6664 a1c6a512-1295-4272-9138-f99709370657
2005-06-10 22:34:57 +00:00
Thom Johansen
8771bf230a
Typo.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6639 a1c6a512-1295-4272-9138-f99709370657
2005-06-09 14:27:27 +00:00
Thom Johansen
cc518c5f32
Full precision synth_full and dct32. Replaced all multiplications with proper 64 bit EMAC multiplications, which yields improved sound.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6638 a1c6a512-1295-4272-9138-f99709370657
2005-06-09 14:13:09 +00:00
Thom Johansen
614f0a333a
WavPack optimisation by David Bryant.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6635 a1c6a512-1295-4272-9138-f99709370657
2005-06-09 09:26:05 +00:00
Thom Johansen
f6d3cebdfa
Kill warning. I suck.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6612 a1c6a512-1295-4272-9138-f99709370657
2005-06-08 13:49:09 +00:00