Commit graph

104 commits

Author SHA1 Message Date
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
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
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
7eb743e881 More codec loader corrections.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6695 a1c6a512-1295-4272-9138-f99709370657
2005-06-12 18:37:18 +00:00
Miika Pekkarinen
e0037adfae Codec loader fixed. Now switching between different codecs should work
better.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6694 a1c6a512-1295-4272-9138-f99709370657
2005-06-12 18:16:35 +00:00
Miika Pekkarinen
e0b51d4731 Setting plugin_loaded status before invalidating icache.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6649 a1c6a512-1295-4272-9138-f99709370657
2005-06-10 11:44:56 +00:00
Miika Pekkarinen
842bed7275 No more playlist viewer crashes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6648 a1c6a512-1295-4272-9138-f99709370657
2005-06-10 11:35:52 +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
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
ca42601e1f fix two sim warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6036 a1c6a512-1295-4272-9138-f99709370657
2005-02-22 12:56:58 +00:00
Daniel Stenberg
a459965d46 added sim_plugin_close() proto
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6035 a1c6a512-1295-4272-9138-f99709370657
2005-02-22 12:55:40 +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
Daniel Stenberg
cdde25b597 Unified build system to use SOURCES for sim builds too, a single Makefile-look
made by configure and various related adjustments. This has not yet been tested
on cygwin.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6001 a1c6a512-1295-4272-9138-f99709370657
2005-02-18 13:47:17 +00:00
Dave Chapman
6416099f3f Bugfix - check MEM not MEMORYSIZE when defining PLUGIN_BUFFER_SIZE in a C file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5954 a1c6a512-1295-4272-9138-f99709370657
2005-02-15 17:50:02 +00:00
Dave Chapman
e452383359 Increase PLUGINSIZE to 768k for devices with at least 32MB of RAM (currently only iRiver).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5952 a1c6a512-1295-4272-9138-f99709370657
2005-02-15 14:00:37 +00:00
Daniel Stenberg
aac6e7d24e memcmp() added to the plugin API
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5949 a1c6a512-1295-4272-9138-f99709370657
2005-02-15 13:03:29 +00:00
Jens Arnold
af56130a4a Simulators: handle plugins asking for the mp3 buffer the same way as on the target (no separate buffer).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5920 a1c6a512-1295-4272-9138-f99709370657
2005-02-11 22:54:17 +00:00
Linus Nielsen Feltzing
2b25e54ace Fixed broken sim build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5872 a1c6a512-1295-4272-9138-f99709370657
2005-02-09 14:23:35 +00:00
Linus Nielsen Feltzing
40e9e41236 Invalidate instruction cache before loading plugins
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5871 a1c6a512-1295-4272-9138-f99709370657
2005-02-09 14:19:14 +00:00
Linus Nielsen Feltzing
f06ed4ad0c strcat() added to the plugin API
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5867 a1c6a512-1295-4272-9138-f99709370657
2005-02-09 12:27:44 +00:00
Linus Nielsen Feltzing
b5a5d2cecc strchr() added to the plugin API
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5866 a1c6a512-1295-4272-9138-f99709370657
2005-02-09 11:50:04 +00:00
Daniel Stenberg
7030e29abb fix a mismatch between the .h and .c for non-MAS players, and fixed some
warnings too


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5760 a1c6a512-1295-4272-9138-f99709370657
2005-02-03 10:06:02 +00:00
Daniel Stenberg
c0d6b11d5a make the SH and MAS stuff only get built on targets that have such
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5747 a1c6a512-1295-4272-9138-f99709370657
2005-02-02 21:52:05 +00:00
Jens Arnold
ca81ed218a Zero out plugin RAM before loading a plugin, to ensure a properly zeroed bss area. This matters because gcc puts zero-initialized data into bss
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5396 a1c6a512-1295-4272-9138-f99709370657
2004-11-10 22:20:20 +00:00
Jens Arnold
1c841b8c40 Removed usb_screen() from the api. All plugins should use the default event handlers instead. Added battery_level_safe(). Sorted api & bumped versions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5328 a1c6a512-1295-4272-9138-f99709370657
2004-10-23 09:59:53 +00:00
Jens Arnold
0dc52d5c36 Extended default_event_handler() that calls a callback function prior to actually handling the event.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5263 a1c6a512-1295-4272-9138-f99709370657
2004-10-12 22:45:01 +00:00