Jörg Hohensohn
d565269cfa
Change ROMbox to use BootBox-suitable start address. This will "break" it until the BootBox "rollout", with v2.5.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7420 a1c6a512-1295-4272-9138-f99709370657
2005-08-30 05:40:05 +00:00
Jens Arnold
d6c054575b
Renamed CONFIG_HWCODEC and MASNONE to the more appropriate CONFIG_CODEC and SWCODEC, respectively.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7416 a1c6a512-1295-4272-9138-f99709370657
2005-08-29 21:15:27 +00:00
Jens Arnold
99a0598c28
Major peakmeter rework: * Changed set/get functions for dbfs mode to bool type. * Removed performance setting, leaving (slightly adapted) high performance mode only. * Refresh rate is always 20 Hz now. * Readout doesn't do an extra (hidden) peek, should allow for slightly better clip detection. * Brought back high performance peakmeter for recording. Peakmeter stops hogging the CPU when the disk is spinning; this is enough to avoid the performance problem when saving data. * Optimisations, code cleanup and code policeing. * (iriver) Reduced CPU load of peakmeter by not calculating excessive overlaps. ** Bumped config block version, so save your settings before upgrading.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7415 a1c6a512-1295-4272-9138-f99709370657
2005-08-29 20:07:17 +00:00
Miika Pekkarinen
d7170b7542
iRiver: Reduced pops from the line out connector.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7411 a1c6a512-1295-4272-9138-f99709370657
2005-08-28 15:33:37 +00:00
Jens Arnold
6d54d6c088
SH1: Tiny optimisation of the thread scheduler.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7406 a1c6a512-1295-4272-9138-f99709370657
2005-08-26 22:52:31 +00:00
Linus Nielsen Feltzing
ae1241bf94
Ooops, didn't mean to commit that
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7399 a1c6a512-1295-4272-9138-f99709370657
2005-08-24 09:15:13 +00:00
Linus Nielsen Feltzing
4021798aec
FM radio: fix by Antonius Hellman, no more crash when loading preset files with more than 32 entries
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7398 a1c6a512-1295-4272-9138-f99709370657
2005-08-24 09:13:51 +00:00
Jörg Hohensohn
13be9f14d7
allow the flash plugin to verify the RomBox link address
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7388 a1c6a512-1295-4272-9138-f99709370657
2005-08-23 07:26:40 +00:00
Linus Nielsen Feltzing
50ef82ab68
Trying to enter STANDBY mode when entering USB mode seems to cause more trouble than it is worth.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7385 a1c6a512-1295-4272-9138-f99709370657
2005-08-22 13:27:56 +00:00
Jens Arnold
249f86cb34
Some slight size optimisations.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7383 a1c6a512-1295-4272-9138-f99709370657
2005-08-22 00:15:57 +00:00
Linus Nielsen Feltzing
0ad617cbf0
Patch #1105616 by Ray Lambert - A-B Repeat for Archos studio/recorder, still not 100% complete, but I wanted to commit it before the 2.5 feature freeze
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7380 a1c6a512-1295-4272-9138-f99709370657
2005-08-21 23:01:12 +00:00
Jens Arnold
658c8451ea
Coldfire: assembler optimised SWAB32() inline function. Added SWAW32() even if it isn't currently used.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7379 a1c6a512-1295-4272-9138-f99709370657
2005-08-21 22:43:00 +00:00
Jens Arnold
dece414749
Hooked up the runtime database on archos.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7376 a1c6a512-1295-4272-9138-f99709370657
2005-08-21 21:15:32 +00:00
Miika Pekkarinen
6e291fdcdf
Fixed and removed the most annoying pops with iRiver.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7368 a1c6a512-1295-4272-9138-f99709370657
2005-08-21 17:34:56 +00:00
Miika Pekkarinen
b529289e93
Fixed the usb mode. We did hit the thread limit which was now
...
increased from 10 to 14.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7367 a1c6a512-1295-4272-9138-f99709370657
2005-08-21 12:51:00 +00:00
Miika Pekkarinen
b4bdfee43c
Fixed "if there are less than 2 bytes left in the buffer, then
...
framelen is set to 0 or -1", thanks to Frank Dischner.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7361 a1c6a512-1295-4272-9138-f99709370657
2005-08-20 18:19:56 +00:00
Miika Pekkarinen
159c52dd36
Initial voice ui support for software codec platforms. Added also a
...
beep when changing tracks.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7360 a1c6a512-1295-4272-9138-f99709370657
2005-08-20 11:13:19 +00:00
Jens Arnold
329caa8ade
More mpeg.c cleanup: collected variables and declarations at the top, more #if/#ifdef fixup. Cut a bit of binary size by making debug_tags() an empty define for ordinary builds.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7359 a1c6a512-1295-4272-9138-f99709370657
2005-08-19 22:39:01 +00:00
Linus Nielsen Feltzing
7db258f3c7
Removed the uda1380_mute() calls, since they were called in interrupt context, which could lead to a big crash. This will reintroduce a slight pop when starting/stopping playbac, and when switching tracks.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7357 a1c6a512-1295-4272-9138-f99709370657
2005-08-19 12:29:28 +00:00
Linus Nielsen Feltzing
d71f7824a1
Properly skip the ID3v2 extended header for both 2.3 and 2.4
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7356 a1c6a512-1295-4272-9138-f99709370657
2005-08-19 09:43:47 +00:00
Jens Arnold
1d38aa19e7
Cleaned up remnants of early iriver development. First part of #if/#ifdef cleanup,adjusted comments.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7355 a1c6a512-1295-4272-9138-f99709370657
2005-08-19 06:43:50 +00:00
Jens Arnold
363bc490ff
Use the provided function to calculate the unsaved space in rec_tick().
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7344 a1c6a512-1295-4272-9138-f99709370657
2005-08-18 04:38:57 +00:00
Jonas Häggqvist
e1fb48767b
Avoid zero values for defines to minimize problems where they're compared to undefined values.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7335 a1c6a512-1295-4272-9138-f99709370657
2005-08-17 05:03:33 +00:00
Linus Nielsen Feltzing
1d28240330
Enlarged the buffer for DEBUGF()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7333 a1c6a512-1295-4272-9138-f99709370657
2005-08-16 08:32:43 +00:00
Linus Nielsen Feltzing
d3fde76fc7
FM radio simulation working again
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7332 a1c6a512-1295-4272-9138-f99709370657
2005-08-16 06:50:25 +00:00
Linus Nielsen Feltzing
d7dd2f8b81
iriver: Always turn on the backlight in backlight_init()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7330 a1c6a512-1295-4272-9138-f99709370657
2005-08-15 07:18:36 +00:00
Linus Nielsen Feltzing
073f83ada3
Correct usage of ICODE_ATTR in memcpy.c and strlen.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7328 a1c6a512-1295-4272-9138-f99709370657
2005-08-15 05:33:10 +00:00
Linus Nielsen Feltzing
fb5d2629a1
Corrected UART register names
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7325 a1c6a512-1295-4272-9138-f99709370657
2005-08-13 22:12:40 +00:00
Linus Nielsen Feltzing
53d2fc3c0a
CONFIG_TUNER is a bitmask
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7321 a1c6a512-1295-4272-9138-f99709370657
2005-08-13 18:13:56 +00:00
Linus Nielsen Feltzing
ab543c71a9
Forgot that the simulator doesn't simulate the FM radio
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7320 a1c6a512-1295-4272-9138-f99709370657
2005-08-13 18:10:51 +00:00
Linus Nielsen Feltzing
b626269b94
Oops
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7319 a1c6a512-1295-4272-9138-f99709370657
2005-08-13 18:09:06 +00:00
Linus Nielsen Feltzing
8c7589bc96
Very lame, initial support for FM radio on the iriver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7318 a1c6a512-1295-4272-9138-f99709370657
2005-08-13 17:35:02 +00:00
Linus Nielsen Feltzing
adec21acbe
The Ondio uses a different crystal for the TEA5767 than iriver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7317 a1c6a512-1295-4272-9138-f99709370657
2005-08-13 17:34:10 +00:00
Linus Nielsen Feltzing
cc5d96f8a9
The iriver FM radio I2C cannot use the I2C controller, so we do the good old bitbanging instead
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7316 a1c6a512-1295-4272-9138-f99709370657
2005-08-13 17:32:15 +00:00
Linus Nielsen Feltzing
4af4251076
Add pcm_set_mux() for switching between FM radio and Line input
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7315 a1c6a512-1295-4272-9138-f99709370657
2005-08-13 17:28:59 +00:00
Magnus Holmgren
501ab1a17f
Support the LAME Info header too.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7313 a1c6a512-1295-4272-9138-f99709370657
2005-08-13 08:09:28 +00:00
Jens Arnold
f71d8d3e57
Backlight dimming: Don't unboost the CPU from within the isr.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7310 a1c6a512-1295-4272-9138-f99709370657
2005-08-11 21:47:52 +00:00
Jens Arnold
48b6130123
Backlight dimming: Protect from extraneous calls with the same target value. This led to very short boost/unboost sequences for every button event before, one trigger for the volume lag bug.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7309 a1c6a512-1295-4272-9138-f99709370657
2005-08-11 21:22:54 +00:00
Magnus Holmgren
436901a86b
Only check for frames with three-letter names when parsing ID3V2.2 tags (and only check four-letter names when parsing ID3V2.3+ tags).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7306 a1c6a512-1295-4272-9138-f99709370657
2005-08-11 19:59:47 +00:00
Magnus Holmgren
889ab162a5
Cast to unsigned isn't enough in the isXXXX macros (chars > 127 caused a negative array index). With a cast to unsigned char, the macros work as expected. The other macros were changed accordingly.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7305 a1c6a512-1295-4272-9138-f99709370657
2005-08-11 19:32:39 +00:00
Linus Nielsen Feltzing
dc4a6b828e
iriver: Moved the I2C prescaler setting to i2c_init(), and removed it from set_cpu_frequency(). The Coldfire I2C controller can't handle on-the-fly prescaler changes. Also removed the unnecessary slave address setting in i2c_init.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7304 a1c6a512-1295-4272-9138-f99709370657
2005-08-11 19:00:55 +00:00
Magnus Holmgren
5a8eac1a5a
Added pre-amp setting for files with ReplayGain information.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7303 a1c6a512-1295-4272-9138-f99709370657
2005-08-11 18:56:20 +00:00
Linus Nielsen Feltzing
41a53d2c1c
Patch #783877 by Gadi Cohen updated by Naftali Goldstein - Bidirectional text support for Hebrew and Arabic
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7292 a1c6a512-1295-4272-9138-f99709370657
2005-08-08 19:23:28 +00:00
Michiel Van Der Kolk
4a271b6bc9
typos fixed...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7287 a1c6a512-1295-4272-9138-f99709370657
2005-08-06 10:30:37 +00:00
Christian Gmeiner
14e80671af
iAudio: First unfinished attempt for tlv320 driver and rockbox integration
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7286 a1c6a512-1295-4272-9138-f99709370657
2005-08-06 10:12:19 +00:00
Daniel Stenberg
0f820d6ed7
Increased maximum file size for models with LCD height larger than 64 to
...
10000 bytes. Also adjusted the buildzip script to dynamically figure out the
maximum buffer size for the particular build that the zip is made for.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7280 a1c6a512-1295-4272-9138-f99709370657
2005-08-03 21:31:51 +00:00
Christian Gmeiner
e6ad9458d1
headphone volume should be correct now
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7279 a1c6a512-1295-4272-9138-f99709370657
2005-08-02 04:47:24 +00:00
Jens Arnold
a691db61a6
Killed signed/unsigned inconsistency
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7275 a1c6a512-1295-4272-9138-f99709370657
2005-08-01 01:27:10 +00:00
Christian Gmeiner
102faf473c
oops... fixes red build
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7272 a1c6a512-1295-4272-9138-f99709370657
2005-07-31 17:52:55 +00:00
Christian Gmeiner
4894a06a15
iAudio, iRiver: As both platforms use the same i2c interface i have renamed i2c-h100.c/h to i2c-coldfire.c/h. Also i have changed some stuff in config.h and config-xx.h. Hope everybody agrees with this patch, else we can unroll and improve it.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7271 a1c6a512-1295-4272-9138-f99709370657
2005-07-31 17:31:33 +00:00
Christian Gmeiner
6109a3b0be
iAudio: adding support for mcf5250
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7270 a1c6a512-1295-4272-9138-f99709370657
2005-07-31 08:43:36 +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
Christian Gmeiner
86c8586e47
iAudio: Preperations for audio codec driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7256 a1c6a512-1295-4272-9138-f99709370657
2005-07-29 12:58:59 +00:00
Jens Arnold
05af28036e
Fixed scroll step settings >127 pixels not working (reported on irc). Changed some other LCD driver variables to the natural 'int', cuts down binary size on coldfire a bit. Cleaned up some more settings bits. Bumped config block version, so save your settings to a file before upgrading.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7247 a1c6a512-1295-4272-9138-f99709370657
2005-07-28 08:36:24 +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
Jens Arnold
e44372ef18
Moved implementation of user timer to the firmware layer, implemented it for iriver, and made it shareable based on priorities. On iriver, the user timer is shared between the backlight fading and other use, so if a plugin registers the timer, the backlight will resort to simple on/off switching until the plugin releases the timer again. Sorted and bumped the plugin api.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7242 a1c6a512-1295-4272-9138-f99709370657
2005-07-26 20:01:11 +00:00
Dave Bryant
27c83252e2
The peak meter on iRiver didn't look right to me and the code seemed to be
...
making it a lot more complicated that it needed to be, so I threw in some new
code. This should be easy to adjust for different CPU loads, and I set it up
to use a little less than what was there. If this causes any trouble, please
roll it back.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7238 a1c6a512-1295-4272-9138-f99709370657
2005-07-25 05:50:47 +00:00
Magnus Holmgren
4a53787992
ReplayGain support for Ogg Vorbis files (also called VorbisGain) added.
...
Note that there is a small delay from leaving a setting until the change
can be heard (due to audio data buffering).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7234 a1c6a512-1295-4272-9138-f99709370657
2005-07-24 15:32:28 +00:00
Magnus Holmgren
6bd8e5db08
ReplayGain support files.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7233 a1c6a512-1295-4272-9138-f99709370657
2005-07-24 15:25:13 +00:00
Miika Pekkarinen
90161c92dd
It's now possible to select the crossfading mode: "Off, Crossfade,
...
Mix". If set to mix, no fading is applied but tracks are mixed up.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7224 a1c6a512-1295-4272-9138-f99709370657
2005-07-22 16:46:27 +00:00
Miika Pekkarinen
eab434c416
More accurate playback position calculation.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7218 a1c6a512-1295-4272-9138-f99709370657
2005-07-22 06:32:55 +00:00
Miika Pekkarinen
ebb9099ca2
Forgot to commit these files.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7211 a1c6a512-1295-4272-9138-f99709370657
2005-07-21 12:03:38 +00:00
Miika Pekkarinen
f090dc3829
Crossfade (and pcm buffer size) length is now configurable.
...
Implemented anti-skip buffer setting for iriver also. Settings block
bumped up, PLEASE SAVE YOUR SETTINGS BEFORE UPGRADING.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7210 a1c6a512-1295-4272-9138-f99709370657
2005-07-21 11:44:00 +00:00
Miika Pekkarinen
bd1131e748
Implemented mp3_pause_done() for software codecs to make wps correctly
...
wait for pause to complete when fading the volume.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7205 a1c6a512-1295-4272-9138-f99709370657
2005-07-20 01:58:27 +00:00
Jens Arnold
b0e056b5ae
More preparations and conversions for colour LCD support.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7195 a1c6a512-1295-4272-9138-f99709370657
2005-07-19 10:33:41 +00:00
Jens Arnold
82ea7c3bac
Renamed MAX_LEVEL to LCD_MAX_LEVEL to match the naming scheme. Preparations for colour LCD support.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7194 a1c6a512-1295-4272-9138-f99709370657
2005-07-19 09:24:29 +00:00
Linus Nielsen Feltzing
144fc69a9f
Added MODEL_NUMBER for H300
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7193 a1c6a512-1295-4272-9138-f99709370657
2005-07-19 08:23:33 +00:00
Linus Nielsen Feltzing
e8da7e6b15
iriver: let the boot loader decide when to power on the hard drive
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7191 a1c6a512-1295-4272-9138-f99709370657
2005-07-19 07:04:40 +00:00
Linus Nielsen Feltzing
4c5f25d523
iriver: set the S/PDIF Validity flag correctly
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7189 a1c6a512-1295-4272-9138-f99709370657
2005-07-18 15:55:56 +00:00
Linus Nielsen Feltzing
aa1042286a
Fixed RoLo for H100 targets
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7188 a1c6a512-1295-4272-9138-f99709370657
2005-07-18 15:50:06 +00:00
Christian Gmeiner
c6ff1f5eb5
Added CPU_COLDFIRE define - one step closer to iAudio-port
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7186 a1c6a512-1295-4272-9138-f99709370657
2005-07-18 12:40:29 +00:00
Miika Pekkarinen
2103cf4b74
Check that remaining bytes counter is not zero.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7183 a1c6a512-1295-4272-9138-f99709370657
2005-07-17 21:02:40 +00:00
Miika Pekkarinen
e9919342c5
Initial attempt to support peak meter on iriver. It still has some
...
strange behaviour and readings might not be correct.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7182 a1c6a512-1295-4272-9138-f99709370657
2005-07-17 19:29:02 +00:00
Linus Nielsen Feltzing
170bb8eb78
iriver: Reduced LCD write cycle length to 65ns, almost halving the execution time for lcd_update, from 1.8ms to 1ms in 120MHz
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7181 a1c6a512-1295-4272-9138-f99709370657
2005-07-17 15:59:32 +00:00
Linus Nielsen Feltzing
182ad9bbc2
iriver: Adjusted to optimal I2C bit rates
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7179 a1c6a512-1295-4272-9138-f99709370657
2005-07-17 13:42:59 +00:00
Jens Arnold
2ef8a8722d
Fixed lcd_blit().
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7170 a1c6a512-1295-4272-9138-f99709370657
2005-07-16 02:09:22 +00:00
Christian Gmeiner
1636d2e22b
iAudio: first try - things could be wrong or missing
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7164 a1c6a512-1295-4272-9138-f99709370657
2005-07-15 21:22:10 +00:00
Jens Arnold
bf9f28b03b
Greyscale graphics driver: Added missing function.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7141 a1c6a512-1295-4272-9138-f99709370657
2005-07-14 18:11:36 +00:00
Miika Pekkarinen
b0e78a4674
Fixed the errors.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7133 a1c6a512-1295-4272-9138-f99709370657
2005-07-13 13:13:10 +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
Linus Nielsen Feltzing
b3437ecbfe
More atomic GPIO
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7123 a1c6a512-1295-4272-9138-f99709370657
2005-07-12 12:16:17 +00:00
Daniel Stenberg
db4fb95585
make the ctype array unsigned so that bit 7 (octal 0200) can be set and
...
used properly without warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7120 a1c6a512-1295-4272-9138-f99709370657
2005-07-12 11:06:38 +00:00
Linus Nielsen Feltzing
526f7978e5
Removed an extra semicolon
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7118 a1c6a512-1295-4272-9138-f99709370657
2005-07-12 10:30:30 +00:00
Linus Nielsen Feltzing
a19acbdadd
Removed picky warnings
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7116 a1c6a512-1295-4272-9138-f99709370657
2005-07-12 10:05:13 +00:00
Linus Nielsen Feltzing
192a604cd4
Atomic GPIO access
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7114 a1c6a512-1295-4272-9138-f99709370657
2005-07-12 07:25:01 +00:00
Linus Nielsen Feltzing
3382abaf58
added uda1380_reset()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7112 a1c6a512-1295-4272-9138-f99709370657
2005-07-12 05:25:03 +00:00
Linus Nielsen Feltzing
56fb177111
Inverted S/PDIF control on H110
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7111 a1c6a512-1295-4272-9138-f99709370657
2005-07-12 04:53:14 +00:00
Jens Arnold
9cce5c3727
Adjustment for bootbox.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7107 a1c6a512-1295-4272-9138-f99709370657
2005-07-11 20:29:05 +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
1ed292ca5e
Fixed an audio burst coming out when pausing a track with fading
...
enabled.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7095 a1c6a512-1295-4272-9138-f99709370657
2005-07-10 17:31:12 +00:00
Linus Nielsen Feltzing
557308e68e
Wrong iriver model check
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7083 a1c6a512-1295-4272-9138-f99709370657
2005-07-09 07:54:40 +00:00
Linus Nielsen Feltzing
62c768c0db
Recovered from my major brain failure and reverted to using the same load address for both H110 and H120/140
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7082 a1c6a512-1295-4272-9138-f99709370657
2005-07-09 07:46:42 +00:00
Miika Pekkarinen
5d9e0536ea
Some playback fixes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7076 a1c6a512-1295-4272-9138-f99709370657
2005-07-08 20:01:06 +00:00
Jens Arnold
b5fc2530a7
Removed the XYZ_PIXEL() macros. They are no longer needed, and they did only work correctly for b&w.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7074 a1c6a512-1295-4272-9138-f99709370657
2005-07-08 19:09:17 +00:00
Linus Nielsen Feltzing
2d25122431
H110 adjustments
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7071 a1c6a512-1295-4272-9138-f99709370657
2005-07-08 15:08:59 +00:00
Linus Nielsen Feltzing
8b6c133bb1
SDRAM setup adjusted for H110 models
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7070 a1c6a512-1295-4272-9138-f99709370657
2005-07-08 15:08:13 +00:00
Linus Nielsen Feltzing
e257042a5d
Adjusted refresh timer for H110
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7069 a1c6a512-1295-4272-9138-f99709370657
2005-07-08 15:03:05 +00:00
Linus Nielsen Feltzing
3b5fdbeb1f
USB is the same on all H1x0 models
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7068 a1c6a512-1295-4272-9138-f99709370657
2005-07-08 15:00:31 +00:00
Linus Nielsen Feltzing
2cf25d0c10
ADC is the same on all H1x0 models
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7067 a1c6a512-1295-4272-9138-f99709370657
2005-07-08 15:00:06 +00:00
Henrik Backe
a670e341cc
Fixed skip bug at buffer refill
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7064 a1c6a512-1295-4272-9138-f99709370657
2005-07-08 09:55:22 +00:00
Daniel Stenberg
8f895def2c
safety precaution to detect an envrionment running with the old setup
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7063 a1c6a512-1295-4272-9138-f99709370657
2005-07-08 06:53:21 +00:00
Daniel Stenberg
8493ccb285
Renamed the iriver h120 defines and configs to "h120"! Added initial support
...
for the h100 series.
Please re-run configure.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7062 a1c6a512-1295-4272-9138-f99709370657
2005-07-08 06:31:13 +00:00
Jens Arnold
3a5bd7acb6
Enabled scrolling on the remote LCD in the simulator. Some small shortcuts in the H1x0 remote LCD driver and the recorder LCD driver.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7057 a1c6a512-1295-4272-9138-f99709370657
2005-07-07 21:03:58 +00:00
Hardeep Sidhu
81b32e0931
Only update resume info when playing. Fixes resume when exiting recording/radio screens.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7056 a1c6a512-1295-4272-9138-f99709370657
2005-07-07 16:57:10 +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
Jens Arnold
d7f9439353
Adapted remote LCD driver and player graphics library to the new bitmap function naming scheme.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7047 a1c6a512-1295-4272-9138-f99709370657
2005-07-07 00:05:29 +00:00
Jens Arnold
f894a4c269
4-shades greyscale graphics core for iriver H1x0. 4-grey rockbox logo and light grey background in splash() boxes. Simplified the splash() box creation as the new graphics core does clipping. Adapted screendump feature and added flexible preprocessing to construct the bmp header. Rockboy now uses 4-grey mode as well. 4-grey support for win32 simulator. Fixed win32 player sim to not use double bitmap conversion via a recorder-like framebuffer, and correctly display double-height text. X11 simulator temporarily adapted. The display won't be distorted, but it still shows b&w only.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7046 a1c6a512-1295-4272-9138-f99709370657
2005-07-06 22:58:02 +00:00
Tomas Salfischberger
3d25240f41
(1) Set cpu to 11 Mhz when we "crash" to prevent overheating.
...
(2) Bind the ON button to reboot when we are in the crashed state.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7044 a1c6a512-1295-4272-9138-f99709370657
2005-07-06 20:42:00 +00:00
Miika Pekkarinen
2023b47293
Decreased pcm buffer low watermark when crossfade is not enabled.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7036 a1c6a512-1295-4272-9138-f99709370657
2005-07-06 08:20:53 +00:00
Miika Pekkarinen
2e9ce4ee47
Now codec names are in sync.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7032 a1c6a512-1295-4272-9138-f99709370657
2005-07-05 20:35:43 +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
3e33a0f8ee
More crossfade adjustments. Now crossfade should work shortly even if
...
the disk was not spinning while a new track was loaded from the disk.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7028 a1c6a512-1295-4272-9138-f99709370657
2005-07-05 15:51:59 +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
Linus Nielsen Feltzing
a10bb59331
Now the CPU is idle in USB mode
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7024 a1c6a512-1295-4272-9138-f99709370657
2005-07-05 08:02:48 +00:00
Linus Nielsen Feltzing
9b226fef0e
New power-conserving CPU idle mode
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7023 a1c6a512-1295-4272-9138-f99709370657
2005-07-05 07:58:19 +00:00
Miika Pekkarinen
aa30f0483b
Fixed crossfading.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7022 a1c6a512-1295-4272-9138-f99709370657
2005-07-05 07:25:55 +00:00
Miika Pekkarinen
72550d94b6
More accurate runtime estimate calculation for iriver (still not very
...
accurate with other than 128k mp3 files).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7021 a1c6a512-1295-4272-9138-f99709370657
2005-07-05 07:09:19 +00:00
Linus Nielsen Feltzing
6e80ac39a5
New poweroff handling, using the SYS_POWEROFF event, allowing plugins to save their settings before powering off.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7019 a1c6a512-1295-4272-9138-f99709370657
2005-07-05 00:03:18 +00:00
Hardeep Sidhu
839dbcaed7
Moved resume info updating to the mpeg/playback threads so that it's saved even when not in the WPS
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7018 a1c6a512-1295-4272-9138-f99709370657
2005-07-04 22:50:57 +00:00
Linus Nielsen Feltzing
713db304bc
Disable backlight in the bootloader
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7016 a1c6a512-1295-4272-9138-f99709370657
2005-07-04 22:42:44 +00:00
Miika Pekkarinen
55819b7859
Increased low watermark limit.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7012 a1c6a512-1295-4272-9138-f99709370657
2005-07-04 19:17:55 +00:00
Jens Arnold
1d5f07b0a6
Preparation for 4-grey LCD mode on H1x0.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7008 a1c6a512-1295-4272-9138-f99709370657
2005-07-04 06:25:31 +00:00
Jens Arnold
f89f011508
Converted to use the IRAM defines, and some small optimisations.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7007 a1c6a512-1295-4272-9138-f99709370657
2005-07-04 06:20:50 +00:00
Jens Arnold
c0e6ed6b66
Corrent ICODE_ATTR and IDATA_ATTR for CalmRISC16.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7006 a1c6a512-1295-4272-9138-f99709370657
2005-07-04 06:10:44 +00:00
Michiel Van Der Kolk
765cd6d5e7
(in theory) more efficient (battery wise) runtime database code.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6999 a1c6a512-1295-4272-9138-f99709370657
2005-07-03 21:08:16 +00:00
Miika Pekkarinen
0a9dec60b5
Make sure we unboost the cpu while stopping playback.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6998 a1c6a512-1295-4272-9138-f99709370657
2005-07-03 19:58:33 +00:00
Miika Pekkarinen
f3a1351bcd
Slightly longer sleep to prevent pops when resuming from paused state.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6996 a1c6a512-1295-4272-9138-f99709370657
2005-07-03 18:54:48 +00:00
Miika Pekkarinen
349f39a7f4
Fixed pops when starting playback.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6993 a1c6a512-1295-4272-9138-f99709370657
2005-07-03 15:25:06 +00:00
Jens Arnold
bb3ed3cda9
Use the central IDATA_ATTR define.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6992 a1c6a512-1295-4272-9138-f99709370657
2005-07-03 15:09:11 +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
Jens Arnold
a8cadd8181
Iriver: atomic I/O port manipulation macros, to avoid interference between normal and interrupt code. Todo: all other places that do port manipulation on ports which may also be changed from an intterupt should use that as well. It even decreases binary size a bit.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6985 a1c6a512-1295-4272-9138-f99709370657
2005-07-02 12:18:10 +00:00
Jens Arnold
3291ae6bfa
A couple of optimisations.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6981 a1c6a512-1295-4272-9138-f99709370657
2005-07-02 07:21:21 +00:00
Miika Pekkarinen
45d6fa916c
Fixed pops from headphone audio output.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6977 a1c6a512-1295-4272-9138-f99709370657
2005-07-01 21:23:07 +00:00
Miika Pekkarinen
4ec80704d5
Fixed pause.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6968 a1c6a512-1295-4272-9138-f99709370657
2005-07-01 17:13:33 +00:00
Miika Pekkarinen
6d887afc3e
Vorbis playback problems fixed.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6967 a1c6a512-1295-4272-9138-f99709370657
2005-07-01 17:05:09 +00:00
Jens Arnold
0ec97339ae
Check for features, not for models.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6966 a1c6a512-1295-4272-9138-f99709370657
2005-07-01 16:22:56 +00:00
Hardeep Sidhu
c8ce78aa90
Don't update playlist when no tracks in memory. Fixes looping bug when repeat shuffle is enabled in a directory that contains only invalid tracks
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6964 a1c6a512-1295-4272-9138-f99709370657
2005-07-01 12:06:30 +00:00
Hardeep Sidhu
71d2281d8b
Added new feature to move to next folder once the current one completes when playing directories
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6963 a1c6a512-1295-4272-9138-f99709370657
2005-07-01 11:25:16 +00:00
Daniel Stenberg
50264b243e
the h300 models have hold too
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6962 a1c6a512-1295-4272-9138-f99709370657
2005-07-01 09:46:48 +00:00
Linus Nielsen Feltzing
8782bc8392
New config option for optical out on iriver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6960 a1c6a512-1295-4272-9138-f99709370657
2005-07-01 09:42:39 +00:00
Marcoen Hirschberg
e02a1a534d
- enable S/PDIF optical output
...
- set the proper noise shape filter
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6959 a1c6a512-1295-4272-9138-f99709370657
2005-07-01 07:55:19 +00:00
Miika Pekkarinen
87d4d1203c
Fixed a crash with pcm audio pausing. This should prevent many
...
crashes from happening.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6954 a1c6a512-1295-4272-9138-f99709370657
2005-06-30 20:02:56 +00:00
Jens Arnold
a142d4d79f
Graphics: Lowlevel block function are in IRAM now as they're called often. Switched the masking logic for better readability. Draw modes and lowlevel function types are now defined for all platforms.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6952 a1c6a512-1295-4272-9138-f99709370657
2005-06-30 18:42:24 +00:00
Miika Pekkarinen
3b90707fdd
Fixed a bug where a few seconds from end of a song was cut out.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6951 a1c6a512-1295-4272-9138-f99709370657
2005-06-30 16:28:40 +00:00
Michiel Van Der Kolk
8764bbc275
decrease to 30
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6950 a1c6a512-1295-4272-9138-f99709370657
2005-06-30 15:33:43 +00:00
Michiel Van Der Kolk
25b55e16bc
better logf
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6949 a1c6a512-1295-4272-9138-f99709370657
2005-06-30 15:14:33 +00:00
Linus Nielsen Feltzing
b371cbb39e
Removed outdated win32.mak
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6947 a1c6a512-1295-4272-9138-f99709370657
2005-06-30 11:15:51 +00:00
Linus Nielsen Feltzing
2025d1435a
Removed firmware/fonts
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6946 a1c6a512-1295-4272-9138-f99709370657
2005-06-30 11:13:10 +00:00
Linus Nielsen Feltzing
e118154e37
The firmware/fonts directory is now removed, and we now use fonts/rockbox_default.bdf to create the internal font
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6945 a1c6a512-1295-4272-9138-f99709370657
2005-06-30 10:52:51 +00:00