Jens Arnold
|
ec9b202a92
|
Reworked handling of MPEG audio frame & file info: * Fixed frame size 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-10 12:28:16 +00:00 |
|
Jens Arnold
|
4a939ecdcd
|
Exact song length calculation for CBR mpeg audio files (without Info header).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7502 a1c6a512-1295-4272-9138-f99709370657
|
2005-09-09 07:19:41 +00:00 |
|
Jonas Häggqvist
|
34aa5c20cc
|
The previous commit had a distressing lack of words. This time I deliver the promised Christian Gangsta Rap.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7500 a1c6a512-1295-4272-9138-f99709370657
|
2005-09-08 00:17:11 +00:00 |
|
Jonas Häggqvist
|
f73ec85966
|
Added support for additional ID3v1 genres, including such gems as "Christian gangsta rap" and "Negerpunk".
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7499 a1c6a512-1295-4272-9138-f99709370657
|
2005-09-07 22:51:43 +00:00 |
|
Jens Arnold
|
6f44a25efa
|
coldfire_set_macsr(): (1) The argument isn't necessarily constant. (2) Let 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-07 06:25:32 +00:00 |
|
Jonas Häggqvist
|
98143f5291
|
Adds a filename sanity check to add_dir_entry that at the moment only checks 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-07 01:35:15 +00:00 |
|
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
|
fb1850b755
|
Moved the system_reboot() call to the correct place
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7483 a1c6a512-1295-4272-9138-f99709370657
|
2005-09-06 20:53:39 +00:00 |
|
Jens Arnold
|
8fd5b177ed
|
Ondio FM: Removed S/PDIF option for recording source, as the Ondio doesn't 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-06 20:48:28 +00:00 |
|
Linus Nielsen Feltzing
|
835012fa35
|
Call system_reboot() instead of rolo_load() in the UIE handler
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7479 a1c6a512-1295-4272-9138-f99709370657
|
2005-09-06 20:22:34 +00:00 |
|
Jens Arnold
|
b2964cad0c
|
For targets without an RTC, use the rockbox build date as the start date in 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-06 18:03:50 +00:00 |
|
Linus Nielsen Feltzing
|
ff73f0dcbf
|
Changed WPS enum conditional functionality, displaying the last part in the 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-06 13:43:26 +00:00 |
|
Jens Arnold
|
fbaf503d0d
|
Archos recording: yield() within audio_beep() to avoid starving the mpeg 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-05 23:36:29 +00:00 |
|
Jens Arnold
|
9352ac8668
|
Archos recording: Always prepend ID3V2 and Xing header to a recording file, 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-04 21:55:15 +00:00 |
|
Henrik Backe
|
b2473d58ab
|
Fixed associate problem with file extensions (.info files matched .nfo extension)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7456 a1c6a512-1295-4272-9138-f99709370657
|
2005-09-02 15:05:35 +00:00 |
|
Linus Nielsen Feltzing
|
051f2cf3de
|
Adjusted the file size calculation when prerecording
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7451 a1c6a512-1295-4272-9138-f99709370657
|
2005-09-02 07:01:08 +00:00 |
|
Jens Arnold
|
a317d74d8e
|
Iriver: Changed the IRAM splitting between core and plugins to 48KB/48KB, 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-01 20:57:33 +00:00 |
|
Jens Arnold
|
904f7fd970
|
Coldfire: Made the MACSR register part of the thread context to allow easier handling in the codecs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7445 a1c6a512-1295-4272-9138-f99709370657
|
2005-09-01 20:06:38 +00:00 |
|
Jens Arnold
|
579210df87
|
Restructured codec type handling a bit. Reduced code size, esp. on archos.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7443 a1c6a512-1295-4272-9138-f99709370657
|
2005-09-01 17:03:09 +00:00 |
|
Linus Nielsen Feltzing
|
4c4affa456
|
Corrected the codec format table
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7442 a1c6a512-1295-4272-9138-f99709370657
|
2005-09-01 15:47:29 +00:00 |
|
Linus Nielsen Feltzing
|
d67c267090
|
Fixed the WPS codec type conditional, and removed unsupported formats from the format enum
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7441 a1c6a512-1295-4272-9138-f99709370657
|
2005-09-01 13:39:39 +00:00 |
|
Linus Nielsen Feltzing
|
e54aa2ab93
|
Archos: Even more NULL pointer accesses removed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7433 a1c6a512-1295-4272-9138-f99709370657
|
2005-08-30 22:50:56 +00:00 |
|
Linus Nielsen Feltzing
|
80bb2819da
|
Archos: Removed NULL pointer accesses when changing tracks
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7431 a1c6a512-1295-4272-9138-f99709370657
|
2005-08-30 20:52:24 +00:00 |
|
Linus Nielsen Feltzing
|
f02f29e59e
|
Archos: Trap UserBrk in the gdb debugger
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7429 a1c6a512-1295-4272-9138-f99709370657
|
2005-08-30 20:50:47 +00:00 |
|
Linus Nielsen Feltzing
|
c4a230c11a
|
Patch #1161046 by Bryan Vandyke - id3v2 frames with size 0 may cause rockbox to miss tags
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7426 a1c6a512-1295-4272-9138-f99709370657
|
2005-08-30 13:01:44 +00:00 |
|
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 |
|