Commit graph

3099 commits

Author SHA1 Message Date
Brandon Low
f3bc1efc49 First commit of reworking voice to be mroe stable on swcodec
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9758 a1c6a512-1295-4272-9138-f99709370657
2006-04-22 14:40:13 +00:00
Frank Dischner
54d757b0c5 Prevent scroll wheel on mini 1g from over-scrolling when scrolling very fast.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9740 a1c6a512-1295-4272-9138-f99709370657
2006-04-20 07:44:58 +00:00
Frank Dischner
5d9eccd85b Fix button driver for ipod mini 1G.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9732 a1c6a512-1295-4272-9138-f99709370657
2006-04-19 18:06:56 +00:00
Miika Pekkarinen
fa893c6b88 Performance optimizations for tagcache commit. Still more left to be done.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9721 a1c6a512-1295-4272-9138-f99709370657
2006-04-18 18:56:56 +00:00
Brandon Low
7f5fb7bbd9 Fix red builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9710 a1c6a512-1295-4272-9138-f99709370657
2006-04-17 20:55:53 +00:00
Brandon Low
5286c7ddb8 Add copy and adjust helper for mp3entry struct as it is 1) not copy safe and 2) nonobvious that its not copy safe
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9709 a1c6a512-1295-4272-9138-f99709370657
2006-04-17 20:32:25 +00:00
Jens Arnold
b75ad888f9 Ooops^2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9696 a1c6a512-1295-4272-9138-f99709370657
2006-04-17 00:09:02 +00:00
Jens Arnold
6e3fa1c467 Ooops.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9694 a1c6a512-1295-4272-9138-f99709370657
2006-04-16 23:37:48 +00:00
Jens Arnold
f2897e8180 H300: Optimised PCF50606 driver, significantly reduces CPU power drain from the button tick (with both main & remote buttons: 50%->13% at 11MHz, 12%->6% at 45MHz): * Delay is adapted to the current CPU clock, aiming at constant 400kHz i2c clock. * Reduced number of port accesses (accessing GPIO is very slow, especially with the atomic boolean instructions) by implementing an open-collector-like behaviour. * Time-critical functions implemented in assembler.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9693 a1c6a512-1295-4272-9138-f99709370657
2006-04-16 23:16:32 +00:00
Jens Arnold
5380376dbc H300 (and H1x0): Improved button debouncing. Solves the possible 'fake doubleclick' effect by not pretending no button is pressed if the reading is unstable. Now it uses the latest stable reading instead.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9691 a1c6a512-1295-4272-9138-f99709370657
2006-04-16 22:28:24 +00:00
Miika Pekkarinen
3b31346103 Commit tagcache in background when possible (at least dircache enabled).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9686 a1c6a512-1295-4272-9138-f99709370657
2006-04-16 17:32:54 +00:00
Zakk Roberts
16a57e2e4f Also add a config-specific 'Default' value, this should fix the sim builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9680 a1c6a512-1295-4272-9138-f99709370657
2006-04-15 13:07:21 +00:00
Zakk Roberts
b61e263219 Move the battery min/max capacity to player config files and add an increment setting (amount of mAh to increase/decrease by in the settings menu) for more precise battery value tweaking/limiting per-model. This allows the proper range for iAudio X5 - 950mAh, or 2250mAh for the X5L.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9678 a1c6a512-1295-4272-9138-f99709370657
2006-04-15 12:31:33 +00:00
Jens Arnold
923e3a4496 Coldfire: Use the maximum possible i2c clock for the audio codec. Both the UDA1380TT and the TLV320AIC23B can handle up to 400kHz.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9656 a1c6a512-1295-4272-9138-f99709370657
2006-04-14 07:56:02 +00:00
Jens Arnold
3e5c701de7 Correct battery voltage and almost correct percentages for all ipods. Runtime still needs calibration (and improvement, of course).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9655 a1c6a512-1295-4272-9138-f99709370657
2006-04-14 07:19:24 +00:00
Miika Pekkarinen
d489377d46 Fixed the file renaming/removing issue with dircache enabled.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9649 a1c6a512-1295-4272-9138-f99709370657
2006-04-13 21:14:13 +00:00
Jens Arnold
7dea1f9234 Another slight tweak.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9639 a1c6a512-1295-4272-9138-f99709370657
2006-04-12 21:04:27 +00:00
Jens Arnold
8d5c94a7c7 H1x0/H300 remote LCD driver rework: * Completely fix remote LCD ticking for H300, by not deasserting CS after every single access. CS deactivation is now handled with a 100ms timeout by the tick task. If this really fixes remote ticking for all H300s with 'reduce ticking' disabled, we should remove that option for H300. * Reworked ticking reduction for H1x0. Bytes are now send in sequence, without stretching every single bit, but longer pauses between bytes instead. Both CLK and DATA are handled in a way to minimise their potential to cause ticking (CLK active as short as possible, DATA always high outside of byte transfers, DATA high->low as close as possible to CLK low->high). * Driver is ~10% faster with 'reduce ticking' disabled, and ~65% faster with it enabled. (not @ 11 MHz)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9631 a1c6a512-1295-4272-9138-f99709370657
2006-04-11 23:42:36 +00:00
Daniel Stenberg
9efbc9d487 20% faster and one annoying lookup table cut out
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9624 a1c6a512-1295-4272-9138-f99709370657
2006-04-11 21:51:24 +00:00
Thom Johansen
8238b49c74 New crossfeed complete with no volume reducing bugs. Feedback on all the
new options is appreciated. Thanks to Dan Everton for the settings/GUI
code.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9609 a1c6a512-1295-4272-9138-f99709370657
2006-04-11 13:49:05 +00:00
Daniel Stenberg
d2848f3d72 moved the LCD framebuffer to IRAM for iAudio X5 - gives ~40% speed boost
I also extended the iram size properly since the 5250 coldfire has 128K


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9604 a1c6a512-1295-4272-9138-f99709370657
2006-04-11 10:37:37 +00:00
Jens Arnold
bc26c89880 Coldfire: More appropriate condition for the refresh timings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9597 a1c6a512-1295-4272-9138-f99709370657
2006-04-10 20:33:35 +00:00
Zakk Roberts
2f943b054c Enabled the quickscreen for iAudio X5. Globally, REC enters the menu and holding REC enters the quickscreen. Also moved the quickscreen #define to model config files, which simplifies the checking for it and makes checking more consistent. Cleaned up keymappings in quickscreen.h.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9590 a1c6a512-1295-4272-9138-f99709370657
2006-04-10 03:51:17 +00:00
Brandon Low
bf6f9c66a1 Enable AB repeat on ipods with 4g keypad, requires quick fingers or you get the context menu instead of a marker. Thanks to Mikachu on IRC.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9589 a1c6a512-1295-4272-9138-f99709370657
2006-04-10 00:39:48 +00:00
Jens Arnold
6b2f58b3ad H300: Slightly faster lcd update (noticeable with partial updates only).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9574 a1c6a512-1295-4272-9138-f99709370657
2006-04-09 11:34:53 +00:00
Brandon Low
72232bdc66 Fix bad rebuffering bug, and kill the track_count variable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9571 a1c6a512-1295-4272-9138-f99709370657
2006-04-09 02:15:35 +00:00
Peter D'Hoye
cbd21405fc Comparing short filenames for uniqueness used 1 char too much, causing it to create identical short filenames. Fixes bugreport #5030.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9563 a1c6a512-1295-4272-9138-f99709370657
2006-04-08 12:17:51 +00:00
Jens Arnold
4ac150e8d3 Get rid of the redundant APPLE_* macros. * Fix wrong comments in lcd-ipod.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9561 a1c6a512-1295-4272-9138-f99709370657
2006-04-08 09:08:38 +00:00
Daniel Stenberg
9c14a79001 include x5 files from the target tree
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9555 a1c6a512-1295-4272-9138-f99709370657
2006-04-07 21:15:52 +00:00
Dave Chapman
8204cd76a7 iPod: Enable dynamic CPU frequency changing on the 4G (both greyscale and colour) and the first generation mini
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9548 a1c6a512-1295-4272-9138-f99709370657
2006-04-07 12:16:27 +00:00
Jens Arnold
a5d2a28089 lcd_blit() (with mono->2bit expansion) implemented for greyscale ipods. Changed the flip mode maths for the mini LCD for coexistence with lcd_blit().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9540 a1c6a512-1295-4272-9138-f99709370657
2006-04-06 21:05:59 +00:00
Thom Johansen
ba08767434 Allow lower cuts than -23 dB, since the code seems to work then anyway.
This is needed by both EQ pre-cut and new crossfeed.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9538 a1c6a512-1295-4272-9138-f99709370657
2006-04-06 20:33:35 +00:00
Jens Arnold
5106e228cc Since we poll buttons every tick now, the extra if() checking the polling interval was obsolete. Pointed out by Mikael Magnusson. * Some tweaks.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9536 a1c6a512-1295-4272-9138-f99709370657
2006-04-06 18:58:42 +00:00
Jens Arnold
e3c21065fc Iriver remotes might also tick on H300, so offer the ticking reduction. H300 users: reset settings and reload from .cfg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9531 a1c6a512-1295-4272-9138-f99709370657
2006-04-06 07:30:02 +00:00
Jens Arnold
cef83c782f Do extra filtering in H300 (and H100) main unit button reading to suppress wrong readings during voltage transitions. * Optimised multi-button ADC reads to use a balanced binary tree with an initial check for 'any button' to determine the pressed button. * The iriver button driver wouldn't have detected main unit (ADC-connected) buttons as long as remote buttons (ADC-connected) were pressed (btn = value; vs. btn |= value), * Do extra filtering in the recorder v1 OFF button read, to suppress spurious OFF events. * Some more tweaks.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9530 a1c6a512-1295-4272-9138-f99709370657
2006-04-06 07:27:11 +00:00
Brandon Low
857db456af Fix seeking on swcodec, but probably break some cases of skipping. Another important rework here, buffer management is serialized along with most other operations on the audio thread. This has some minor performance issues on ipod that can lead to audio skips during buffer fill as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9529 a1c6a512-1295-4272-9138-f99709370657
2006-04-06 04:07:06 +00:00
Thom Johansen
872797be0e Make ASM memset for ARM return destination address, as is standard.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9519 a1c6a512-1295-4272-9138-f99709370657
2006-04-05 15:41:07 +00:00
Hristo Kovachev
ffefe9237b CP1251 is cyrillic, and not only russian codepage
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9518 a1c6a512-1295-4272-9138-f99709370657
2006-04-05 14:23:57 +00:00
Hristo Kovachev
6eafd48cec Fix bug #5037, spotted by David Rothenberger, also increase the max threads' count by 2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9512 a1c6a512-1295-4272-9138-f99709370657
2006-04-05 08:33:20 +00:00
Brandon Low
33a62e8a8e More work on swcodec. No significant pcmbuf functions are called from the audio thread now. Do not be surprised if seek or skip behavior gets weird after this, but it Works for Me (TM), and is a significant step in the right direction.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9510 a1c6a512-1295-4272-9138-f99709370657
2006-04-05 04:27:16 +00:00
Brandon Low
461addf658 Disable backlight fade out for shutdown
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9500 a1c6a512-1295-4272-9138-f99709370657
2006-04-04 19:19:28 +00:00
Linus Nielsen Feltzing
605c9674c1 Correct minimum value for TLV320 volume
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9495 a1c6a512-1295-4272-9138-f99709370657
2006-04-04 18:26:00 +00:00
Thom Johansen
4a4ec511bc Hopefully working battery display on Nanos.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9483 a1c6a512-1295-4272-9138-f99709370657
2006-04-04 10:03:09 +00:00
Jens Arnold
295ec69717 Simplification for user timer on coldfire. We define TIMER_FREQ separately anyway.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9479 a1c6a512-1295-4272-9138-f99709370657
2006-04-04 01:16:11 +00:00
Jens Arnold
fcab617331 Grayscale iPods: Bit-flipped the 2bit LCD driver to use the same format as apple. No more mirrored display when loading retailos, after a bootloader update.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9478 a1c6a512-1295-4272-9138-f99709370657
2006-04-04 00:55:16 +00:00
Daniel Stenberg
c16c727e54 killed warning due to comparison signed/unsigned
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9444 a1c6a512-1295-4272-9138-f99709370657
2006-04-02 23:06:20 +00:00
Jens Arnold
aff9a842e4 Backlight fading enabled for the mini 2G. Reeset & reload settings to avoid strange effects...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9441 a1c6a512-1295-4272-9138-f99709370657
2006-04-02 21:29:12 +00:00
Miika Pekkarinen
93b6a1d12c Prevent two division by zeros and one problem causing a crash in the
mp3 metadata parser.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9438 a1c6a512-1295-4272-9138-f99709370657
2006-04-02 20:19:00 +00:00
Jens Arnold
3a3304fa31 greyscale iPod LCD: Working display flip. * Correct register definitions for HD66753. * Correct 1/3 and 2/3 greylevels. * Some tweaks.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9414 a1c6a512-1295-4272-9138-f99709370657
2006-04-01 23:48:03 +00:00
Peter D'Hoye
769f18be1d simulator stubs for iriver recording, iriver sims now have a recording screen (doesn't actually record!)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9403 a1c6a512-1295-4272-9138-f99709370657
2006-04-01 15:52:06 +00:00