Commit graph

13732 commits

Author SHA1 Message Date
Andree Buschmann
8b540fa9d9 Speed up AAC-HE SBR by 2% on S5L8701. Use MEM_ALIGN on critical arrays and avoid stalls in asm code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29209 a1c6a512-1295-4272-9138-f99709370657
2011-02-05 14:29:47 +00:00
Michael Sevakis
62fb090ac4 Fix #11897 - Multiple 'divide by zero' while playing particular APE on Clip+. Problem and solution observed and checked on Gigabeat S by myself. Fix submitted by Mikhail Titov resolves it. range_decode_short was declared as returing 'int short' rather than 'unsigned short' resulting in unwanted sign extension.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29208 a1c6a512-1295-4272-9138-f99709370657
2011-02-05 09:59:36 +00:00
Andree Buschmann
d3934185ac Correct the metronome keymap in the manual. Better describe buttons/actions in metronome help text. Closes FS#11773.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29204 a1c6a512-1295-4272-9138-f99709370657
2011-02-03 21:20:50 +00:00
Andree Buschmann
5a2421a0de Follow up on r29199. Move new codec types to the end of the list.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29203 a1c6a512-1295-4272-9138-f99709370657
2011-02-03 11:43:45 +00:00
Andree Buschmann
7e63bfd2ab Correctly re-initialize wma decoder on next track. This fixes strange observed issues (noise, crashes) which only could be solved through re-entering the wma codec.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29202 a1c6a512-1295-4272-9138-f99709370657
2011-02-03 11:05:33 +00:00
Andree Buschmann
4e74494d57 Changes in m4a parser: The metadata (e.g. sampling rate) for alac and aac must read from their dedicated metadata atom. Otherwise there might be wrong settings used. This patch also adds (commented) code which enables parsing for an alac metadata atom if neccessary. I have several sample files which require such parsing to find the metadata atom. Fixes FS#11719.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29201 a1c6a512-1295-4272-9138-f99709370657
2011-02-03 09:23:04 +00:00
Andree Buschmann
6b476e7bec Roll back unintentionally submitted file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29200 a1c6a512-1295-4272-9138-f99709370657
2011-02-03 08:36:34 +00:00
Andree Buschmann
7345ac124e Submit FS#11918: Add 2 more codec types to be able to differentiate between AAC / AAC-HE and MPC SV7 / SV8. Additionally handle ATARI soundfiles in get_codec_base_type() as intended.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29199 a1c6a512-1295-4272-9138-f99709370657
2011-02-03 08:28:23 +00:00
Michael Sevakis
1bb3d61ef3 MPEGPlayer: Try out a different frame drop scheme meant to skip in a more uniform way rather than running up late and jumping forward; will often drop more in long term to keep up in short term. Some other obscure fixes included: wait for 2 ref pics before decoding B-pics again after P or I frame drop or seeking (issue with open GOPs); draw the frame the decoder already has when beginning playback after a seek; rename a few vars.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29198 a1c6a512-1295-4272-9138-f99709370657
2011-02-03 03:14:12 +00:00
Thomas Martitz
b22b0dc101 Touchscreen: Fix minor redraw after entering the context menu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29193 a1c6a512-1295-4272-9138-f99709370657
2011-02-02 18:39:04 +00:00
Thomas Martitz
430ada0864 Redo r29168. Use similar but existing mechanism in the action system which seems to work better.
Don't eat buttons on context change if it was waiting for button release (you did need another release).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29192 a1c6a512-1295-4272-9138-f99709370657
2011-02-02 18:30:10 +00:00
Thomas Martitz
48016d5e07 Reduce excessive debug output during mp3 parsing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29191 a1c6a512-1295-4272-9138-f99709370657
2011-02-02 18:27:31 +00:00
Andree Buschmann
5d849a963e Clean up multiple definitions of RAM size. Remove -DMEM (make) and MEM (code), use the already defined MEMORYSIZE instead.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29189 a1c6a512-1295-4272-9138-f99709370657
2011-02-02 17:43:32 +00:00
Andree Buschmann
35bcdef144 Find a more consistent and resilient way to handle SBR upsampled files. The detection is only done in one place (the metadata parser) and takes into account that the m4a header might already report corrected frame/sample sizes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29188 a1c6a512-1295-4272-9138-f99709370657
2011-02-02 15:12:55 +00:00
Andree Buschmann
4343399473 Recognize AAC-HE SBR with upsampling and correct duration, bitrate, seek and resume behaviour for such files. When SBR upsampling is used the decoder outputs the double amount of samples per frame. As the seek and resume functions do not know about this fact a special handling is introduced. Fixes issues reported in FS#11916.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29186 a1c6a512-1295-4272-9138-f99709370657
2011-02-02 09:38:24 +00:00
Andree Buschmann
0a93396cde Do not parse into 'ilst' atom if size is 0. Fixes playability issue in FS#11916.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29185 a1c6a512-1295-4272-9138-f99709370657
2011-02-02 09:28:48 +00:00
Magnus Holmgren
11b7a4fb26 Add a safety check in the resume seek code, just in case.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29181 a1c6a512-1295-4272-9138-f99709370657
2011-02-01 20:17:42 +00:00
Andree Buschmann
ee6a74e7e3 We seeked one chunk too far when resuming m4a files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29180 a1c6a512-1295-4272-9138-f99709370657
2011-02-01 19:55:54 +00:00
Thomas Martitz
4888d41b09 Pitchscreen: Small fix for the right touchscreen button.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29179 a1c6a512-1295-4272-9138-f99709370657
2011-02-01 15:01:44 +00:00
Andree Buschmann
411023c6be Rework m4a seek/resume code. Seek/resume does now also work properly with files having sample_to_chunk of 1 or 2.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29178 a1c6a512-1295-4272-9138-f99709370657
2011-01-31 21:54:50 +00:00
Andree Buschmann
ad6c3bc8c5 Fix resume for m4a files. Solves FS#9306.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29175 a1c6a512-1295-4272-9138-f99709370657
2011-01-31 15:18:26 +00:00
Andree Buschmann
dedde47424 Limit the size of each ID3 metadata item to avoid that the metadata buffer is filled by single items. Fixes FS#11875, FS#9805 and FS#9299.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29174 a1c6a512-1295-4272-9138-f99709370657
2011-01-30 20:23:55 +00:00
Michael Sevakis
799fc0f103 Fix r29171 red. Forgot to replace a few.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29172 a1c6a512-1295-4272-9138-f99709370657
2011-01-30 01:15:23 +00:00
Michael Sevakis
18770dac2e Use __builtin_constant_p() to select the best byteswapping method: constant or target optimized. Same macro can then be used for constant values and inits as well as non-constant.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29171 a1c6a512-1295-4272-9138-f99709370657
2011-01-30 00:58:45 +00:00
Antoine Cellerier
c0c769c5a8 Add widgets to android port.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29170 a1c6a512-1295-4272-9138-f99709370657
2011-01-29 20:47:32 +00:00
Thomas Martitz
7436e7ab41 Touchscreen/lists: Hopefully fix glitchy behavior that happened after opening the context menu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29168 a1c6a512-1295-4272-9138-f99709370657
2011-01-29 16:33:25 +00:00
Thomas Martitz
3804befc13 Ugh, remove debug output.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29167 a1c6a512-1295-4272-9138-f99709370657
2011-01-29 15:37:09 +00:00
Thomas Martitz
5e3d8f961c Improve sometimes glitchy touchscreen handling in the pitchscreen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29166 a1c6a512-1295-4272-9138-f99709370657
2011-01-29 15:34:36 +00:00
Thomas Martitz
c402519e31 Fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29165 a1c6a512-1295-4272-9138-f99709370657
2011-01-29 15:14:23 +00:00
Thomas Martitz
5606719499 Fix oops in r29160 (apps went into games and vice versa).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29163 a1c6a512-1295-4272-9138-f99709370657
2011-01-29 15:03:03 +00:00
Thomas Martitz
2bb81f70f5 Move fm radio related menus out of radio.c into apps/menus/.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29162 a1c6a512-1295-4272-9138-f99709370657
2011-01-29 15:01:28 +00:00
Thomas Martitz
aa9a68a690 Android: Change menu button to go always (and not only in the wps) to the main menu and long menu to open the context menu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29161 a1c6a512-1295-4272-9138-f99709370657
2011-01-29 11:58:32 +00:00
Thomas Martitz
f7da333d12 Re-factor code for the plugins main menu item, enabling better icons in that menu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29160 a1c6a512-1295-4272-9138-f99709370657
2011-01-29 11:50:38 +00:00
Thomas Martitz
4aec8ef059 Fix SDL app build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29159 a1c6a512-1295-4272-9138-f99709370657
2011-01-29 01:26:43 +00:00
Thomas Martitz
42a8cc3835 Give the playlists main menu item a context menu (playlist settings).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29158 a1c6a512-1295-4272-9138-f99709370657
2011-01-29 01:01:44 +00:00
Thomas Martitz
89a4cf2693 Change the way how playlists and system menu items in the main menu are internally invoked so that the mechanism to
pass the back button press to the android system (to let it go to the home screen) works for them.
This fixes that the back button goes still to the home screen after entering these items.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29157 a1c6a512-1295-4272-9138-f99709370657
2011-01-29 01:01:12 +00:00
Mustapha Senhaji
70b99e3e2c Some minor corrections for the czech translation.
Flyspray: FS#11909
Author: Marek Salaba


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29155 a1c6a512-1295-4272-9138-f99709370657
2011-01-29 00:30:14 +00:00
Mustapha Senhaji
8855ac48db Update the slovak translation.
Flyspray: FS#11905
Author: Peter Lecky


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29152 a1c6a512-1295-4272-9138-f99709370657
2011-01-29 00:21:37 +00:00
Thomas Martitz
b703d251be Workaround the brokenness of realpath() a bit more.
At least on android it blindly writes to the end of the buffer passed to it assuming it's sufficiently. It wasn't in our case, resulting in a buffer overflow (and breakage).
This should fix strange problems relating to database initialization on application targets.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29147 a1c6a512-1295-4272-9138-f99709370657
2011-01-27 20:17:55 +00:00
Thomas Martitz
044de86d81 Fix FS#11904, filename generation was lacking a slash.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29140 a1c6a512-1295-4272-9138-f99709370657
2011-01-26 07:46:02 +00:00
Andree Buschmann
4c38572997 Remove WPS related variable which is read but not set or changed. Closes FS#11396.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29139 a1c6a512-1295-4272-9138-f99709370657
2011-01-25 21:40:55 +00:00
Michael Sevakis
d796ab6f61 Pacbox: Fix assumption about LCD width of 128 implying the display needs vertical clipping. No more screen garbage on sa9200.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29138 a1c6a512-1295-4272-9138-f99709370657
2011-01-25 19:28:40 +00:00
Mustapha Senhaji
81682e723a Update the russian translation.
Flyspray: FS#11882
Author: Simon Zhukovsky


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29137 a1c6a512-1295-4272-9138-f99709370657
2011-01-25 17:22:39 +00:00
Mustapha Senhaji
f29bc4b8ff Update the chinese-simp translation.
Since "Yes" and "No" are context depending apparently,
replace them by "ˆš" for "Yes" and "×" for "No";
for voice use "˜¯" and "¦".

