Commit graph

5969 commits

Author SHA1 Message Date
Karl Kurbjun
73509fc05e Another file missed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11741 a1c6a512-1295-4272-9138-f99709370657
2006-12-13 05:12:02 +00:00
Karl Kurbjun
9516afce64 Helps to add in the header
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11739 a1c6a512-1295-4272-9138-f99709370657
2006-12-13 04:52:45 +00:00
Karl Kurbjun
7e6f74e429 Dehacked and BEX support for Doom - currently only supports a DEHACKED file in a WAD (not as a standalone file yet).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11738 a1c6a512-1295-4272-9138-f99709370657
2006-12-13 04:44:17 +00:00
Jens Arnold
314f3b58f1 More static'ing, and a few fixes resulting from that.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11737 a1c6a512-1295-4272-9138-f99709370657
2006-12-12 22:22:21 +00:00
Jens Arnold
819712f118 Remove unused files from the old database.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11736 a1c6a512-1295-4272-9138-f99709370657
2006-12-12 18:36:29 +00:00
Jonathan Gordon
6581146eb1 Fix dircache not saving the last size (Caused the Scanning disk splash
to show every bot).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11734 a1c6a512-1295-4272-9138-f99709370657
2006-12-12 10:45:34 +00:00
Jens Arnold
a0f311355c Action code: Made all private functions & variables static. Better module separation, and it saves a bit of binary size. * Added a few missing 'const's.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11730 a1c6a512-1295-4272-9138-f99709370657
2006-12-12 07:55:17 +00:00
Martin Arver
303d1e0d17 Oops. Forgot FILES.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11725 a1c6a512-1295-4272-9138-f99709370657
2006-12-11 21:46:44 +00:00
Peter D'Hoye
b9258cf159 Prevent recursion of the main menu, fixes FS#6010
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11720 a1c6a512-1295-4272-9138-f99709370657
2006-12-11 21:05:35 +00:00
Martin Arver
7d820556e9 Remove the files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11719 a1c6a512-1295-4272-9138-f99709370657
2006-12-11 21:01:14 +00:00
Martin Arver
440513ab6a Stop building, and remove dumb as it has not changed state since its initial committed state
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11718 a1c6a512-1295-4272-9138-f99709370657
2006-12-11 21:00:14 +00:00
Nils Wallménius
fbb7cea934 oops, forgot FILES
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11717 a1c6a512-1295-4272-9138-f99709370657
2006-12-11 20:58:42 +00:00
Dave Chapman
8db36dc847 Delete libFLAC - it has't been used since October 2005
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11716 a1c6a512-1295-4272-9138-f99709370657
2006-12-11 20:35:22 +00:00
Nils Wallménius
ed15e2994d 1) Delete unused files from old database and old gui files 2) Remove unneccesary includes of the old database header 3) Delete the deprecated databox plugin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11715 a1c6a512-1295-4272-9138-f99709370657
2006-12-11 20:21:36 +00:00
Jonathan Gordon
e22649929f Add Chinese Simplified Language by Ye Wei
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11714 a1c6a512-1295-4272-9138-f99709370657
2006-12-11 13:13:07 +00:00
Jens Arnold
fcc00458a9 Beginnings of a fixed point math library for use in plugins. fsincos() only for now, mostly copied from eq.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11712 a1c6a512-1295-4272-9138-f99709370657
2006-12-10 23:04:05 +00:00
Jens Arnold
a4e06d39c9 Bounce demo: * Fixed title splash, this was broken for ages. * Fixed both boucing/ scrolling text and background clock (RTC targets only) to properly work for all resolutions, using the new fixedpoint math library. * Coloured scrolltext no longer changes the colour of the background clock. * Some more slight fixes, and preparations for resolution dependent font bitmap.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11711 a1c6a512-1295-4272-9138-f99709370657
2006-12-10 23:03:34 +00:00
Jens Arnold
f98fd72fe7 Beginnings of a fixed point math library for use in plugins. fsincos() only for now, mostly copied from eq.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11709 a1c6a512-1295-4272-9138-f99709370657
2006-12-10 22:50:00 +00:00
Michael Sevakis
99109938fe The sims hate me again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11706 a1c6a512-1295-4272-9138-f99709370657
2006-12-10 14:32:38 +00:00
Michael Sevakis
eca9f7fd60 Place all recording functionality on pcmrec thread to serialize all recording operations. Button mash problems should be ruled out of pcm_record.c. Add additional lightweight checks by default and display any warnings that occurred during recording in first line of recording screen when they occur by blinking back and forth from warning display to normal line (Warning: <hex bitmask>). Warnings are cleared when beginning a new recording so write the number down if you see it and file a report. Add heavier checks when PCMREC_PARANOID is defined in the player config header (encoders and pcm_record must be aware of the define since it changes the chunk header format). These checks are mainly concerned with things that may cause skipping but also add unwanted overhead for normal operation. Best used with logf enabled.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11705 a1c6a512-1295-4272-9138-f99709370657
2006-12-10 14:21:31 +00:00
Peter D'Hoye
7d0f00576e To reduce confusion, renamed 'Mic' to 'Internal Mic'. Maybe Line In should also be renamed to Line In / External Mic
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11702 a1c6a512-1295-4272-9138-f99709370657
2006-12-10 10:47:11 +00:00
Peter D'Hoye
3e1f837d11 Turned function back into define as that uses less bytes because gcc inlined the function.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11699 a1c6a512-1295-4272-9138-f99709370657
2006-12-09 12:27:04 +00:00
Peter D'Hoye
552ac5a724 Fix crash in browser when using very big fonts and show path option together. Solves FS#6397. Patch created by Mark Arigo and modified by me. Minor code ploicing while in there.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11696 a1c6a512-1295-4272-9138-f99709370657
2006-12-09 10:02:09 +00:00
Magnus Holmgren
d00f1d599a Add "m4b" to the list of supported filename extensions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11689 a1c6a512-1295-4272-9138-f99709370657
2006-12-08 13:55:14 +00:00
Adam Boot
5931ab2e13 Minor corrections to FLAC seeking calculations
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11687 a1c6a512-1295-4272-9138-f99709370657
2006-12-07 20:13:58 +00:00
Michael Sevakis
0d768a37f9 SWCODEC Recording: 1) Fix minor bug of not subtracting line aligment adjustment from buffer size. 2) Handle stop and pause better and let pcmrec thread lock the DMA as that could cause prerecording to get disabled internally 3) Make sure to snapshot DMA write index to ensure compiler doesn't perform multiple access when calculating available data (probably just paranoia on my part) 4) Handle USB connect in recording thread a little better by resetting hardware to defaults after closing 5) Make power managment stop recording properly when powering off (ie. no yield() from interrupt handler! :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11685 a1c6a512-1295-4272-9138-f99709370657
2006-12-07 19:34:26 +00:00
Nils Wallménius
5652b2528d Always use a black backgound while displaying images in jpegviewer, and use the usual foreground/background colors and backdrop in the jpegviewer menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11684 a1c6a512-1295-4272-9138-f99709370657
2006-12-07 17:23:52 +00:00
Magnus Holmgren
3183aeabac AAC/ALAC: Fix display of ReplayGain values (e.g., in the ID3 Info screen).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11683 a1c6a512-1295-4272-9138-f99709370657
2006-12-07 16:15:23 +00:00
Magnus Holmgren
de100c36cb AAC codec: accept M4B files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11681 a1c6a512-1295-4272-9138-f99709370657
2006-12-07 09:24:31 +00:00
Magnus Holmgren
7aab5302ac Make the AAC (and ALAC) codec more flexible when dealing with the MP4 file structure. Should fix some podcasts that don't play.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11680 a1c6a512-1295-4272-9138-f99709370657
2006-12-06 21:37:36 +00:00
Mark Arigo
8eaa685e1b Fix an errant #if effecting targets with MEM <= 8
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11677 a1c6a512-1295-4272-9138-f99709370657
2006-12-06 16:21:04 +00:00
Jonathan Gordon
3e24665c41 Fix settings not saving to disk correctly, (fixes FS#6408)
Stop playback.c requesting a rebuffer while not playing
Shutting down from inside the menu will now save settings to disk, and
entering the main menu will not force a setting save unless a setting
actually changes


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11674 a1c6a512-1295-4272-9138-f99709370657
2006-12-06 12:11:57 +00:00
Marcoen Hirschberg
77d039bab8 first step in audio driver unification: renaming the functions to audio_*
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11670 a1c6a512-1295-4272-9138-f99709370657
2006-12-06 10:24:59 +00:00
Michael Sevakis
51189b4cb4 Small change to PCM recording API for low latency effects. Latency can be as low as 14 samples from input to output including the FIFOs (ColdFire) but 16 is more reasonable an expectation if only tranferring one sample per interrupt (\!). May convert PCM playback to use the same method as it can still be used in the old manner with some slight mods but has the potential to enable new features since it is more flexible.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11668 a1c6a512-1295-4272-9138-f99709370657
2006-12-06 08:34:55 +00:00
Miika Pekkarinen
86d0d91b0c Forgot to commit this.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11666 a1c6a512-1295-4272-9138-f99709370657
2006-12-05 20:20:00 +00:00
Miika Pekkarinen
c5d57f0aae Removed the cpu boost tracking debug feature for now because of
different kind of problems. Better implementation can be done later.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11665 a1c6a512-1295-4272-9138-f99709370657
2006-12-05 20:01:48 +00:00
Marcoen Hirschberg
5f15f8f021 fix the analog clock on 'portrait' screens
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11664 a1c6a512-1295-4272-9138-f99709370657
2006-12-05 10:13:14 +00:00
Marcoen Hirschberg
1775d4f438 add gigabeat button defines
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11663 a1c6a512-1295-4272-9138-f99709370657
2006-12-05 10:09:07 +00:00
Jonathan Gordon
148c553023 fix metronome sync button
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11657 a1c6a512-1295-4272-9138-f99709370657
2006-12-04 01:04:14 +00:00
Jens Arnold
31ffd7b154 Completed target tree move of the ata driver code. Some code cleanup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11655 a1c6a512-1295-4272-9138-f99709370657
2006-12-03 22:13:44 +00:00
Magnus Holmgren
dc956ce993 Make playlist catalog and playlist save screen handle .m3u/.m3u8 better. Also fix a possible null-pointer case in the playlist save screen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11654 a1c6a512-1295-4272-9138-f99709370657
2006-12-03 20:45:12 +00:00
Martin Scarratt
1612275960 oops, its not as simple as that...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11650 a1c6a512-1295-4272-9138-f99709370657
2006-12-03 16:49:36 +00:00
Martin Scarratt
85860c34c4 Enable syncing button in the metronome for I-Rivers
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11649 a1c6a512-1295-4272-9138-f99709370657
2006-12-03 16:35:28 +00:00
Magnus Holmgren
10a9b4ef53 Remove some unneeded code that caused problems for enhanced AAC files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11648 a1c6a512-1295-4272-9138-f99709370657
2006-12-03 13:51:30 +00:00
Jonathan Gordon
53a93bea5b Patch FS#6365 by Stephane Doyon, Fix x5 bookmark screen keys
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11647 a1c6a512-1295-4272-9138-f99709370657
2006-12-03 01:22:13 +00:00
Jonathan Gordon
8e297d149f #if != #ifdef
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11646 a1c6a512-1295-4272-9138-f99709370657
2006-12-03 00:16:25 +00:00
Barry Wardell
f214b91387 Improved Sansa keymap. Based on version provided by Pavel Gnelitsa.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11640 a1c6a512-1295-4272-9138-f99709370657
2006-12-01 19:28:39 +00:00
Michael Sevakis
3b7d703329 Encoders: Mixdown to mono should round towards zero not -infinity.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11634 a1c6a512-1295-4272-9138-f99709370657
2006-12-01 00:39:37 +00:00
Peter D'Hoye
416acea2d8 More intuitive keymapping in pitch screen. Patch #6394 by Alexander Levin.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11633 a1c6a512-1295-4272-9138-f99709370657
2006-11-30 23:18:56 +00:00
Peter D'Hoye
e10a0f0381 Printing text right before clearing the display is not a very wise thing to do. Recursive dir scanning will now show the scanning message on top.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11632 a1c6a512-1295-4272-9138-f99709370657
2006-11-30 23:00:17 +00:00
Peter D'Hoye
7c53722535 Ooops... forgot about those charcells
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11631 a1c6a512-1295-4272-9138-f99709370657
2006-11-30 22:46:01 +00:00
Peter D'Hoye
0f02e4f7a0 File and (recursive) directories properties in the file browser context menu. Uses dircache if possible (plugin api expanded). Is actually implemented as plugin. Small parts taken from earlier work by Will Robertson.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11630 a1c6a512-1295-4272-9138-f99709370657
2006-11-30 22:29:48 +00:00
Miika Pekkarinen
cd605cffa3 Prevent a stack overflow on iPod 5.5G due to increased sector size.
Full patch coming at weekend.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11629 a1c6a512-1295-4272-9138-f99709370657
2006-11-30 19:42:41 +00:00
Magnus Holmgren
a515b10d47 Read .m3u playlist files using the default code page (unless they start with a BOM) rather than UTF-8. Change default playlist suffix to .m3u8 (playlists are always saved using UTF-8).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11626 a1c6a512-1295-4272-9138-f99709370657
2006-11-29 19:22:44 +00:00
Michael Sevakis
6ae46065b4 Add support for compiling encoders without adjustable CPU frequency and/or IRAM.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11625 a1c6a512-1295-4272-9138-f99709370657
2006-11-29 17:52:30 +00:00
Michael Sevakis
2b545c3104 Fixed FS#6389 - Sound disappears after pitch change and jump to the start of the song. Forgot to reinit the resampler delta when adding DSP_FLUSH on my last change. Bah.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11621 a1c6a512-1295-4272-9138-f99709370657
2006-11-29 00:16:25 +00:00
Nils Wallménius
daa16b9d6b Fix minor typo in the plugin playback control menu c->C
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11619 a1c6a512-1295-4272-9138-f99709370657
2006-11-28 15:28:30 +00:00
Michael Sevakis
97d1ca5a23 SWCODEC: Audio-related threads must be free of further tasks before returning buffers. Cleanup declarations of related functions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11618 a1c6a512-1295-4272-9138-f99709370657
2006-11-28 15:00:56 +00:00
Michael Sevakis
a1af87ffe7 Avoid calls to audio and talk functions in audio_get_buffer until init is complete. Just good hygiene really.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11615 a1c6a512-1295-4272-9138-f99709370657
2006-11-27 13:54:50 +00:00
Jens Arnold
0e6dd7efcd Moved archos button reading to target tree. * Cleanup of button.[ch]. * Deactivated serial remote code for recorder FM/V2 as there is no remote pin, saving ~500 bytes of code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11612 a1c6a512-1295-4272-9138-f99709370657
2006-11-27 02:16:32 +00:00
Tomasz Malesinski
0bed2be414 FS#6357, patch 3: implemented simple temporary malloc for the Vorbis decoder.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11610 a1c6a512-1295-4272-9138-f99709370657
2006-11-26 20:56:26 +00:00
Michael Sevakis
0a0c3f9763 After FS#6357 I see that I left an unneeded call to pcm_play_stop in zxbox.c when adding PLUGIN_IRAM_INIT.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11609 a1c6a512-1295-4272-9138-f99709370657
2006-11-26 19:57:40 +00:00
Tomasz Malesinski
0daef7565c Fixed the build error in FS#6357, patch 1.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11608 a1c6a512-1295-4272-9138-f99709370657
2006-11-26 19:10:26 +00:00
Jens Arnold
68fb89f41e Cube: Keep main colours and backdrop.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11607 a1c6a512-1295-4272-9138-f99709370657
2006-11-26 18:41:09 +00:00
Tomasz Malesinski
80da8b141c FS#6357, patch 1: let iramcopy and bss share the same space in codecs and
plugins. Currently, in case of plugins using IRAM bss is cleared twice,
once in the loader, once in PLUGIN_IRAM_INIT. For codecs, bss is cleared only
during codec initialization. Also, removed double variables in codecs
storing a pointer to codec_api.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11606 a1c6a512-1295-4272-9138-f99709370657
2006-11-26 18:31:41 +00:00
Jens Arnold
8ef3c8a342 Starfield should be white on black on colour targets, and disable backdrops.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11605 a1c6a512-1295-4272-9138-f99709370657
2006-11-26 18:26:31 +00:00
Michael Sevakis
bbef13eddf SWCODEC: Stop clicks between tracks when resampler is active by only switching the DSP frequency and not resetting the resampler at track boundaries. Will make sure DSP is correctly flushed at dicontinuities but don't hear any problems currently.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11600 a1c6a512-1295-4272-9138-f99709370657
2006-11-26 12:02:47 +00:00
Jonathan Gordon
4049d44b03 dont allow the ata callbacks to be run less than once every 30s unless
explicitly forced to.
The sleep_after param is only true in the Q_SLEEP event, so its uneeded,
so removed


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11599 a1c6a512-1295-4272-9138-f99709370657
2006-11-26 09:53:42 +00:00
Jonathan Gordon
e25c840b98 ipod keypad fixes.. fixes bubbles
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11598 a1c6a512-1295-4272-9138-f99709370657
2006-11-26 09:35:12 +00:00
Jonathan Gordon
fee5ca256b fix metronome keys
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11597 a1c6a512-1295-4272-9138-f99709370657
2006-11-26 07:20:04 +00:00
Michael Sevakis
cee9d3b47b Fixed header parsing in AIFF. The minimum header size is 54 bytes for an audio file. SSND chunk block_size and offset are 32-bit values, not 16-bit; this bug would probably never even matter since most sound data isn't block aligned.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11596 a1c6a512-1295-4272-9138-f99709370657
2006-11-25 21:27:46 +00:00
Michael Sevakis
17507b979d Fixed bug in dither_init that was causing the AIFF playback at sample rates other than 44.1kHz to not procede. It created a dependency of setting sample depth before frequency and aiff.codec does it the other way.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11595 a1c6a512-1295-4272-9138-f99709370657
2006-11-25 20:59:45 +00:00
Shachar Liberman
4d93177457 Made the AGC functions compatible with non-latin languages following the
'NonLatinLanguages' wiki page. Please keep using separate LANG_SYSFONT_
strings when using the internal font, Which only supports latin charset,
for easier translation. * Hebrew translation.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11594 a1c6a512-1295-4272-9138-f99709370657
2006-11-25 20:11:59 +00:00
Daniel Ankers
844d22f277 Allow GPIO debug screen on Sansa. Also remove a warning from the NAND driver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11593 a1c6a512-1295-4272-9138-f99709370657
2006-11-25 15:57:07 +00:00
Jonas Häggqvist
6b1d2cbd82 Tag cache renamed to the less cryptic "Database" throughout the UI and manual. No functional changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11588 a1c6a512-1295-4272-9138-f99709370657
2006-11-25 09:42:06 +00:00
Jens Arnold
38d716660e Fix bug in large-value handling of gui_scrollbar_draw() that went unnoticed for ages...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11587 a1c6a512-1295-4272-9138-f99709370657
2006-11-25 00:20:53 +00:00
Michael Sevakis
aa9ddbd8ba Fixed header calculation goofs that would've affected mono files and little-endian targets. A bit of general cleanup. Time for bed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11586 a1c6a512-1295-4272-9138-f99709370657
2006-11-24 21:34:15 +00:00
Michael Sevakis
0729b928ce Recording: Add AIFF recording to SWCODEC. Note: AIFF playback chokes on sample rates other than 44.1kHz whether recorded or created and saved with an external program. Recorded files will still open in an external editor however.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11583 a1c6a512-1295-4272-9138-f99709370657
2006-11-24 19:49:04 +00:00
Magnus Holmgren
af05296a82 Enable ReplayGain processing for AAC and ALAC (not really tested though). Also, use the 'standard' wait-for-metadata loop in the ALAC decoder.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11580 a1c6a512-1295-4272-9138-f99709370657
2006-11-23 20:05:14 +00:00
Magnus Holmgren
1ac20995c3 Read frequency in MP4/AAC files from a different place, if available. Should fix the problem with wrong playback speed for non-44.1kHz files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11579 a1c6a512-1295-4272-9138-f99709370657
2006-11-23 19:46:59 +00:00
Michael Sevakis
ab1861a3c2 iRiver/iAudio: Added audio_set_recording gain and sound_default to plugin API. Simplified plugin recording by target/-ing some audio functions. UDA1380 records with WSPLL as a result.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11577 a1c6a512-1295-4272-9138-f99709370657
2006-11-23 19:21:15 +00:00
Miika Pekkarinen
e3b0937a4a Priority overriding was not working correctly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11573 a1c6a512-1295-4272-9138-f99709370657
2006-11-22 10:46:38 +00:00
Michael Sevakis
fbac4f8444 Audio bugfixes. Should wait for voice codec to reload before returning buffer when stealing voice. Certain variables that get or may get used during an IRQ should be declared 'volatile'.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11572 a1c6a512-1295-4272-9138-f99709370657
2006-11-22 09:13:14 +00:00
Daniel Ankers
242cbd5cd7 Change if CONFIG_CPU==PP50XX to ifdef CPU_PP where appropriate
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11569 a1c6a512-1295-4272-9138-f99709370657
2006-11-22 00:41:30 +00:00
Marianne Arnold
99975e9fb5 new usb logos for all screens, utilising lcd_bitmap_transparent() on colour displays. It saves some bytes on Archos as a nice side effect
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11560 a1c6a512-1295-4272-9138-f99709370657
2006-11-20 10:56:22 +00:00
Jens Arnold
0b2ac4b427 BMP loader: Using shifts for division by powers of 2 saves a bit on code size.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11559 a1c6a512-1295-4272-9138-f99709370657
2006-11-20 00:55:09 +00:00
Jens Arnold
848e0b5a16 BMP loader: Remote LCD format support.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11558 a1c6a512-1295-4272-9138-f99709370657
2006-11-20 00:20:09 +00:00
Jens Arnold
59320834b6 Solitaire: Repair card border and selection frame. Would it be better to make the playfield background always green again?
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11557 a1c6a512-1295-4272-9138-f99709370657
2006-11-19 22:49:37 +00:00
Miika Pekkarinen
f752a5aa90 Check if file has already been removed from DB when manually invoking
reverse scan.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11556 a1c6a512-1295-4272-9138-f99709370657
2006-11-19 19:11:30 +00:00
Jens Arnold
d1077a8a0c Fixed the dithering once more.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11555 a1c6a512-1295-4272-9138-f99709370657
2006-11-19 14:58:12 +00:00
Jonathan Gordon
d5df5f63fd please, oh please give me a green build so I can goto bed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11554 a1c6a512-1295-4272-9138-f99709370657
2006-11-19 14:39:02 +00:00
Jonathan Gordon
6e2778b079 grr.. forgot to add these files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11553 a1c6a512-1295-4272-9138-f99709370657
2006-11-19 14:19:15 +00:00
Jonathan Gordon
6288523cfe * Move checkbox to plugin api (core never uses it)
* replace the last of the scrollbar() calls with gui_scrollbar_draw()


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11552 a1c6a512-1295-4272-9138-f99709370657
2006-11-19 14:11:42 +00:00
Jens Arnold
adc4848772 Complete rework of the BMP loader: * Support for 4 bit, 15/16 bit and 32 bit BMPs in addition to the already supported 1 bit, 8 bit and 24 bit formats. * Better protection against corrupt BMP files. * Added dithering for 2 bit targets. * Optimised, compact code. There's almost no code size increase for SH1 (only 68 bytes), and even a decrease for coldfire, with all the additional features. * Code policed. * Fixes bug that loading a backdrop worked only once per session.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11548 a1c6a512-1295-4272-9138-f99709370657
2006-11-18 14:29:51 +00:00
Jonathan Gordon
65e0a0c934 fix bubbles for good this time.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11547 a1c6a512-1295-4272-9138-f99709370657
2006-11-18 13:42:09 +00:00
Jonathan Gordon
73e31d1af3 fix ondios again. Add a context for left/right/fire actions which seems
to work well


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11546 a1c6a512-1295-4272-9138-f99709370657
2006-11-18 11:16:53 +00:00
Michael Sevakis
acc29d95be SWCODEC/IRAM: Save voice IRAM when a plugin initializes its IRAM. Defines two macros for declaring and initializing IRAM. Plugins should use these instead. See mp3_encoder, doom, etc. for details. Further tweaks in buffer restoration after other use. Hiding of some interfaces that should only be used by buffer management.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11544 a1c6a512-1295-4272-9138-f99709370657
2006-11-18 02:18:29 +00:00
Jonathan Gordon
e2a262ee25 fix ondio keymaps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11543 a1c6a512-1295-4272-9138-f99709370657
2006-11-17 03:18:04 +00:00
Jonathan Gordon
b8365c825b More target specific lang fixes from Austin Appel
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11542 a1c6a512-1295-4272-9138-f99709370657
2006-11-17 03:01:16 +00:00
Jonathan Gordon
10b00132c7 fix ondio keys, and tempo +/- on all targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11541 a1c6a512-1295-4272-9138-f99709370657
2006-11-17 00:50:35 +00:00
Mark Arigo
a60caa9f54 Fix alignment issue that caused data aborts on arm targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11540 a1c6a512-1295-4272-9138-f99709370657
2006-11-16 21:04:04 +00:00
Michael Sevakis
5f85fc50b1 Add target specific language to keymappings for iPods, x5 and h10 targets. Resolves FS#6157. Patch by Austin Appel.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11539 a1c6a512-1295-4272-9138-f99709370657
2006-11-16 13:13:10 +00:00
Michael Sevakis
bf65676226 Removed muting from pcm buffer during starts, stops and pauses for tlv320 and uda1380. Far less in the way of pops now. Voice during FM radio playback keeps radio steady. If it is determined that other audio codecs don't benefit from this remove the muting code and defines altogether. Saving the state and not resetting more than needed seems to prevent popping more effectively than muting at DMA starts and stops. Voice can click a little if truncating a clip (not annoyingly though) but that should be handled by a DSP fade out over a few ms instead-- a side benefit would be a general DSP fade rather than using volume control.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11538 a1c6a512-1295-4272-9138-f99709370657
2006-11-16 05:33:42 +00:00
Jonathan Gordon
ef35bb9d47 fix builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11537 a1c6a512-1295-4272-9138-f99709370657
2006-11-16 03:12:27 +00:00
Jonathan Gordon
9ddcab8eb0 woops, i'm a dill!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11536 a1c6a512-1295-4272-9138-f99709370657
2006-11-16 03:05:25 +00:00
Jonathan Gordon
7b8b0ff491 implement actions in the plugins, bubbles and metronome converted.
(hopefully buttons are correct, let me know in
http://forums.rockbox.org/index.php?topic=5829.0 if there is a major
stuff up)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11535 a1c6a512-1295-4272-9138-f99709370657
2006-11-16 02:53:44 +00:00
Michael Sevakis
77b615344c H100/300: Fixed radio silence problem. Removed the wrong call in my last update. :P
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11533 a1c6a512-1295-4272-9138-f99709370657
2006-11-15 21:30:53 +00:00
Magnus Holmgren
ea7992455a Make the updated %rg tag match playback behaviour (fall back to track gain if album gain requested but not available). Share the mode decision logic with playback code and simplify the %rg tag handling.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11532 a1c6a512-1295-4272-9138-f99709370657
2006-11-15 20:26:33 +00:00
Martin Scarratt
442c0e663f Improved replaygain tags for WPS by Ian Webber fs#6223. Shows the current status of the gain rather than what the setting is set to. %?rg<off|track|album|shuffletrack|shufflealbum|notag>. Also, %rg will give the current gain adjustment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11531 a1c6a512-1295-4272-9138-f99709370657
2006-11-15 17:29:03 +00:00
Jonathan Gordon
9270ee6aab dump the old scrollbar(), make it a wrapper to gui_scrollbar_draw() only
drawing to the main LCD. Saves ~400bytes on the recorder.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11530 a1c6a512-1295-4272-9138-f99709370657
2006-11-15 10:11:51 +00:00
Karl Kurbjun
3fb591c6af didn't include the frequency stuff in snake2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11529 a1c6a512-1295-4272-9138-f99709370657
2006-11-15 06:58:08 +00:00
Karl Kurbjun
1a9442c001 Hopefully clean up some errors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11528 a1c6a512-1295-4272-9138-f99709370657
2006-11-15 06:46:35 +00:00
Karl Kurbjun
cd73d8bf02 one more for the backdrop stuff
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11527 a1c6a512-1295-4272-9138-f99709370657
2006-11-15 06:18:51 +00:00
Karl Kurbjun
d6b0c97312 Don't need to remove the backdrop for all plugins - leave it up for some.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11526 a1c6a512-1295-4272-9138-f99709370657
2006-11-15 06:14:27 +00:00
Mark Arigo
9b0ef15c0d Strip APE tags during buffering so they do not break MP3 gapless playback.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11525 a1c6a512-1295-4272-9138-f99709370657
2006-11-14 15:48:20 +00:00
Michael Sevakis
7bc41203af Removed anachronisms introduced with low battery shutdown patch.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11524 a1c6a512-1295-4272-9138-f99709370657
2006-11-14 02:46:59 +00:00
Michael Sevakis
cc50c149e9 H100/General: HAL for S/PDIF and refinement/bufixes in optical output powering/source selection.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11523 a1c6a512-1295-4272-9138-f99709370657
2006-11-13 23:21:54 +00:00
Steve Bavin
6a27006a5d Minor voice fixes; prevent voice queue overflow, fix compile of voice-less build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11521 a1c6a512-1295-4272-9138-f99709370657
2006-11-13 09:07:18 +00:00
Jens Arnold
0297873f6a Backdrop support for greyscale targets. WPS backdrop is untested.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11520 a1c6a512-1295-4272-9138-f99709370657
2006-11-13 00:45:21 +00:00
Barry Wardell
6684df4113 FS#6315 - Get the UI simulator to compile for non SWCODEC targets on OS X.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11515 a1c6a512-1295-4272-9138-f99709370657
2006-11-11 23:30:41 +00:00
Miika Pekkarinen
ab643e7694 Make it possible to force sorting.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11514 a1c6a512-1295-4272-9138-f99709370657
2006-11-11 17:39:37 +00:00
Jens Arnold
83e18d982c Patch #5771 by Frederik Vestre: Fix BMP loader to work in 64bit environments (simulator).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11513 a1c6a512-1295-4272-9138-f99709370657
2006-11-11 11:26:42 +00:00
Miika Pekkarinen
202b7267c2 Fixed logf builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11512 a1c6a512-1295-4272-9138-f99709370657
2006-11-11 08:00:28 +00:00
Michael Sevakis
466e066ddb Trimmed a little too much from plugin.c :P
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11510 a1c6a512-1295-4272-9138-f99709370657
2006-11-11 05:47:42 +00:00
Brandon Low
8a82892e52 Thread API enhancements.
1) block_thread -> block_thread + block_thread_w_tmo -- this call was always used in distinct ways so having one call with a conditional was ugly.
2) enhance Slasheri's scheduler controlled boost concept.  now any thread may trigger a boost which will last until that thread next sleeps.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11509 a1c6a512-1295-4272-9138-f99709370657
2006-11-11 05:33:24 +00:00
Michael Sevakis
806d8f3505 Added recording functions to plugin API per request of Thom Johansen. Cleaned up includes in plugin.c and grouped them a bit better in plugin.h while at it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11508 a1c6a512-1295-4272-9138-f99709370657
2006-11-11 05:11:05 +00:00
Barry Wardell
8d2711b7d2 Improved power management (FS#3001). Shutdown rockbox when the battery gets to a level where the device doesn't function properly. Calculate remaining charging time while charging (rather than remaining running time). Show "Low Battery" and "Battery Empty" warnings. Also fixes FS#4786.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11507 a1c6a512-1295-4272-9138-f99709370657
2006-11-11 01:18:57 +00:00
Jens Arnold
780f79e7a4 Removed the Gmini 120 and Gmini SP code. These ports are dead, unfortunately.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11504 a1c6a512-1295-4272-9138-f99709370657
2006-11-10 20:26:01 +00:00
Martin Scarratt
f669797d07 Bookmark screen: fix buttons for both I-River remotes. fs#6251
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11501 a1c6a512-1295-4272-9138-f99709370657
2006-11-10 16:46:33 +00:00
Daniel Stenberg
0065192902 Made the PSID metadata parser a little less trusting of its input.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11500 a1c6a512-1295-4272-9138-f99709370657
2006-11-10 12:26:26 +00:00
Miika Pekkarinen
cdc2c3b653 Enable all Rockbox supported formats for the database command line
utility.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11499 a1c6a512-1295-4272-9138-f99709370657
2006-11-10 11:48:23 +00:00
Miika Pekkarinen
6a86036e90 Don't add extra slash at beginning when creating db.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11498 a1c6a512-1295-4272-9138-f99709370657
2006-11-10 09:52:46 +00:00
Miika Pekkarinen
0dd7ea2d71 Support building tagcache db natively on PC using the core of the
Rockbox tagcache database engine. Only host endian support at the
moment and no command line parameters. Mainly for developers for
debugging at the moment.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11497 a1c6a512-1295-4272-9138-f99709370657
2006-11-10 08:03:33 +00:00
Karl Kurbjun
ae221f1402 Height doesn't matter
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11496 a1c6a512-1295-4272-9138-f99709370657
2006-11-10 07:54:48 +00:00
Jens Arnold
03adbd280d Ooops, adapt playback.c to the new IRAM distribution on X5. Codec IRAM is defined in more than one place...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11495 a1c6a512-1295-4272-9138-f99709370657
2006-11-10 07:45:30 +00:00
Karl Kurbjun
e3324483df oops forgot the logo build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11493 a1c6a512-1295-4272-9138-f99709370657
2006-11-10 06:55:16 +00:00
Karl Kurbjun
cbce47a623 Fix the second inverse
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11492 a1c6a512-1295-4272-9138-f99709370657
2006-11-10 06:36:36 +00:00
Karl Kurbjun
06d8ee64c1 Clock plugin now scales with the screen size. The binary and plain mode still need updated bitmaps for larger screens and the time's up graphic could be updated as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11491 a1c6a512-1295-4272-9138-f99709370657
2006-11-10 06:23:06 +00:00
Peter D'Hoye
6170e8837b Quit the jpeg viewer gracefully if started without arguments or with a wrong file in a directory with no supported filetypes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11486 a1c6a512-1295-4272-9138-f99709370657
2006-11-09 23:21:28 +00:00
Tomasz Malesinski
5c54ba49d5 Added macros controlling what goes to IRAM on different targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11483 a1c6a512-1295-4272-9138-f99709370657
2006-11-09 21:59:27 +00:00
Jens Arnold
2e383a430d X5: Changed IRAM splitting between core and codecs/plugins. (a) Codecs benefit more from IRAM than the core. Further changes are required to actually make use of this. (b) This way, all core IRAM is DMA capable (wasn't the case before), so one less pitfall.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11482 a1c6a512-1295-4272-9138-f99709370657
2006-11-09 21:15:49 +00:00
Jonathan Gordon
0d941425b9 call call_ata_idle_notifys on clean shutdown, this should work, but
threads with possible callbacks should deal with shutdown/usb
themselves.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11480 a1c6a512-1295-4272-9138-f99709370657
2006-11-09 12:36:50 +00:00
Martin Scarratt
d8103f3ba6 Recording trigger for software codec targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11479 a1c6a512-1295-4272-9138-f99709370657
2006-11-09 12:27:56 +00:00
Adam Boot
c1916afa41 Sample-accurate seeking for FLAC
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11474 a1c6a512-1295-4272-9138-f99709370657
2006-11-08 22:00:45 +00:00
Magnus Holmgren
38ec5edf26 Improve support for long MP4 files. Twice as long files can now play, and for those that still are too long, exit with a codec failure rather than freeze Rockbox.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11471 a1c6a512-1295-4272-9138-f99709370657
2006-11-08 19:54:08 +00:00
Jonathan Gordon
d9f7ac24f4 fix booboo in ata.c (SYS_POWEROFF falling into SYS_USB_CONNECTED)
enable ata_idle callbacks in ata_mmc.c (calls the callbacks after 10s of
real inactivity)
fix builds


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11462 a1c6a512-1295-4272-9138-f99709370657
2006-11-08 02:23:01 +00:00
Jonathan Gordon
f184152c05 * changes to ata.c - idle callbacks are called after 2 sec of real idle,
and shutdown and usb (it makes sense here). ata_sleep doesnt get broken
by callbacks.
* allow ata_sleep() at the end of buffering again
* config block uses ata_idle instead of delayed sector when saving
* remove delayed sector code from ata_mmc.c (idle callbacks are not yet
implemented for ata_mmc.c tho)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11461 a1c6a512-1295-4272-9138-f99709370657
2006-11-08 01:55:26 +00:00
Michael Sevakis
5dd0775924 Calculation was wrong in pcmbuf_is_same_size such that is would almost certainly return false.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11460 a1c6a512-1295-4272-9138-f99709370657
2006-11-07 19:30:48 +00:00
Magnus Holmgren
50deedc6c7 UI simulator: fix startup freeze if a language had been selected.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11459 a1c6a512-1295-4272-9138-f99709370657
2006-11-07 19:03:29 +00:00
Jonathan Gordon
a018641105 allow the nano to rebuffer on "disk" spindown, seems to be fine
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11457 a1c6a512-1295-4272-9138-f99709370657
2006-11-07 06:31:36 +00:00