summaryrefslogtreecommitdiffstats
path: root/firmware
AgeCommit message (Collapse)AuthorFilesLines
2005-09-21This commit was manufactured by cvs2svn to create tag 'v2_5'.v2.5-finalBjörn Stenberg4-0/+3208
git-svn-id: svn://svn.rockbox.org/rockbox/tags/v2_5@7531 a1c6a512-1295-4272-9138-f99709370657
2005-09-15Archos recording/playback: (1) Xing header creation: * Now estimates the ↵Jens Arnold4-66/+78
framecount from the recording time if the MAS frame counter saturates, so it always writes a valid Xing header. * Reverted my brainless short-xing-header change. This was only valid for layer 3. (2) Xing/VBRI header evaluation: Fixed possible overflow in bitrate calculation. (3) MPEG thread: Avoid double chunk size limiting for the rare case of 8 MB modded Ondios. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7522 a1c6a512-1295-4272-9138-f99709370657
2005-09-14The power thread now monitors the shutdown process and forces a poweroff if ↵Linus Nielsen Feltzing3-14/+24
it takes more than 8 seconds. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7517 a1c6a512-1295-4272-9138-f99709370657
2005-09-12Safety net for devices with no hardware poweroff mechanism - hold STOP for ↵Linus Nielsen Feltzing1-0/+7
several seconds to force a poweroff if the normal shutdown fails git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7512 a1c6a512-1295-4272-9138-f99709370657
2005-09-12Fixed compiler error in the X11 iriver simulatorLinus Nielsen Feltzing1-0/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7511 a1c6a512-1295-4272-9138-f99709370657
2005-09-12Now panicf() shuts off the hard drive and lowers the CPU frequency, it also ↵Linus Nielsen Feltzing2-1/+29
reboots if ON is pressed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7510 a1c6a512-1295-4272-9138-f99709370657
2005-09-10Reworked handling of MPEG audio frame & file info: * Fixed frame size ↵Jens Arnold5-146/+125
calculation for layer 1 (all versions) and layer 2 (V2/V2.5). * Exact frame time (expressed as a fraction) for way more precise playtime calculation at 44100/22050/11025Hz sample frequency. * Exact playtime<->position conversion for CBR also used for resume position. * More compact code, long policy. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7505 a1c6a512-1295-4272-9138-f99709370657
2005-09-09Exact song length calculation for CBR mpeg audio files (without Info header).Jens Arnold1-6/+5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7502 a1c6a512-1295-4272-9138-f99709370657
2005-09-08The previous commit had a distressing lack of words. This time I deliver the ↵Jonas Häggqvist1-3/+4
promised Christian Gangsta Rap. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7500 a1c6a512-1295-4272-9138-f99709370657
2005-09-07Added support for additional ID3v1 genres, including such gems as "Christian ↵Jonas Häggqvist1-1/+5
gangsta rap" and "Negerpunk". git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7499 a1c6a512-1295-4272-9138-f99709370657
2005-09-07coldfire_set_macsr(): (1) The argument isn't necessarily constant. (2) Let ↵Jens Arnold1-2/+2
the compiler choose whether to use a register or an immediate. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7491 a1c6a512-1295-4272-9138-f99709370657
2005-09-07Adds a filename sanity check to add_dir_entry that at the moment only checks ↵Jonas Häggqvist1-2/+20
for names ending in a period, but can easily be extended. Changes the error codes for add_dir_entry. Fixes bug #782248. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7487 a1c6a512-1295-4272-9138-f99709370657
2005-09-07Adapted codecs and DSP system to having MACSR saved in thread context.Thom Johansen1-2/+15
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7485 a1c6a512-1295-4272-9138-f99709370657
2005-09-06Moved the system_reboot() call to the correct placeLinus Nielsen Feltzing1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7483 a1c6a512-1295-4272-9138-f99709370657
2005-09-06Ondio FM: Removed S/PDIF option for recording source, as the Ondio doesn't ↵Jens Arnold3-0/+9
have S/PDIF input. Bumped config block version so save your settings. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7482 a1c6a512-1295-4272-9138-f99709370657
2005-09-06Call system_reboot() instead of rolo_load() in the UIE handlerLinus Nielsen Feltzing1-2/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7479 a1c6a512-1295-4272-9138-f99709370657
2005-09-06For targets without an RTC, use the rockbox build date as the start date in ↵Jens Arnold2-3/+11
the FAT driver. No more 2003-08-01 files. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7478 a1c6a512-1295-4272-9138-f99709370657
2005-09-06Changed WPS enum conditional functionality, displaying the last part in the ↵Linus Nielsen Feltzing1-0/+2
list if the tag has no value. Also added enum support for battery (5 steps) and volume (10 steps). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7476 a1c6a512-1295-4272-9138-f99709370657
2005-09-05Archos recording: yield() within audio_beep() to avoid starving the mpeg ↵Jens Arnold1-1/+2
thread; recording beep should no longer disturb prerecording. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7475 a1c6a512-1295-4272-9138-f99709370657
2005-09-04Archos recording: Always prepend ID3V2 and Xing header to a recording file, ↵Jens Arnold4-171/+184
even with prerecording and file splitting. Adjusted Xing header creation to create smaller headers. Fixed missing break; in the mpeg thread. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7472 a1c6a512-1295-4272-9138-f99709370657
2005-09-02Fixed associate problem with file extensions (.info files matched .nfo ↵Henrik Backe10-20/+20
extension) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7456 a1c6a512-1295-4272-9138-f99709370657
2005-09-02Adjusted the file size calculation when prerecordingLinus Nielsen Feltzing1-2/+10
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7451 a1c6a512-1295-4272-9138-f99709370657
2005-09-01Iriver: Changed the IRAM splitting between core and plugins to 48KB/48KB, ↵Jens Arnold1-2/+2
and reduced the main thread stack to 8KB, same size as on archos. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7447 a1c6a512-1295-4272-9138-f99709370657
2005-09-01Coldfire: Made the MACSR register part of the thread context to allow easier ↵Jens Arnold1-11/+14
handling in the codecs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7445 a1c6a512-1295-4272-9138-f99709370657
2005-09-01Restructured codec type handling a bit. Reduced code size, esp. on archos.Jens Arnold2-10/+11
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7443 a1c6a512-1295-4272-9138-f99709370657
2005-09-01Corrected the codec format tableLinus Nielsen Feltzing1-8/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7442 a1c6a512-1295-4272-9138-f99709370657
2005-09-01Fixed the WPS codec type conditional, and removed unsupported formats from ↵Linus Nielsen Feltzing2-12/+1
the format enum git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7441 a1c6a512-1295-4272-9138-f99709370657
2005-08-30Archos: Even more NULL pointer accesses removedLinus Nielsen Feltzing1-4/+10
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7433 a1c6a512-1295-4272-9138-f99709370657
2005-08-30Archos: Removed NULL pointer accesses when changing tracksLinus Nielsen Feltzing1-3/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7431 a1c6a512-1295-4272-9138-f99709370657
2005-08-30Archos: Trap UserBrk in the gdb debuggerLinus Nielsen Feltzing1-0/+6
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7429 a1c6a512-1295-4272-9138-f99709370657
2005-08-30Patch #1161046 by Bryan Vandyke - id3v2 frames with size 0 may cause rockbox ↵Linus Nielsen Feltzing1-3/+8
to miss tags git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7426 a1c6a512-1295-4272-9138-f99709370657
2005-08-30Change ROMbox to use BootBox-suitable start address. This will "break" it ↵Jörg Hohensohn6-6/+12
until the BootBox "rollout", with v2.5. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7420 a1c6a512-1295-4272-9138-f99709370657
2005-08-29Renamed CONFIG_HWCODEC and MASNONE to the more appropriate CONFIG_CODEC and ↵Jens Arnold26-126/+126
SWCODEC, respectively. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7416 a1c6a512-1295-4272-9138-f99709370657
2005-08-29Major peakmeter rework: * Changed set/get functions for dbfs mode to bool ↵Jens Arnold1-7/+7
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-28iRiver: Reduced pops from the line out connector.Miika Pekkarinen2-7/+9
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7411 a1c6a512-1295-4272-9138-f99709370657
2005-08-26SH1: Tiny optimisation of the thread scheduler.Jens Arnold1-3/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7406 a1c6a512-1295-4272-9138-f99709370657
2005-08-24Ooops, didn't mean to commit thatLinus Nielsen Feltzing1-3/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7399 a1c6a512-1295-4272-9138-f99709370657
2005-08-24FM radio: fix by Antonius Hellman, no more crash when loading preset files ↵Linus Nielsen Feltzing1-3/+3
with more than 32 entries git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7398 a1c6a512-1295-4272-9138-f99709370657
2005-08-23allow the flash plugin to verify the RomBox link addressJörg Hohensohn1-0/+8
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7388 a1c6a512-1295-4272-9138-f99709370657
2005-08-22Trying to enter STANDBY mode when entering USB mode seems to cause more ↵Linus Nielsen Feltzing1-1/+0
trouble than it is worth. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7385 a1c6a512-1295-4272-9138-f99709370657
2005-08-22Some slight size optimisations.Jens Arnold1-10/+10
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7383 a1c6a512-1295-4272-9138-f99709370657
2005-08-21Patch #1105616 by Ray Lambert - A-B Repeat for Archos studio/recorder, still ↵Linus Nielsen Feltzing6-8/+108
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-21Coldfire: assembler optimised SWAB32() inline function. Added SWAW32() even ↵Jens Arnold1-3/+23
if it isn't currently used. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7379 a1c6a512-1295-4272-9138-f99709370657
2005-08-21Hooked up the runtime database on archos.Jens Arnold2-7/+125
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7376 a1c6a512-1295-4272-9138-f99709370657
2005-08-21Fixed and removed the most annoying pops with iRiver.Miika Pekkarinen1-24/+33
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7368 a1c6a512-1295-4272-9138-f99709370657
2005-08-21Fixed the usb mode. We did hit the thread limit which was nowMiika Pekkarinen1-1/+1
increased from 10 to 14. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7367 a1c6a512-1295-4272-9138-f99709370657
2005-08-20Fixed "if there are less than 2 bytes left in the buffer, thenMiika Pekkarinen1-1/+1
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-20Initial voice ui support for software codec platforms. Added also aMiika Pekkarinen2-16/+7
beep when changing tracks. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7360 a1c6a512-1295-4272-9138-f99709370657
2005-08-19More mpeg.c cleanup: collected variables and declarations at the top, more ↵Jens Arnold1-146/+136
#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-19Removed the uda1380_mute() calls, since they were called in interrupt ↵Linus Nielsen Feltzing1-27/+3
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