Flyspray: FS#11890
Author: Purling Nayuki


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29136 a1c6a512-1295-4272-9138-f99709370657
2011-01-25 17:20:56 +00:00
Michael Sevakis
c498a5cf08 MPEGPlayer: Account for drivers that pass pointers to their internal state variables to the audio callback.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29135 a1c6a512-1295-4272-9138-f99709370657
2011-01-25 17:18:20 +00:00
Antoine Cellerier
ef980355c8 Move android notification display format logic to java code (no functional change, this is used by FS #11902).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29132 a1c6a512-1295-4272-9138-f99709370657
2011-01-24 17:10:56 +00:00
Teruaki Kawashima
01313d5039 * Rename backlight_force_on to backlight_ignore_timeout to make it clear what the function does.
* Add backlight_force_on() which forces to turn on backlight even when the setting is set to Off. use this in lamp.
No functional change except lamp.
See aslo FS#9883.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29128 a1c6a512-1295-4272-9138-f99709370657
2011-01-24 12:29:16 +00:00
Jonathan Gordon
f06f685273 New option for the bar tags: 'backdrop, <label>' will draw another image under the progressbar (only works with image and slider bars)
example:
%V(22,253,198,14,-)
%xl(a,PLAY_BAR_BACKDROP-240x320x16.bmp,0,0)
%pb(0,0,198,14,PLAY_BAR-240x320x16.bmp, backdrop, a)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29127 a1c6a512-1295-4272-9138-f99709370657
2011-01-24 09:04:28 +00:00
Marianne Arnold
cb39ac6b1e Also update the two missing autoresume strings in the German translation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29126 a1c6a512-1295-4272-9138-f99709370657
2011-01-23 22:45:09 +00:00
Dominik Riebeling
264e27d5b0 Add german translation for LANG_FM_RSSI.
Author: Uwe Wiebach
Flyspray: FS#11811



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29121 a1c6a512-1295-4272-9138-f99709370657
2011-01-23 18:08:50 +00:00
Michael Sevakis
6d2e7769e2 Better boost calculation for multifrequency CPUs. Frequencies between minimum and maximum count as fractional boost.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29115 a1c6a512-1295-4272-9138-f99709370657
2011-01-22 18:30:24 +00:00
Thomas Martitz
921ffe7111 Declaration of 'pause' from robotfindskitten has conflicting types for 'pause' from android-ndk-r5
Flyspray: FS#11901
Author: Benjamin Brown

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29114 a1c6a512-1295-4272-9138-f99709370657
2011-01-22 18:27:05 +00:00
Michael Sevakis
98246b82b9 i.MX31: Add a debug menu to play around with DVFS/DPTC settings for fun, testing or benchmarking purposes. Can set the CPU frequency working point, whether DPTC voltage scaling is enabled and change the software-programmable load tracking weights.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29113 a1c6a512-1295-4272-9138-f99709370657
2011-01-22 16:58:17 +00:00
Thomas Martitz
aed6205831 Declaration of 'pause' from chessclock is redeclared as different kind of symbol by android-ndk-r5
Flyspray: FS#11900
Author: Benjamin Brown

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29112 a1c6a512-1295-4272-9138-f99709370657
2011-01-22 16:55:59 +00:00
Teruaki Kawashima
3ff2fb37c9 revert personal change accidentally included in r29110
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29111 a1c6a512-1295-4272-9138-f99709370657
2011-01-22 16:19:20 +00:00
Teruaki Kawashima
68cc564c9b FS#11819: image viewer: use magick number in file to determine image type.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29110 a1c6a512-1295-4272-9138-f99709370657
2011-01-22 13:41:53 +00:00
Thomas Martitz
01586b5ffe FS#11828: Fix in core mod parser to blindly accept any .mod you throw at it. Based on MikMod.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29105 a1c6a512-1295-4272-9138-f99709370657
2011-01-21 20:09:22 +00:00
Robert Menes
f511e4916d Get the Croatian language file to build. Overlooked
previously.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29101 a1c6a512-1295-4272-9138-f99709370657
2011-01-21 11:53:17 +00:00
Michael Sevakis
2da0f9bcfd Fuze v2: Do button reading more efficiently by mapping button codes directly to the GPIO pin states where possible (all but 'home' and hold). This makes plugins incompatible; up the min version and sort things.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29097 a1c6a512-1295-4272-9138-f99709370657
2011-01-20 17:11:23 +00:00
Teruaki Kawashima
ee6ea59c76 pong: make related variables a structure. Correct collision detecting. Disable turn off backlight.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29095 a1c6a512-1295-4272-9138-f99709370657
2011-01-20 13:37:20 +00:00
Teruaki Kawashima
262e6db70e image viewer: png: do not show custom error message when there is not enough memory. get rid of use of iv->plug_buf.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29091 a1c6a512-1295-4272-9138-f99709370657
2011-01-19 13:20:00 +00:00
Teruaki Kawashima
622be891b3 image viewer: ppm:
* return proper error code when image is too large.
* check return value of read() properly.
* display progressbar.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29090 a1c6a512-1295-4272-9138-f99709370657
2011-01-19 12:51:57 +00:00
Michael Sevakis
d1ff237798 SPC Codec: AS3525 targets should be fast enough for realtime BRR decode and echo.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29089 a1c6a512-1295-4272-9138-f99709370657
2011-01-19 10:05:01 +00:00
Nils Wallménius
30918b8d52 abrepeat: drop some inline's and rearrange code to save some size since this stuff is hardly speed critical.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29086 a1c6a512-1295-4272-9138-f99709370657
2011-01-18 16:11:33 +00:00
Michael Sevakis
453550a687 Try to get some control over #ifdef hell in usb.c by refactoring and inline function use. SYS_USB_DISCONNECTED_ACK hasn't been doing anything useful for the USB thread; remove it. USB thread simply ignores that value. Observe only valid usb_state transitions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29084 a1c6a512-1295-4272-9138-f99709370657
2011-01-18 14:10:06 +00:00
Mustapha Senhaji
ccad6d0daf Few whitespace fixes by Michael Hohmuth FS#11885
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29082 a1c6a512-1295-4272-9138-f99709370657
2011-01-18 00:37:17 +00:00
Dominik Riebeling
d2cc5ce58e Fix player becoming unresponsive on Stop / Pause in some cases.
Fix for FS#11856: In tagtree_buffer_event, do not wait for database to
come online as that may never happen.  Rather, wait until it either
has come online or has decided that this will never happen.  Added a
new function to tagcache.c to export this information.

Flyspray: FS#11865
Author: Michael Hohmuth


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29081 a1c6a512-1295-4272-9138-f99709370657
2011-01-17 22:28:36 +00:00
Mustapha Senhaji
0171408408 Add ipod 6g target to translations for "Bass and Treble Cutoff" string.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29080 a1c6a512-1295-4272-9138-f99709370657
2011-01-17 22:02:16 +00:00
Mustapha Senhaji
f0c32feb65 Set svn:keywords for the new translation file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29079 a1c6a512-1295-4272-9138-f99709370657
2011-01-17 21:10:32 +00:00
Robert Menes
806fa847b8 Last fix, I swear: add in the proper header.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29078 a1c6a512-1295-4272-9138-f99709370657
2011-01-17 19:51:24 +00:00
Robert Menes
d81982a96a Don't need that honking huge header, so out it goes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29077 a1c6a512-1295-4272-9138-f99709370657
2011-01-17 19:49:27 +00:00
Robert Menes
7b47d2254f New translation: Croatian by Ante Maretic. From
FS#11884.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29076 a1c6a512-1295-4272-9138-f99709370657
2011-01-17 19:40:16 +00:00
Robert Menes
f8bc1e767c Tagalog: fix two strings changed in source. Translation by
Melba Sitjar.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29072 a1c6a512-1295-4272-9138-f99709370657
2011-01-17 15:57:21 +00:00
Teruaki Kawashima
27424a8938 image viewer:
* move button definitions to separate file.
* apply slideshow timeout in ask_and_get_audio_buffer() if in slideshow mode.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29071 a1c6a512-1295-4272-9138-f99709370657
2011-01-17 13:47:57 +00:00
Teruaki Kawashima
1c14d29370 FS#11822: use rockbox_browse() in plugins to select file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29069 a1c6a512-1295-4272-9138-f99709370657
2011-01-17 12:40:21 +00:00
Teruaki Kawashima
62207228f7 image viewer: add quick guide describing how to add image decoder. also improve comments.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29066 a1c6a512-1295-4272-9138-f99709370657
2011-01-16 12:45:11 +00:00
Bertrik Sikken
e9fa68a5c0 Czech language update - FS#11869 by Marek Salaba
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29064 a1c6a512-1295-4272-9138-f99709370657
2011-01-16 10:37:17 +00:00
Teruaki Kawashima
27bcc8a8fd fix FS#11835: %Lt tag doesn't work on targets with more than 1 screen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29058 a1c6a512-1295-4272-9138-f99709370657
2011-01-15 11:35:12 +00:00
Alexander Levin
53db95417d pitch_detector: add the key transposition feature which makes the plugin better usable with/for transposing instruments (FS#11752 by Robert Horn)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29052 a1c6a512-1295-4272-9138-f99709370657
2011-01-14 21:41:05 +00:00
Robert Menes
fe81408e4c SA9200: Modify pacbox keymap a slight bit to avoid bunching
up all of the buttons to the touchpad.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29047 a1c6a512-1295-4272-9138-f99709370657
2011-01-13 11:56:51 +00:00
Jonathan Gordon
605e2d0e90 New Touchscreen region type... 'mute' which un/mutes volume without pausing playback
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29046 a1c6a512-1295-4272-9138-f99709370657
2011-01-13 10:56:23 +00:00
Jonathan Gordon
ded64f1db5 here too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29045 a1c6a512-1295-4272-9138-f99709370657
2011-01-13 07:00:56 +00:00
Jonathan Gordon
519d65f9d6 remove unecessary (duplicated even) header
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29044 a1c6a512-1295-4272-9138-f99709370657
2011-01-13 06:54:35 +00:00
Jonathan Gordon
261c56ba59 FS#11867 - Add 2 new tags to allow skins to display themed peakmeters
%pL for the left channel, %pR for the right channel... usable as a value, conditional or bar (exactly the same as %pv/%bl/etc)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29043 a1c6a512-1295-4272-9138-f99709370657
2011-01-13 06:48:39 +00:00
Nils Wallménius
c8535f27d1 Switch coldfire builds over to new toolchain using gcc 4.5.2 and binutils 2.20.1
Retune codec compiler optimizations with new compiler. Overall speedup with aac and flac getting big speedups.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29042 a1c6a512-1295-4272-9138-f99709370657
2011-01-12 22:28:43 +00:00
Frank Gevaerts
874b805048 Add test_gfx and test_resize to CATEORIES so they show up in the right place
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29036 a1c6a512-1295-4272-9138-f99709370657
2011-01-12 21:00:09 +00:00
Marianne Arnold
820bfb2d27 Fix the 'Gather Runtime Data' language string on HWCODEC which accidentally got disabled in r28943. Patch taken from FS#11748, author: Michael Hohmuth.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29035 a1c6a512-1295-4272-9138-f99709370657
2011-01-12 16:20:48 +00:00
Alexander Levin
fd240ab240 pitch_detector: bring the name of the settings file in line with the plugin name
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29031 a1c6a512-1295-4272-9138-f99709370657
2011-01-11 21:29:36 +00:00
Michael Sevakis
0dd74ca722 SA9200: Add YUV blitting, do full-screen updates more efficiently and properly clip partial updates. Plugin struct becomes incompatible for this target but leave version alone since it's still dev-only.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29028 a1c6a512-1295-4272-9138-f99709370657
2011-01-11 01:21:31 +00:00
Michael Sevakis
9f4fdbd1a6 Add backgrounds for 128x160 displays to bubbles and rockblox. Set the coordinates in the code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29020 a1c6a512-1295-4272-9138-f99709370657
2011-01-10 07:32:29 +00:00
Michael Sevakis
680b337fc0 Fix r29016 red.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29017 a1c6a512-1295-4272-9138-f99709370657
2011-01-09 21:47:52 +00:00
Michael Sevakis
67ae5cce2e SA9200: Make plugins. Cheat a little just to get things to make at first by using some artwork for 128x128 screen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29016 a1c6a512-1295-4272-9138-f99709370657
2011-01-09 21:42:25 +00:00
Andree Buschmann
9cb4733193 Fix FS#11858 which was introduced with r28937. Several *.rm were not played because the parser aborted with error for several files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29015 a1c6a512-1295-4272-9138-f99709370657
2011-01-09 21:19:16 +00:00
Nils Wallménius
be76de7b11 jewels: hopefully fix FS#11842, by checking if there are available moves after checking if we should advance to the next level.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29013 a1c6a512-1295-4272-9138-f99709370657
2011-01-09 18:54:21 +00:00
Marcin Bukat
6e3da841be Rework ppmviewer to fit our shiny new imageviewer framework. FS#11818 by me.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29012 a1c6a512-1295-4272-9138-f99709370657
2011-01-09 13:22:54 +00:00
Michael Sevakis
6d05e27d68 Gigabeat F can easily manage 60fps in pacbox.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29011 a1c6a512-1295-4272-9138-f99709370657
2011-01-09 03:01:55 +00:00
Frank Gevaerts
17585a991c Add AI to the pong plugin, to allow single-player operation.
Part of FS#5855 by Travis Hyyppa (the colour changes were removed from the patch)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29007 a1c6a512-1295-4272-9138-f99709370657
2011-01-08 16:32:56 +00:00
Mustapha Senhaji
1c06d83c15 Revert r29004 putting the original comment back (sorry to fml for this :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29006 a1c6a512-1295-4272-9138-f99709370657
2011-01-08 14:26:16 +00:00
Mustapha Senhaji
958b638def pitch detector: Fix a typo in a comment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29004 a1c6a512-1295-4272-9138-f99709370657
2011-01-08 00:14:21 +00:00
Michael Sparmann
e1eb3abee4 Oops, that didn't belong in there.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29003 a1c6a512-1295-4272-9138-f99709370657
2011-01-07 23:35:29 +00:00
Michael Sparmann
9b5c95f557 Fix CS42L55 (iPod Classic) tone control
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29002 a1c6a512-1295-4272-9138-f99709370657
2011-01-07 23:09:09 +00:00
Alexander Levin
2093bb021f pitch_detector: remove a double 'break'
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28995 a1c6a512-1295-4272-9138-f99709370657
2011-01-07 20:23:35 +00:00
Alexander Levin
41e5933877 pitch_detector: the menu function already returns a bool, so use the return value directly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28994 a1c6a512-1295-4272-9138-f99709370657
2011-01-07 20:21:37 +00:00
Frank Gevaerts
42ad21ab53 Add some app_*() wrappers for file IO functions to make app_ work the same as sim_, thereby fixing application builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28993 a1c6a512-1295-4272-9138-f99709370657
2011-01-07 18:45:35 +00:00
Michael Sevakis
5c2dd0785d Put illustrative switch case back, because it clarifies intention...maybe ;).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28985 a1c6a512-1295-4272-9138-f99709370657
2011-01-07 05:30:22 +00:00
Michael Sevakis
39107956ab MPEGPlyaer: A bit of audio mutation. Remove a useless thread state. Take some control over the buffer away from the audio thread itself. Some atomicity corrections.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28984 a1c6a512-1295-4272-9138-f99709370657
2011-01-07 05:17:28 +00:00
Andree Buschmann
ef70c9f32c Finally fix FS#10678. Now the mp3 encoder plugin supports mono/stereo and the sampling rates 16/22.05/24/32/44.1/48 kHz.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28976 a1c6a512-1295-4272-9138-f99709370657
2011-01-06 17:36:52 +00:00
Alessio Lenzi
f0f9f66319 Updated italian translation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28975 a1c6a512-1295-4272-9138-f99709370657
2011-01-06 17:17:20 +00:00
Andree Buschmann
b5b41e9f68 Related to FS#10678. The mp3 encoder plugin of Rockbox does not encode MPEG2 layer3 properly and does not support MPEG2.5 layer3 at all. Therefor only samplerates of 32, 44.1 and 48 kHz are supported as input. This change introduces a proper error handling and user error message until the underlying error is fixed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28973 a1c6a512-1295-4272-9138-f99709370657
2011-01-06 12:03:12 +00:00
Andree Buschmann
f97b9f11e4 Fix FS#5317. mp3_encoder does now properly encode mono files. Still there is a bug when using sampling rates != 44100 Hz.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28971 a1c6a512-1295-4272-9138-f99709370657
2011-01-05 07:39:12 +00:00
Mustapha Senhaji
114c9503bf Oops, remove an unneeded bit from FS#11855 committed in r28968
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28970 a1c6a512-1295-4272-9138-f99709370657
2011-01-04 22:18:45 +00:00
Alexander Levin
95e6e31703 Fix another comment typo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28969 a1c6a512-1295-4272-9138-f99709370657
2011-01-04 21:28:20 +00:00
Mustapha Senhaji
60aa8be357 Update the tagalog translation by Melba Sitjar FS#11855.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28968 a1c6a512-1295-4272-9138-f99709370657
2011-01-04 21:11:49 +00:00
Mustapha Senhaji
4ee5ef0588 Update the portugues translation by Gabriel Maia FS#11857.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28967 a1c6a512-1295-4272-9138-f99709370657
2011-01-04 21:09:42 +00:00
Mustapha Senhaji
1a43dc67c8 Update the french translation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28966 a1c6a512-1295-4272-9138-f99709370657
2011-01-04 21:03:30 +00:00
Michael Sevakis
df6b414515 MPEGPlayer: Give the parser a little stronger going over this time so it tolerates odd audio timestamps better.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28965 a1c6a512-1295-4272-9138-f99709370657
2011-01-04 20:28:00 +00:00
Alexander Levin
92f602f48f mpeg_parser: fix a typo in the comment
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28964 a1c6a512-1295-4272-9138-f99709370657
2011-01-04 19:02:01 +00:00
Michael Sevakis
a31b3701f8 MPEGPlayer: Try a few timestamps for all streams at the beginning, not just video, to help deal with anomalous start PTS values in a stream. Hopefully the hardcoded number gives it enough tolerance.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28961 a1c6a512-1295-4272-9138-f99709370657
2011-01-03 20:13:05 +00:00
Michael Sevakis
b664f62e36 MPEGPlayer graphics mutation: Implement a more visible FPS display and remove the debugging info from it. Tweak thumbnailing and printing of unavailable frames.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28960 a1c6a512-1295-4272-9138-f99709370657
2011-01-03 16:41:19 +00:00
Michael Sparmann
152847977a New port: iPod Classic (also known as iPod 6G/6.5G/7G)
Major known issues:
- No bootloader yet
- No support for the first-generation 160GB CE-ATA hard disk drive yet
- Audio playback is slow, only FLAC seems to reach realtime


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28953 a1c6a512-1295-4272-9138-f99709370657
2011-01-02 23:16:27 +00:00
Alexander Levin
0ce42df073 Don't load the colours file if it's set to '' (partial fix for FS#11847)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28949 a1c6a512-1295-4272-9138-f99709370657
2011-01-02 22:44:15 +00:00
Alexander Levin
a6b611a6d6 Don't load the keyboard layout '-.kbd' (partial fix for FS#11847)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28948 a1c6a512-1295-4272-9138-f99709370657
2011-01-02 22:41:35 +00:00
Alexander Levin
f8f91d0521 Fix typo in the comment
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28947 a1c6a512-1295-4272-9138-f99709370657
2011-01-02 22:39:05 +00:00
Michael Sparmann
886e97221b Fix an ugly-looking comment
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28945 a1c6a512-1295-4272-9138-f99709370657
2011-01-02 22:22:51 +00:00
Michael Giacomelli
cacc64a4fe Blind commit a 'fix' for automatic resume on HWCODEC since I don't understand HWCODEC and have no way to test builds for it. For now just disable it. In the long term it would be nice to support this on HWCODEC, or failing that, clean this up a little more.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28943 a1c6a512-1295-4272-9138-f99709370657
2011-01-02 03:48:40 +00:00
Michael Giacomelli
66e8fc0f0d Commit part of FS#11748 by Michael Hohmuth. Adds support for automatically resuming any song that is not played to completion at any point later in time, regardless of how many intermediate tracks are played. This is accomplished by expanding the database to record incompletely played tracks. Currently, the feature is simply on or off, in which case all tracks automatically resume, or they do not. The remainder of patches in the task expand this feature by allowing only certain file to automatically resume, only resuming in certain circumstances, etc but are not included until we reach agreement on what should be included. Additionally, the manual will need to be updated once we agree on the available settings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28942 a1c6a512-1295-4272-9138-f99709370657
2011-01-02 02:49:13 +00:00
Andree Buschmann
9318d2b25f Higher precision for test_mem plugin.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28939 a1c6a512-1295-4272-9138-f99709370657
2011-01-01 19:54:01 +00:00
Mohamed Tarek
506a15bd73 Fix FS#11845 by rejecting unknown header signatures in the audio stream info block. RALF uses a different header signature than ('.', 'r', 'a', 0xfd). Apparently ('L', 'S', 'D', ':').
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28937 a1c6a512-1295-4272-9138-f99709370657
2011-01-01 11:14:03 +00:00
Frank Gevaerts
1980fc3a61 Also PREFIX() other filesystem functions. I hope I got them all now...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28929 a1c6a512-1295-4272-9138-f99709370657
2010-12-29 20:10:11 +00:00
Frank Gevaerts
6406e61e5c Properly prefix the creat function for sim builds, otherwise the system creat() is called, which doesn't do proper root-mangling to make the file end up in the right place. Fixes FS#11844
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28927 a1c6a512-1295-4272-9138-f99709370657
2010-12-29 19:40:02 +00:00
Mustapha Senhaji
afd855b598 stats plugin: Add new things to count. Playlist and video files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28921 a1c6a512-1295-4272-9138-f99709370657
2010-12-28 14:42:30 +00:00
Mustapha Senhaji
c53069c41c Use the filetype_get_attr function just added, to replace a const to count for audio files.
(We have filetype attribute for it)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28920 a1c6a512-1295-4272-9138-f99709370657
2010-12-28 14:34:38 +00:00
Mustapha Senhaji
3e3684032e git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28919 a1c6a512-1295-4272-9138-f99709370657 2010-12-28 14:29:44 +00:00
Mustapha Senhaji
39b3c9a612 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28917 a1c6a512-1295-4272-9138-f99709370657 2010-12-28 14:18:37 +00:00
Thomas Martitz
3c43503283 Vastly increase speed of SDL screen updates for RGB565.
Flyspray: FS#11834 (with minor changes by me).
Author: Thomas Jarosch

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28914 a1c6a512-1295-4272-9138-f99709370657
2010-12-27 22:08:34 +00:00
Thomas Martitz
0bf1bd1d51 Redo r28026 so that all .S files get the __ASSEMBLER__ define.
Patch by Thomas Jarosch.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28913 a1c6a512-1295-4272-9138-f99709370657
2010-12-27 17:27:59 +00:00
Nils Wallménius
0ba13e45f0 Fix warning about using static vars in non static inline functions with gcc 4.5.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28911 a1c6a512-1295-4272-9138-f99709370657
2010-12-27 10:46:29 +00:00
Nils Wallménius
479414facc Fix profiling on coldfire with newer Gcc.
In switch_thread, make the call to profile_thread_stopped from an inline asm block to make sure the sp is pointing to the right place before storing the context. This apparently worked by luck with the old Gcc.
The workaround used for coldfire in the codeclib's __cyg_profile_func_enter does not work with newer gcc, however the workaround isn't needed for those so enable it only for coldfire gcc version < 4.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28908 a1c6a512-1295-4272-9138-f99709370657
2010-12-27 09:49:33 +00:00
Alexander Levin
1d460b603f disktidy: Fix deleting of directories specified by a pattern (FS#11827)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28900 a1c6a512-1295-4272-9138-f99709370657
2010-12-25 22:22:50 +00:00
Alexander Levin
5c48232e45 disktidy: add a debug message if a file cannot be deleted
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28898 a1c6a512-1295-4272-9138-f99709370657
2010-12-25 21:54:24 +00:00
Alexander Levin
a0516f036f disktidy: fix the situation where specifying that a dir should be deleted could lead to removing a file with that name
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28897 a1c6a512-1295-4272-9138-f99709370657
2010-12-25 21:38:42 +00:00
Alexander Levin
de317d46dc disktidy: add a comment to the function
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28896 a1c6a512-1295-4272-9138-f99709370657
2010-12-25 21:31:54 +00:00
Alexander Levin
82daaae455 Disktidy: introduce a local variable to avoid repeated use of the indexed expression
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28895 a1c6a512-1295-4272-9138-f99709370657
2010-12-25 21:11:40 +00:00
Alexander Levin
fb7c0df483 Extract config file saving code to a function; Do not write the NUL character to the text config file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28894 a1c6a512-1295-4272-9138-f99709370657
2010-12-25 21:01:07 +00:00
Thomas Martitz
6a9a8197b3 Add stdio.h include for SEEK_SET define to various files.
Patch by Thomas Jarosch.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28892 a1c6a512-1295-4272-9138-f99709370657
2010-12-25 18:43:34 +00:00
Mustapha Senhaji
99732ca57b Adjust a string translation in french, no more pure tag viewer since a while now. That's more a track information viewer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28889 a1c6a512-1295-4272-9138-f99709370657
2010-12-24 04:26:17 +00:00
Mustapha Senhaji
fda95a164b Fix yellow, english.lang string was deprecated.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28888 a1c6a512-1295-4272-9138-f99709370657
2010-12-24 03:53:08 +00:00
Mustapha Senhaji
8a2583da93 Update translations reusing the translation of the previously deprecated string.
Translators, please check if adjustements isn't needed!


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28887 a1c6a512-1295-4272-9138-f99709370657
2010-12-24 03:44:00 +00:00
Mustapha Senhaji
5e1e05f616 Add "file size" to the track information screen of WPS.
Reuse "LANG_FILE_SIZE" from recording settings, with now a unified "LANG_FILESIZE" string. 


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28886 a1c6a512-1295-4272-9138-f99709370657
2010-12-24 03:31:40 +00:00
Thomas Martitz
87c8be4a08 RaaA: Improve tagcache search to make the database built.
First, it add the ability to tagcache to walk through multiple search roots.
Second, it adds symlinks targets to the search roots if they're are not inside any of the current search roots, otherwise the symlink is ignored (unless it's a file).

The default search root is still /, so no search root will be actually added.
But the tagcache now isn't trapped by recursive symlinks anymore and successfully builds, and it's prepared for a future music directory setting.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28884 a1c6a512-1295-4272-9138-f99709370657
2010-12-23 19:02:18 +00:00