Commit graph

532 commits

Author SHA1 Message Date
Linus Nielsen Feltzing
ffe0b23902 Added single-byte read/write functions for the PCF50606 driver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7905 a1c6a512-1295-4272-9138-f99709370657
2005-11-16 13:27:07 +00:00
Linus Nielsen Feltzing
fa32b8c1b1 H300 has no S/PDIF
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7904 a1c6a512-1295-4272-9138-f99709370657
2005-11-16 12:34:27 +00:00
Daniel Stenberg
6b569d3ace completed the CONFIG_BACKLIGHT transition
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7887 a1c6a512-1295-4272-9138-f99709370657
2005-11-14 23:37:19 +00:00
Linus Nielsen Feltzing
d29aef3d62 H300 backlight
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7885 a1c6a512-1295-4272-9138-f99709370657
2005-11-14 22:12:50 +00:00
Linus Nielsen Feltzing
0cb4a4610d New type for the LCD frame buffer data
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7876 a1c6a512-1295-4272-9138-f99709370657
2005-11-14 20:43:49 +00:00
Linus Nielsen Feltzing
3b0e8f89ab H300: First lame attempt to a pcf50606 driver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7873 a1c6a512-1295-4272-9138-f99709370657
2005-11-14 19:50:16 +00:00
Linus Nielsen Feltzing
b034a830e4 H300: Correct LCD type and CODEC buffer size
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7862 a1c6a512-1295-4272-9138-f99709370657
2005-11-14 14:58:30 +00:00
Linus Nielsen Feltzing
ab8d25e401 Allow S/PDIF as recording source in the archos sims
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7846 a1c6a512-1295-4272-9138-f99709370657
2005-11-13 15:16:57 +00:00
Dave Chapman
7944771772 Force -mlong-calls for iPod builds. This issue still needs investigating as we do not want long-calls everywhere. The -ffunction-sections is also required to force gcc use long calls.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7841 a1c6a512-1295-4272-9138-f99709370657
2005-11-13 11:28:48 +00:00
Dave Chapman
0c0534e297 Add LCD_LIGHTGRAY and LCD_DARKGRAY macros and correctly use LCD_LIGHTGRAY in the old splash screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7837 a1c6a512-1295-4272-9138-f99709370657
2005-11-13 01:15:47 +00:00
Dave Chapman
3c1f659aeb iPod changes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7824 a1c6a512-1295-4272-9138-f99709370657
2005-11-12 15:26:51 +00:00
Andy
f6da6d85b6 Removed monitor option from audio_set_recording_options and the global setting rec_monitor.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7821 a1c6a512-1295-4272-9138-f99709370657
2005-11-12 14:49:43 +00:00
Andy
ec2ed49b1f Fix for broken simulators
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7819 a1c6a512-1295-4272-9138-f99709370657
2005-11-12 04:56:53 +00:00
Andy
e6e5496535 iRiver: Initial support for wav-recording in recording menu. Supports mic/line-in (and radio), monitor mode, time-splitting (and byte-splitting), pause/resume etc. Things todo: Prerecording, peakmeter (should be simple), frequency other than 44.1 kHz, etc..
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7818 a1c6a512-1295-4272-9138-f99709370657
2005-11-12 04:00:56 +00:00
Dave Chapman
2bf9be1c02 Patch #1352575 - Shorten codec from the ffmpeg project. Rockbox implementation by Mark Arigo.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7814 a1c6a512-1295-4272-9138-f99709370657
2005-11-11 19:45:36 +00:00
Dave Chapman
d31a32c501 iPod: Code cleanup - the bootloader now compiles with zero warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7812 a1c6a512-1295-4272-9138-f99709370657
2005-11-11 17:51:35 +00:00
Thom Johansen
2fce981722 Moved all iPod specific code from lcd-16bit.c to lcd-ipod.c.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7807 a1c6a512-1295-4272-9138-f99709370657
2005-11-10 01:08:09 +00:00
Dave Chapman
005a09daaa Correct the LCD definition for the Nano
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7802 a1c6a512-1295-4272-9138-f99709370657
2005-11-09 16:27:56 +00:00
Jens Arnold
0b00108c3e SH1: Changed UIE() to use the same reset method as on coldfire, using the watchdog timer. Should be more reliable this way. Disabled LED handling and added reboot-with-on for Ondio. * All: #ifdef cleanup in panicf(), added reboot-with-on for Ondio.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7799 a1c6a512-1295-4272-9138-f99709370657
2005-11-09 00:54:43 +00:00
Linus Nielsen Feltzing
fbc938864c 16-bit color for h300 for now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7793 a1c6a512-1295-4272-9138-f99709370657
2005-11-08 23:28:34 +00:00
Linus Nielsen Feltzing
1550bdcea6 Unified the H100 and H300 startup
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7792 a1c6a512-1295-4272-9138-f99709370657
2005-11-08 22:52:53 +00:00
Dave Chapman
a8a8c9db44 Remove unnecessary #ifdef
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7783 a1c6a512-1295-4272-9138-f99709370657
2005-11-08 00:17:56 +00:00
Jens Arnold
a8c1c20305 Removed unused ata_standby(), changed return type of ata_sleep() to void, removed misleading comment from ata.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7782 a1c6a512-1295-4272-9138-f99709370657
2005-11-07 23:19:06 +00:00
Dave Chapman
77372d1218 Initial commit of work-in-progress iPod port
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7781 a1c6a512-1295-4272-9138-f99709370657
2005-11-07 23:07:19 +00:00
Jens Arnold
ed00708ac4 Adjusted MAX_THREADS to be 2 more than the number of standard threads on all platforms.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7776 a1c6a512-1295-4272-9138-f99709370657
2005-11-07 20:09:08 +00:00
Jens Arnold
71bc504e5f The const police strikes and hits itself.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7772 a1c6a512-1295-4272-9138-f99709370657
2005-11-06 23:49:29 +00:00
Jens Arnold
a0abff4bd5 Fixed recorder v2 simulators.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7771 a1c6a512-1295-4272-9138-f99709370657
2005-11-06 23:46:46 +00:00
Jens Arnold
8051a0b724 Sound settings rework: * Put all fixed parameters (unit, decimals, step, min, max, default, set function) for the individual settings into one structure array. * Use the new individual sound setting functions where appropriate. * Added dummy sound setting functions and defined the codec type for the sims. Fixes wrong sound settings ranges in the simulators. * Code cleanup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7770 a1c6a512-1295-4272-9138-f99709370657
2005-11-06 23:12:11 +00:00
Kevin Ferrare
9b5264d37f Corrected the bug with boolean settings (the inverted screen that couldn't be turned back to normal) added full multi-screen sound setting support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7761 a1c6a512-1295-4272-9138-f99709370657
2005-11-06 03:18:34 +00:00
Jens Arnold
72f98786a0 Fixup of the MCF5249 memory mapped register definitions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7755 a1c6a512-1295-4272-9138-f99709370657
2005-11-05 03:28:20 +00:00
Dave Chapman
1561e8603e Oops. Forgot to increase the codec size for H100.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7707 a1c6a512-1295-4272-9138-f99709370657
2005-10-31 21:11:16 +00:00
Dave Chapman
da1949b109 Increase codec size to 512KB in preparation for AAC codec
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7704 a1c6a512-1295-4272-9138-f99709370657
2005-10-31 20:45:56 +00:00
Dave Chapman
5ffbb4eb11 Add AAC audio type
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7703 a1c6a512-1295-4272-9138-f99709370657
2005-10-31 20:45:12 +00:00
Dave Chapman
15a830bdba Skip ID3v2 tags at the start of a FLAC file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7689 a1c6a512-1295-4272-9138-f99709370657
2005-10-30 15:07:40 +00:00
Dave Chapman
1a82763d3a Seeking support for AC3/A52 files. We assume they are always CBR.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7650 a1c6a512-1295-4272-9138-f99709370657
2005-10-22 09:10:51 +00:00
Jens Arnold
abd9f83e92 Two new sections for IRAM usage: .irodata (selectable with the ICONST_ATTR attribute macro), allowing to put 'const' data into IRAM without causing a section type conflict, and .ibss (selectable with the IBSS_ATTR attribute macro) for uninitialised data. * Rockbox core: Adjusted the linker scripts and init code to not include the .ibss section in the binary, it is cleared instead. Saves ~500 bytes on archos and ~30KB on iriver. Codecs and plugins don't handle .ibss in a special way yet. * The init code properly handles empty sections now (except .stack, which should never be empty). * Unified the init code for SH1 and coldfire a bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7644 a1c6a512-1295-4272-9138-f99709370657
2005-10-19 19:35:24 +00:00
Miika Pekkarinen
b76e8c09fa Fixed a problem with dircache where filetree modified dircache
structures directly. Moved #ifdef directly to SOURCES instead of
dircache.c to decide whether to compile the cache or not.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7599 a1c6a512-1295-4272-9138-f99709370657
2005-10-08 18:41:11 +00:00
Miika Pekkarinen
44964c6641 Fixed the bootloader compile failure by disabling new directory cache
from bootloader builds (there is not much IRAM space in bootloader for unnecessary
code).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7589 a1c6a512-1295-4272-9138-f99709370657
2005-10-07 18:12:02 +00:00
Miika Pekkarinen
ab78b04680 Implemented directory caching. No more waiting for disk to spin up while
browsing when cache is enabled (system -> disk -> enable directory
cache). Cache building on boot is transparent except the first boot.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7588 a1c6a512-1295-4272-9138-f99709370657
2005-10-07 17:38:05 +00:00
Dave Chapman
9e19c95d8e Replace SWAB16 and SWAB32 with a comprehensive set of byte-swap macros - letoh16, letoh32, htole16, htole32, betoh16, betoh32, htobe16 and htobe32
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7584 a1c6a512-1295-4272-9138-f99709370657
2005-10-06 19:27:43 +00:00
Jens Arnold
cfb073c452 Coldfire: New timer handling on CPU frequency change, adjusting the prescaler on the fly, for both tick and user timer. Precondition is that the higher frequencies are integer multiples of the base: now NORMAL is 45 MHz and MAX is 124 MHz. Removes the need for applications with longer timer periods (>= 10 ms) to boost the CPU all the time, e.g. the grayscale lib. Timer counts are now always based on the base frequency (CPU_FREQ). * Adjusted the RAM refresh timers to the new frequencies (all frequencies for H100) * All: Fixed the tick timer count being off by one.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7576 a1c6a512-1295-4272-9138-f99709370657
2005-10-03 09:24:36 +00:00
Jens Arnold
524b85fa92 H1x0: More precise tuning; corrected xtal frequency in comments + #defines.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7553 a1c6a512-1295-4272-9138-f99709370657
2005-09-24 09:06:31 +00:00
Dave Chapman
5a1b77f04c Add ALAC audio type
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7548 a1c6a512-1295-4272-9138-f99709370657
2005-09-22 21:56:03 +00:00
Jens Arnold
ba966c1761 Archos recording/playback: (1) Xing header creation: * Now estimates the 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-15 05:29:26 +00:00
Linus Nielsen Feltzing
91216a5edc The power thread now monitors the shutdown process and forces a poweroff if it takes more than 8 seconds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7517 a1c6a512-1295-4272-9138-f99709370657
2005-09-14 09:08:26 +00:00
Linus Nielsen Feltzing
e6c6d22240 Now panicf() shuts off the hard drive and lowers the CPU frequency, it also reboots if ON is pressed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7510 a1c6a512-1295-4272-9138-f99709370657
2005-09-12 10:34:27 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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