Commit graph

130 commits

Author SHA1 Message Date
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
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
Jens Arnold
12a4ed383f Added font_getstringsize to the plugin api, needed for the reworked grayscale library.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7240 a1c6a512-1295-4272-9138-f99709370657
2005-07-25 19:56:35 +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
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
Jens Arnold
89d6e950fd Added a number of new graphics functions to the plugin API.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7127 a1c6a512-1295-4272-9138-f99709370657
2005-07-12 23:46:50 +00:00
Daniel Stenberg
db4fb95585 make the ctype array unsigned so that bit 7 (octal 0200) can be set and
used properly without warnings


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7120 a1c6a512-1295-4272-9138-f99709370657
2005-07-12 11:06:38 +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
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
Christi Scarborough
be7894509f (1) Patch 1231281: Alignment tags for the WPS by Per Holmaeng. Use %al for left align, %ac for centre, %ar for right. It is currently not possible to use more than one %a? tag per WPS line. (2) Lots of tabs removed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7034 a1c6a512-1295-4272-9138-f99709370657
2005-07-05 22:27:54 +00:00
Michiel Van Der Kolk
c735ed7914 First runtime database support, self repairing, only playcount works for now,
which is still rather crude; playcount gets increased even if the song started playback but was skipped... track rating should be trivial to add, autorating also works since its based on playcount.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6969 a1c6a512-1295-4272-9138-f99709370657
2005-07-01 17:29:44 +00:00
Daniel Stenberg
510a18d302 added strncmp() to the plugin API, based the patch 1170215 by Rick La Charité
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6943 a1c6a512-1295-4272-9138-f99709370657
2005-06-30 10:39:28 +00:00
Jens Arnold
5eb0fff07b Fixed red H1x0 simulator build.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6909 a1c6a512-1295-4272-9138-f99709370657
2005-06-29 02:01: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
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
Linus Nielsen Feltzing
df5170830c Fixed CODEC_BUFFER_SIZE mismatch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6830 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 22:03:13 +00:00
Daniel Stenberg
1dd672fe32 moved and renamed the codecs, gave the codecs a new extension (.codec),
unified to a single codec-only API, made a new codeclib, disabled the building
of the *2wav plugins


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6812 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 19:41:30 +00:00
Linus Nielsen Feltzing
ecf2f747ed Daniel's fix that loads codecs in their own memory space
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6794 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 02:47:54 +00:00
Dave Chapman
33001cb4f0 Add logf to the plugin interface (use the LOGF macro)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6749 a1c6a512-1295-4272-9138-f99709370657
2005-06-18 19:19:12 +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
Daniel Stenberg
ffa3222709 improved ifdef and wrapped long lines
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6735 a1c6a512-1295-4272-9138-f99709370657
2005-06-17 07:52:12 +00:00
Linus Nielsen Feltzing
a12ccabf04 Don't bitswap on the iRiver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6583 a1c6a512-1295-4272-9138-f99709370657
2005-06-06 00:34:07 +00:00
Linus Nielsen Feltzing
1c497e6045 First audio codec playback attempt by Miikka Pekkarinen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6574 a1c6a512-1295-4272-9138-f99709370657
2005-06-05 23:05:10 +00:00
Michiel Van Der Kolk
9369d4867d Search engine core for database v2, has an hardcoded "songs for year >= 1980 and year < 1990" at the moment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6367 a1c6a512-1295-4272-9138-f99709370657
2005-04-28 12:33:38 +00:00
Christian Gmeiner
7d9848186e iRiver: extended remote lcd driver. displaying text works now - see start-up-screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6355 a1c6a512-1295-4272-9138-f99709370657
2005-04-25 23:47:51 +00:00
Linus Nielsen Feltzing
ef73c2ed36 Even more correct conditions for mpeg_get_last_header()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6343 a1c6a512-1295-4272-9138-f99709370657
2005-04-25 08:59:19 +00:00
Linus Nielsen Feltzing
78c829f576 Bad conditions for including mpeg_get_last_header()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6342 a1c6a512-1295-4272-9138-f99709370657
2005-04-25 08:21:10 +00:00
Linus Nielsen Feltzing
250678bb05 New BMP reader by Tomas Salfischberger
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6340 a1c6a512-1295-4272-9138-f99709370657
2005-04-25 07:42:10 +00:00
Christian Gmeiner
4dabec4df7 plugin to test remote lcd
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6297 a1c6a512-1295-4272-9138-f99709370657
2005-04-15 13:39:13 +00:00
Christian Gmeiner
c63430e935 IRiver: extended plugin api with current remote lcd functions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6295 a1c6a512-1295-4272-9138-f99709370657
2005-04-15 12:55:31 +00:00
Linus Nielsen Feltzing
d34865a530 mp3buf renamed to audiobuf
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6252 a1c6a512-1295-4272-9138-f99709370657
2005-04-05 11:33:58 +00:00
Linus Nielsen Feltzing
8a237a829e More audio code restructuring, mostly renaming functions so far
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6246 a1c6a512-1295-4272-9138-f99709370657
2005-04-04 12:06:29 +00:00
Linus Nielsen Feltzing
674eaca5ef Moved the mpeg_sound_xxx() functions to sound.c and renamed them to sound_xxx()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6240 a1c6a512-1295-4272-9138-f99709370657
2005-04-01 13:41:03 +00:00
Linus Nielsen Feltzing
e996e2ff91 Added pcm_play_pause() to the plugin API
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6237 a1c6a512-1295-4272-9138-f99709370657
2005-03-31 06:50:59 +00:00
Michiel Van Der Kolk
6c08b93f6f I've fixed this before, i know i did! ;p
(xshocks patch undid my earlier one)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6228 a1c6a512-1295-4272-9138-f99709370657
2005-03-28 00:29:07 +00:00
Michiel Van Der Kolk
451dd48adc Sound api improvements, rockboy sound, contributed by xshock.
Playback of sound currently only works in boost mode, needs fixing.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6226 a1c6a512-1295-4272-9138-f99709370657
2005-03-28 00:00:24 +00:00
Michiel Van Der Kolk
9e173d18ef Temporary fix for the broken sim build.. till someone implements sound
on them...


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6221 a1c6a512-1295-4272-9138-f99709370657
2005-03-21 11:54:59 +00:00
Michiel Van Der Kolk
9bc622603c oops.
teaches me *again* to *not* commit code even if it looks entirely correct without testing archos builds :/


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6220 a1c6a512-1295-4272-9138-f99709370657
2005-03-21 00:24:31 +00:00
Michiel Van Der Kolk
457e138fff Added new pcm playback api to the plugin api
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6217 a1c6a512-1295-4272-9138-f99709370657
2005-03-20 23:05:44 +00:00
Michiel Van Der Kolk
22ec198e41 added button_hold() to the plugin api
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6115 a1c6a512-1295-4272-9138-f99709370657
2005-03-03 14:10:17 +00:00
Jens Arnold
48dad47df9 Added mkdir() to the plugin api.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6103 a1c6a512-1295-4272-9138-f99709370657
2005-03-02 22:50:38 +00:00
Linus Nielsen Feltzing
e002b9cfd0 Added cpu_boost() to the plugin API
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6102 a1c6a512-1295-4272-9138-f99709370657
2005-03-02 14:32:53 +00:00
Linus Nielsen Feltzing
d7f3d1c8ec Added cpu_frequency to the plugin API
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6094 a1c6a512-1295-4272-9138-f99709370657
2005-03-01 14:36:16 +00:00
Jens Arnold
bf2946ab7a Added missing sim_ prefixes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6087 a1c6a512-1295-4272-9138-f99709370657
2005-02-28 21:58:09 +00:00
Jens Arnold
399c081f93 Simulators: lseek() working again for systems with an off_t datatype differing from 'long' (cygwin/x11, maybe others). Removed unused sim_close().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6084 a1c6a512-1295-4272-9138-f99709370657
2005-02-28 18:32:57 +00:00
Daniel Stenberg
d65908fb87 use the sim version of the icons for the sims
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6037 a1c6a512-1295-4272-9138-f99709370657
2005-02-22 13:02:33 +00:00
Daniel Stenberg
22b7701fe7 Build cleanup and general fixes. fprintf() is now fdprintf(), the separation
between uisimulator files and firmware/apps files are better done.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6031 a1c6a512-1295-4272-9138-f99709370657
2005-02-22 12:19:12 +00:00