Commit graph

13343 commits

Author SHA1 Message Date
Karl Kurbjun
9a90d557e4 Gigabeat Button/Backlight update: Reduce the number of writes to the sc606 when control registers are not changing. Fix up some buttonlight bugs. Add in full sc606 initialization during the backlight init.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13384 a1c6a512-1295-4272-9138-f99709370657
2007-05-14 05:04:21 +00:00
Karl Kurbjun
28903c353e Remove some unneeded buttonlight code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13383 a1c6a512-1295-4272-9138-f99709370657
2007-05-14 04:52:36 +00:00
Karl Kurbjun
2ac037d7c5 Set the brightness before setting the timeout values for the backlight and buttonlights
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13382 a1c6a512-1295-4272-9138-f99709370657
2007-05-14 04:44:55 +00:00
Nils Wallménius
9eeb0ada6a The M5 doesn't have dual boot
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13381 a1c6a512-1295-4272-9138-f99709370657
2007-05-13 17:54:35 +00:00
Thom Johansen
30d01b66db FS #7163. Updated norsk.lang by Tobias Langhoff.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13380 a1c6a512-1295-4272-9138-f99709370657
2007-05-13 17:11:22 +00:00
Nils Wallménius
96b8e1bb91 Make ipod installation a little bit clearer. Introduce a subsection called 'Starting original firmware' for targets with dualboot. Improve uninstallation instructions as suggested by linuxstb. Closes FS#7079 and FS#7086
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13379 a1c6a512-1295-4272-9138-f99709370657
2007-05-13 16:59:48 +00:00
Christian Gmeiner
f04e85a92a enable lineIn1 - lets hope FM chip is connected to lineIn 1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13378 a1c6a512-1295-4272-9138-f99709370657
2007-05-13 15:18:35 +00:00
Dave Chapman
98b7229d7e Oops, the previous commit broke the speed-test feature. This fixes it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13377 a1c6a512-1295-4272-9138-f99709370657
2007-05-13 00:32:56 +00:00
Dave Chapman
3463e87220 Add WAV-writing option - currently limited to 16-bit output only; Make it work in the sim again (after the change to grab the codec thread stack); Some cosmetic cleanups.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13376 a1c6a512-1295-4272-9138-f99709370657
2007-05-13 00:11:25 +00:00
Jonathan Gordon
c9ed673c81 only show the cursor for the first line of the selected item (if selection is more than one line). doesnt effect inverted cursor mode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13375 a1c6a512-1295-4272-9138-f99709370657
2007-05-12 14:13:23 +00:00
Michael Sevakis
bfb281ff63 Messages queues must be guarded on both ends or else it's a race between detecting a message present and missing a wakeup on thread about to wait. Keeping IRQs from interacting with the scheduler would be preferable but this should do at the moment. Add more detailed panic info regarding blocking violations so we know who. Make panicf function well enough on Gigabeat and PortalPlayer targets. Move the core sleep instructions into a CPU-specific inline to keep thing organized.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13374 a1c6a512-1295-4272-9138-f99709370657
2007-05-12 05:20:04 +00:00
Michael Sevakis
87c70db578 Didn't even notice that Sansa bootloader warning until now. Fix it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13373 a1c6a512-1295-4272-9138-f99709370657
2007-05-11 21:52:54 +00:00
Marcoen Hirschberg
685001f0d4 revert the last changes because they prevent some Gigabeats from shutting down
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13372 a1c6a512-1295-4272-9138-f99709370657
2007-05-11 16:42:53 +00:00
Michael Sevakis
d92e09556f GPIO IRQ ready button driver for e200 series. Can't actually use them yet but their status is polled. Easy to switch over once that works. Cheapo acceleration added or else it would be too fast for selecting items. Too much scrolling might cause the PCM buffer to empty out - beware. )
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13371 a1c6a512-1295-4272-9138-f99709370657
2007-05-11 08:09:49 +00:00
Dave Chapman
198845fe91 Set svn:keywords
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13370 a1c6a512-1295-4272-9138-f99709370657
2007-05-10 21:56:34 +00:00
Dave Chapman
f02cba8096 Code cleaning - remove some unnecessary defined(SIMULATOR) checks
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13369 a1c6a512-1295-4272-9138-f99709370657
2007-05-10 13:16:08 +00:00
Karl Kurbjun
1fc2d91a83 More Gigabeat button light fixes. Settings now work properly, startup does not cause the button lights to flash when disabled. Buttonlights are now shutdown on power off.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13368 a1c6a512-1295-4272-9138-f99709370657
2007-05-10 03:08:47 +00:00
Jonathan Gordon
cbf6a66aca Accpet FS#7141, Italian Language update by Alessio Lenzi
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13367 a1c6a512-1295-4272-9138-f99709370657
2007-05-10 01:20:46 +00:00
Antonius Hellmann
ab75d0eaae display error/boot messages in the sansa bootloader
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13366 a1c6a512-1295-4272-9138-f99709370657
2007-05-09 17:27:56 +00:00
Michael Sevakis
77771b0a43 How'd I miss that I'd left LOGFQUEUES enabled in my pre-commit diff? :/
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13365 a1c6a512-1295-4272-9138-f99709370657
2007-05-09 03:48:52 +00:00
Michael Sevakis
e486ed0453 SWCODEC Playback: Put a stop to the resume deadlock however crudely. Clean some unused lines out that no longer compatible.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13364 a1c6a512-1295-4272-9138-f99709370657
2007-05-09 03:44:44 +00:00
Michael Sevakis
a21871ceaa Fix errors. LOGFQUEUE should take formatting parameters now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13363 a1c6a512-1295-4272-9138-f99709370657
2007-05-08 23:13:46 +00:00
Michael Sevakis
d9839bc8a6 Silly fix for a silly comment mistake.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13362 a1c6a512-1295-4272-9138-f99709370657
2007-05-08 22:59:25 +00:00
Michael Sevakis
1c59b101df SWCODEC Playback: Seriously mess with it and get rid of (at least some ;) race conditions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13361 a1c6a512-1295-4272-9138-f99709370657
2007-05-08 22:56:12 +00:00
Michael Sevakis
e88078f9f5 Playback: Ensure some state coherency. paused implies playing and pause actions are bypassed if not playing. stopped implies not playing and not paused. Starting playback transistions to playing and not paused.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13360 a1c6a512-1295-4272-9138-f99709370657
2007-05-08 16:19:13 +00:00
Jens Arnold
34e6b6b2ae Fix red overlay plugins on archos. Linker scripts weren't prepared for those plugins using plugin library components.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13359 a1c6a512-1295-4272-9138-f99709370657
2007-05-08 12:28:34 +00:00
Jonathan Gordon
77a458a464 Move the old api out of the core and into the plugin lib.
ew plugins shuold use the new api and not this one.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13358 a1c6a512-1295-4272-9138-f99709370657
2007-05-08 11:55:43 +00:00
Karl Kurbjun
b15ef987ca Fix a warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13357 a1c6a512-1295-4272-9138-f99709370657
2007-05-08 06:57:08 +00:00
Karl Kurbjun
6f95ab7de7 Add in buttonlight brightness setting for the Gigabeat, and setup the framework for future players that have adjustable button light brightness settings. Also fixed a bug in the backlight code when the brightness was set to 0.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13356 a1c6a512-1295-4272-9138-f99709370657
2007-05-08 06:45:38 +00:00
Karl Kurbjun
830576bb0b Few more code cleanups to the button light work. This reduces the flickering of the backlight when a button is held (fewer sc606 writes).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13355 a1c6a512-1295-4272-9138-f99709370657
2007-05-08 05:47:36 +00:00
Karl Kurbjun
7ef0af07f1 Faster/Smoother fading on the Gigabeat
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13354 a1c6a512-1295-4272-9138-f99709370657
2007-05-08 03:57:42 +00:00
Jonathan Gordon
cf478758dd fix the menus again, this time it stopped redrawing after coming out of setting screens
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13353 a1c6a512-1295-4272-9138-f99709370657
2007-05-08 01:32:29 +00:00
Karl Kurbjun
2576d34ac6 Fix Gigabeat english.lang target specific strings (should be gigabeatf rather then gigabeat)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13352 a1c6a512-1295-4272-9138-f99709370657
2007-05-08 01:20:09 +00:00
Karl Kurbjun
bd07b3c336 Fix the red Gigabeat bootloader: Add a dummy for button_backlight_on with the rest of the backlight functions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13351 a1c6a512-1295-4272-9138-f99709370657
2007-05-08 00:49:08 +00:00
Jonas Häggqvist
09097978be Synced
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13350 a1c6a512-1295-4272-9138-f99709370657
2007-05-08 00:31:11 +00:00
Dave Chapman
4ae85e6886 Revert the addition of the steal_codec_stack function. Replace by accessing the threads structure to grab the codec stack. Maybe a better solution exists.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13349 a1c6a512-1295-4272-9138-f99709370657
2007-05-07 23:54:10 +00:00
Karl Kurbjun
3d53e10341 Reduce code size for players that do not have the 'Human Interface Luminescence Control' feature
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13348 a1c6a512-1295-4272-9138-f99709370657
2007-05-07 23:42:12 +00:00
Dave Chapman
f4a9dab4d1 Use a separate thread in test_codec, with the same (IRAM) stack as the main codec thread. Add a function to the plugin API to steal the codec thread, which test_codec copies and then restores. Now libmad can be benchmarked.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13347 a1c6a512-1295-4272-9138-f99709370657
2007-05-07 22:30:23 +00:00
Karl Kurbjun
173b611921 Basic gigabeat buttonlight support outside of debug menu FS#7112. Also disables USB PLL and the USB device clock (uneeded to connect to computer) - May offer some power savings. Changed how some pins are initialized.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13346 a1c6a512-1295-4272-9138-f99709370657
2007-05-07 19:34:34 +00:00
Dave Chapman
7cdd0fe6ea Initial version of a test_codec plugin (viewer). This loads the audio file into the audio buffer and decodes it as fast as it can via a locally implemented version of the codec API. Intended for use when optimising codecs - so isn't built by default. Remember to add it to both plugins/SOURCES and viewers.config to enable it. Currently the codec is run in the main thread which means mpa.codec doesn't work - it requires more stack than is available on the main thread. The solution will be to create a new thread in the plugin which steals the main codec thread's IRAM stack, but that's not done yet.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13345 a1c6a512-1295-4272-9138-f99709370657
2007-05-07 17:23:31 +00:00
Dave Chapman
1feb8bd4a1 Minor header file cleanup - try and include the minimal number of files, and only where they are needed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13344 a1c6a512-1295-4272-9138-f99709370657
2007-05-07 13:32:56 +00:00
Dave Chapman
9a011f3a80 Clean up the codec API - remove all unused (and in many cases inappropriate) functions, move functions used only by encoders into the HAVE_RECORDING part of the API and document the reasons for the more unexpected functions being present.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13343 a1c6a512-1295-4272-9138-f99709370657
2007-05-07 11:09:45 +00:00
Marianne Arnold
c5ec5f2c72 VBRfix description, part 2: actually this note was way outdated. Files recorded with rockbox should contain the vbr header - the hint about using it on files with broken/missing headers in general is enough.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13342 a1c6a512-1295-4272-9138-f99709370657
2007-05-07 10:50:08 +00:00
Dave Chapman
a8b7967055 Code police - codecs shouldn't call GUI functions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13341 a1c6a512-1295-4272-9138-f99709370657
2007-05-07 10:34:10 +00:00
Jonathan Gordon
e22f22b599 Accept FS#7123 - add h10_5gb strings
Do the same for e200 by me


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13340 a1c6a512-1295-4272-9138-f99709370657
2007-05-07 08:53:37 +00:00
Marianne Arnold
5017c73ab0 VBRfix description: No need to tell OndioSP owners about files they recorded with their player...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13339 a1c6a512-1295-4272-9138-f99709370657
2007-05-07 08:51:45 +00:00
Jonathan Gordon
baf9cf6990 Fix my previous commit... menus will redraw correctly again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13338 a1c6a512-1295-4272-9138-f99709370657
2007-05-07 08:50:47 +00:00
Jonathan Gordon
1228820ca9 Fix the menus so lines scroll again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13337 a1c6a512-1295-4272-9138-f99709370657
2007-05-07 07:51:35 +00:00
Jonathan Gordon
0e8a9e4eb7 e200 viewer button changes:
- rec button toggles auto-scroll
- scroll wheel scrolles text up/down by lines (FS#7087)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13336 a1c6a512-1295-4272-9138-f99709370657
2007-05-06 15:41:10 +00:00
Nils Wallménius
f41497f98e Fix metadata reading for 64 bit sims. Closes FS#6690
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13335 a1c6a512-1295-4272-9138-f99709370657
2007-05-06 15:09:41 +00:00