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
Miika Pekkarinen
d8cb703b1e
Initial DSP implementation. DSP supports resampling audio stream from
...
codecs (currently works corrently only with mp3's, somebody should fix
that).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6877 a1c6a512-1295-4272-9138-f99709370657
2005-06-26 19:41:29 +00:00
Jens Arnold
1224d578e8
Oops, the XYZ_PIXEL() macros are used elsewhere, so bring them back.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6860 a1c6a512-1295-4272-9138-f99709370657
2005-06-25 01:06:24 +00:00
Jens Arnold
934941294b
Core functions taking advantage of the new, optimised lcd_hline() and lcd_vline() functions. Some cleanup.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6859 a1c6a512-1295-4272-9138-f99709370657
2005-06-25 00:28:09 +00:00
Jens Arnold
24a1f94cd7
Fixed yellow FM builds, and changed the function type names according to the rockbox coding style.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6858 a1c6a512-1295-4272-9138-f99709370657
2005-06-24 23:06:06 +00:00
Jens Arnold
04daef17a1
First part of graphics api rework. Special functions, parameter handling, pixel functions, lines and filled primitives done for black & white core, main display.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6856 a1c6a512-1295-4272-9138-f99709370657
2005-06-24 22:33:21 +00:00
Christi Scarborough
7600708a7a
BUTTON_RC_VOL relabeled as BUTTON_RC_MODE for consistency with main unit. RC keymappings changed to be consistent with main unit.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6853 a1c6a512-1295-4272-9138-f99709370657
2005-06-24 13:19:16 +00:00
Jens Arnold
9cedf39430
Fix red builds.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6845 a1c6a512-1295-4272-9138-f99709370657
2005-06-23 17:13:05 +00:00
Jens Arnold
6a556c1740
Preparations for implementing the new graphics api: Ordered lcd bitmap driver defines, variables and functions by function groups. Centralised some definitions, code cleanup.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6844 a1c6a512-1295-4272-9138-f99709370657
2005-06-23 16:53:54 +00:00
Jens Arnold
97a8049389
New feature for units that can be powered or charged from USB (Recorder fm/v2, Ondios): USB power mode, based on patch #1110332 by Pieter Bos. This way you can save battery power or even charge the battery (fm/v2) while using your unit near a PC. Hold MODE (Ondio) or F1 (fm/v2) while plugging USB to enter that mode. A tiny USB plug icon will be displayed is the status bar (overridden by the regular power plug icon in case of fm/v2 when the charger is connected).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6836 a1c6a512-1295-4272-9138-f99709370657
2005-06-23 02:18:29 +00:00
Jens Arnold
337f3a1b99
Make the simulator builds know about software poweroff, for more consistent behaviour to the targets. Changed some #if conditions to better reflect the hardware. Fixes iriver sim.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6833 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 23:24:45 +00:00
Tomas Salfischberger
2c7a1735c0
My gcc v3.3.5 choked on the bool type, solved with this include.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6807 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 14:46:38 +00:00
Linus Nielsen Feltzing
8f2a3e91dc
Increased max number of tick tasks
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6804 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 14:00:17 +00:00
Linus Nielsen Feltzing
2f2b9eab4b
The iriver simulator now uses the correct LCD driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6793 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 01:14:21 +00:00
Jens Arnold
78da1ff222
The last commit mixed up the arguments of cpu_boost(). Fixed that and removed the #ifdefs again, added #define cpui_boost(on_off) for fixed frequency platforms instead.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6783 a1c6a512-1295-4272-9138-f99709370657
2005-06-20 19:10:47 +00:00
Jens Arnold
61b9d34c7c
Iriver: Backlight fading is now configurable. Added a function to stop the backlight from using timer1, freeing it for usage in plugins. Grouped together some related settings functions.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6779 a1c6a512-1295-4272-9138-f99709370657
2005-06-20 17:03:09 +00:00
Miika Pekkarinen
3e88b58f6c
Crossfade fixes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6778 a1c6a512-1295-4272-9138-f99709370657
2005-06-20 14:27:06 +00:00
Jens Arnold
12a0e221de
iriver: Prescale the digital volume when boosting treble/bass by decreasing the mixer volume.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6770 a1c6a512-1295-4272-9138-f99709370657
2005-06-19 23:33:23 +00:00
Andy
e5d08722f8
Iriver: First attempt at recording. Use Info->Debug->PCM recording to test recording of wav-files. Seams to work fine except occasional 100 ms noise at pos 100 ms (not later) so initialization or synch problem..
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6763 a1c6a512-1295-4272-9138-f99709370657
2005-06-19 03:05:53 +00:00
Daniel Stenberg
3dd7593ac5
Initial setup for the H300 keypad
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6754 a1c6a512-1295-4272-9138-f99709370657
2005-06-18 21:17:20 +00:00
Dave Chapman
961c9a3e41
Added %fc WPS tag to display codec type - moved codectype from track_info struct into mp3info struct, initialise it on MAS platforms, and add it to the WPS.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6748 a1c6a512-1295-4272-9138-f99709370657
2005-06-18 16:24:27 +00:00
Jens Arnold
4c7da88618
Iriver UDA1380 volume and balance handling is now done in sound.c, similar to archos player; removed pcm_set_volume(). Implemented a dB-linear scale. Sorted & bumped plugin api. Removed audio test from the debug menu.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6741 a1c6a512-1295-4272-9138-f99709370657
2005-06-18 01:25:47 +00:00
Jens Arnold
bd1bb5f009
iriver: LCD flip for H1x0 remote, some code cleanup.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6739 a1c6a512-1295-4272-9138-f99709370657
2005-06-17 21:43:00 +00:00
Jens Arnold
de1b915f79
Iriver: Sleep timer now powers off the box even when the charger is connected.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6733 a1c6a512-1295-4272-9138-f99709370657
2005-06-16 23:45:09 +00:00
Thom Johansen
3828c7d982
Balance support for UDA1380 based players.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6730 a1c6a512-1295-4272-9138-f99709370657
2005-06-16 20:16:58 +00:00
Andy
3de5e74aba
uda1380: Added bass/treble and recording functions
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6729 a1c6a512-1295-4272-9138-f99709370657
2005-06-16 00:04:47 +00:00
Miika Pekkarinen
c3fed62fc7
Fixed the "last song bug".
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6725 a1c6a512-1295-4272-9138-f99709370657
2005-06-15 18:59:04 +00:00
Thom Johansen
08636e1e65
Added define for the UDA1380 codec chip.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6721 a1c6a512-1295-4272-9138-f99709370657
2005-06-15 11:53:20 +00:00
Daniel Stenberg
8576114c26
early and not yet working support for H300 builds
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6718 a1c6a512-1295-4272-9138-f99709370657
2005-06-15 11:28:25 +00:00
Miika Pekkarinen
8d5822d6ed
Playlist changed are recognized correctly.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6711 a1c6a512-1295-4272-9138-f99709370657
2005-06-14 18:59:34 +00:00
Miika Pekkarinen
ef72f99681
Fixed a dead lock, file handle leak that caused wps to jam and
...
selected a smaller i2c timeout value.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6707 a1c6a512-1295-4272-9138-f99709370657
2005-06-14 14:36:46 +00:00
Miika Pekkarinen
6ab53ba458
Even more quiet audio initialization.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6705 a1c6a512-1295-4272-9138-f99709370657
2005-06-14 07:54:09 +00:00
Thom Johansen
57f0ec1474
Added support for reading LAME header delay and padding fields for proper gapless MP3 support.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6689 a1c6a512-1295-4272-9138-f99709370657
2005-06-12 14:03:31 +00:00
Miika Pekkarinen
2ed0b195be
Better handling for cpu_boost(). Small buffering fix.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6647 a1c6a512-1295-4272-9138-f99709370657
2005-06-10 10:58:45 +00:00
Linus Nielsen Feltzing
6271b2b910
Added Crossfade setting for iRiver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6636 a1c6a512-1295-4272-9138-f99709370657
2005-06-09 09:47:00 +00:00