Commit graph

403 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
Miika Pekkarinen
79952cb613 Small copy/paste error..
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6934 a1c6a512-1295-4272-9138-f99709370657
2005-06-29 21:21:06 +00:00
Miika Pekkarinen
7b7d1e6802 Always use crossfade if it's enabled.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6933 a1c6a512-1295-4272-9138-f99709370657
2005-06-29 21:13:46 +00:00
Miika Pekkarinen
84d6f9e89b Fixed slow track switching and track pre-buffering. Fixed rockboy
crash while audio is playing. Some buffering adjustments made.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6930 a1c6a512-1295-4272-9138-f99709370657
2005-06-29 20:50:58 +00:00
Daniel Stenberg
01377e2e57 Hristo Kovachev's keypad fixes for the H300 build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6912 a1c6a512-1295-4272-9138-f99709370657
2005-06-29 12:47:24 +00:00
Jens Arnold
576908d36a Third part of graphics api rework. Some small but effective optimisations. Ported remote lcd driver to new api. Preparations for including the low-level functions in the plugin api.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6907 a1c6a512-1295-4272-9138-f99709370657
2005-06-29 01:39:50 +00:00
Jens Arnold
7e11acbce9 Second part of graphics api rework. Bitmap drawing and text output converted; some code cleanup and more optimisations.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6906 a1c6a512-1295-4272-9138-f99709370657
2005-06-28 23:15:47 +00:00
Daniel Stenberg
a24017f4da Moved the codec and plugin buffer sizes to the config-*.h files instead of
having it repeated in numerous files where they all had to be updated to the
same value if ever changed. This allows specific models to actually have its
own buffer sizes.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6901 a1c6a512-1295-4272-9138-f99709370657
2005-06-27 21:23:03 +00:00
Miika Pekkarinen
85f4973106 Replaced some size_t with longs. That might solve some problems. Fixed
also problem where codec buffer length indicator goes negative.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6898 a1c6a512-1295-4272-9138-f99709370657
2005-06-27 19:29:49 +00:00
Christi Scarborough
37c3d8b610 Quick menu for iRiver: A long press on the PLAY key in the browser or the WPS will take you into the quick menu screen where certain common settings can be adjusted. Works just the same as F2 menu on Archos.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6880 a1c6a512-1295-4272-9138-f99709370657
2005-06-26 20:16:26 +00:00