Michael Sevakis
6cc07f1466
FFT plugin: remove redundant NUM_CORES checks.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29366 a1c6a512-1295-4272-9138-f99709370657
2011-02-21 14:54:08 +00:00
Jonas Häggqvist
1e16923f25
Add 2 deprecated strings to appease genlang and correct stats
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29355 a1c6a512-1295-4272-9138-f99709370657
2011-02-20 18:16:14 +00:00
Jonas Häggqvist
5834e60a57
Update Danish translation.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29353 a1c6a512-1295-4272-9138-f99709370657
2011-02-20 17:59:33 +00:00
Bertrik Sikken
2a4c2e31c3
FS#11953 - Dutch (nederlands) translation update
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29352 a1c6a512-1295-4272-9138-f99709370657
2011-02-20 16:37:27 +00:00
Andree Buschmann
bb5a1dc6cb
Revert unwanted submit.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29350 a1c6a512-1295-4272-9138-f99709370657
2011-02-20 16:14:41 +00:00
Andree Buschmann
a7e25a01ba
FS#11920: Do not overwrite already existing metadata and take into account string termination. This can save several bytes of the metadata buffer when tags have multiple entries (e.g. multiple gerne tags)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29349 a1c6a512-1295-4272-9138-f99709370657
2011-02-20 16:12:05 +00:00
Michael Sevakis
85e40257dc
Enforce that codecs wait for their metadata in a proper-ish and consistent manner. Sort of a halfway patch; best would be to give them an internal copy of the current track information which lasts unaltered by playback until a track switch or unload.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29348 a1c6a512-1295-4272-9138-f99709370657
2011-02-20 15:27:10 +00:00
Andree Buschmann
460d54977a
FS#11939: Simplify talk_time_unit().
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29347 a1c6a512-1295-4272-9138-f99709370657
2011-02-20 15:23:18 +00:00
Michael Sevakis
48b1a2d39d
Fix the r29343 red.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29344 a1c6a512-1295-4272-9138-f99709370657
2011-02-20 11:46:57 +00:00
Michael Sevakis
03862292a2
Make format_time properly format negative times because sometimes they are shown if track length estimates are off from seeking. Example: -0:15 instead of 0:-15. -1000ms < t < 0 is shown as -0:00.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29343 a1c6a512-1295-4272-9138-f99709370657
2011-02-20 11:33:25 +00:00
Thomas Martitz
9d2c7b8b67
Android: Fix compilation
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29342 a1c6a512-1295-4272-9138-f99709370657
2011-02-19 17:12:12 +00:00
Thomas Martitz
d6ce7fe3d4
Android: Fix some race conditions and crashes on startup.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29341 a1c6a512-1295-4272-9138-f99709370657
2011-02-19 16:42:44 +00:00
Andree Buschmann
171b4ff807
FS#11950: Update czech language file.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29340 a1c6a512-1295-4272-9138-f99709370657
2011-02-19 15:41:54 +00:00
Thomas Martitz
144df92bfb
Android: Rewrite lcd subsystem to use the SurfaceView API.
...
That enables drawing from outside the apps UI thread, i.e. from within the Rockbox native thread, without needing synchronization means, and adds determinism as to when the draw happens.
It simplifies the drawing routines and adds a convinient way of detecting whether drawing should happen or not (surfaceCreated/Destroyed).
It also restores max. fps on my phone which went down drastically with the gingerbread(CM7) update.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29333 a1c6a512-1295-4272-9138-f99709370657
2011-02-19 01:13:38 +00:00
Thomas Martitz
8bc2801e7c
Fix red caused by incorrect includes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29329 a1c6a512-1295-4272-9138-f99709370657
2011-02-18 23:29:11 +00:00
Thomas Martitz
1e391fbdbc
Fix yellows and checkwps.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29328 a1c6a512-1295-4272-9138-f99709370657
2011-02-18 23:17:07 +00:00
Thomas Jarosch
3926c30705
Make sure we don't read past the end of a C-string in format_track_path. Second part of FS #11947
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29326 a1c6a512-1295-4272-9138-f99709370657
2011-02-18 21:56:48 +00:00
Thomas Jarosch
15a5f9ca95
Don't underflow the buffer in format_track_path() if it consists of whitespaces
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29325 a1c6a512-1295-4272-9138-f99709370657
2011-02-18 21:39:59 +00:00
Thomas Jarosch
84fccff170
Fix off-by-one buffer read access in format_track_path(). Part of #11947
...
We need to check for "i < max" first.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29324 a1c6a512-1295-4272-9138-f99709370657
2011-02-18 21:21:50 +00:00
Andree Buschmann
ae32e1ef06
Ensure proper initialization of some variables and arrays in metadata parsing. Fixes FS#11948.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29323 a1c6a512-1295-4272-9138-f99709370657
2011-02-17 18:35:24 +00:00
Alessio Lenzi
b5cf163f5a
Updated italian translation
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29322 a1c6a512-1295-4272-9138-f99709370657
2011-02-16 22:33:33 +00:00
Thomas Jarosch
a0a411aef6
Use 35-Adobe-Helvetica as default font on maemo. 27-Adobe-Helvetica is too small
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29321 a1c6a512-1295-4272-9138-f99709370657
2011-02-16 19:06:39 +00:00
Thomas Jarosch
29e4a2d90d
Fix buffer size used for realpath() call
...
Thanks to kugel for pointing this out.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29320 a1c6a512-1295-4272-9138-f99709370657
2011-02-16 18:40:44 +00:00
Magnus Holmgren
efba46f980
FS#11933: Check for external album art if embedded album art fails to load.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29319 a1c6a512-1295-4272-9138-f99709370657
2011-02-16 18:06:50 +00:00
Thomas Jarosch
1dbea9d959
No need to cast away const. Thanks to sideral
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29318 a1c6a512-1295-4272-9138-f99709370657
2011-02-16 17:58:57 +00:00
Thomas Jarosch
0060fed451
RaaA: Fix tagcache filename lookups for paths containing symbolic links
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29317 a1c6a512-1295-4272-9138-f99709370657
2011-02-16 01:01:49 +00:00
Thomas Jarosch
3ced180f5d
Treat unknown RaaA platforms like SDL for last.FM scrobbler log file. Fix yellow
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29315 a1c6a512-1295-4272-9138-f99709370657
2011-02-15 21:32:53 +00:00
Thomas Jarosch
81614c428c
RaaA: Fix last.FM scrobbler log file location
...
The .scrobbler.log or .scrobbler-timeless.log file
resides in the USB mass storage area. The exact location
differs for every RaaA platform.
The SDL platform sticks it in ROCKBOX_DIR for now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29314 a1c6a512-1295-4272-9138-f99709370657
2011-02-15 21:13:03 +00:00
Andree Buschmann
2f3ab5fa22
Correct the metadata's VBR flag for MP4 files. ALAC is native VBR, AAC very unlikely is CBR. The VBR flag is used by several WPS.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29313 a1c6a512-1295-4272-9138-f99709370657
2011-02-15 20:59:22 +00:00
Andree Buschmann
526bee6266
2nd try: All AAC-HE files will double the frame sample count, not only AAC-HE files with SBR upsampling. This change fixes issues with some m4a files reported in the forums.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29312 a1c6a512-1295-4272-9138-f99709370657
2011-02-15 20:26:04 +00:00
Andree Buschmann
e3abdb1a52
Undo unwanted commit r29310.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29311 a1c6a512-1295-4272-9138-f99709370657
2011-02-15 20:10:50 +00:00
Andree Buschmann
237ca504e1
All AAC-HE files will double the frame sample count, not only AAC-HE files with SBR upsampling. This change fixes issues with some m4a files reported in the forums.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29310 a1c6a512-1295-4272-9138-f99709370657
2011-02-15 20:00:28 +00:00
Thomas Jarosch
258626f455
Fix the shutdown sequence for maemo, SDL and simulator builds
...
Do proper shutdown in RaaA builds like writeout of
last.FM scrobbler file and other neat things.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29309 a1c6a512-1295-4272-9138-f99709370657
2011-02-15 19:43:04 +00:00
Magnus Holmgren
1f85259ef1
Update Swedish translation.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29308 a1c6a512-1295-4272-9138-f99709370657
2011-02-14 20:41:50 +00:00
Mustapha Senhaji
6fee581b09
Czech language: Some minor terminology changes by Marek Salaba FS#11935
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29307 a1c6a512-1295-4272-9138-f99709370657
2011-02-14 17:20:52 +00:00
Mustapha Senhaji
b63422d62e
Some languages updates for the upcoming release:
...
-Spanish by Francisco Vila FS#11936
-French by Jean-Marie Moraux FS#11940
-Serbian by Ivan Pesic FS#11941
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29306 a1c6a512-1295-4272-9138-f99709370657
2011-02-14 17:15:57 +00:00
Michael Sevakis
b15aa47c56
All kernel objects in code shared amongs targets (core, plugins, codecs) should be declared SHAREDBSS_ATTR as any core could potentially touch them even though they seem only to involve threads on one core. The exception is target code for particular CPUs where proper allocation is fixed. playlist.c was a little odd too-- use one mutex for the current playlist and a separate one for created playlists (still pondering the necessity of more than one).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29305 a1c6a512-1295-4272-9138-f99709370657
2011-02-14 11:27:45 +00:00
Michael Sevakis
8f14357064
Code police buffering.c a little - use already predominant style - shorted lines over 80 cols.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29304 a1c6a512-1295-4272-9138-f99709370657
2011-02-14 09:18:58 +00:00
Michael Sevakis
6938255b6b
Buffering: tin cup. Update threading structure and handle rebuffer more reliably on buffer thread using a single message send.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29303 a1c6a512-1295-4272-9138-f99709370657
2011-02-14 08:36:29 +00:00
Michael Sevakis
0fde635fb0
Leave a gap between all handles because ringbuf_add_cross interprets equal pointers as empty, corruption guard check could fail to detect overlap if buffering ran right up to the next handle and it gets asked to buffer again before freeing the following handles (adds a byte on average). Storage alignment on handle reset must at times avoid alignment increments if after a stopped rebuffer, the handle was shrunk too close to the next one or the reading position in a prior rebuffer.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29302 a1c6a512-1295-4272-9138-f99709370657
2011-02-14 02:14:26 +00:00
Alex Parker
f8a4fbc843
FS#11937 by Marcin Bukat - update Polish translation.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29301 a1c6a512-1295-4272-9138-f99709370657
2011-02-13 21:42:32 +00:00
Andree Buschmann
c0b0cd5905
Do not fiddle with audiobuf in talk_init() when no voice file is present. Avoids stopping of audio playback when changing languages without using voice files. Closes FS#10479.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29300 a1c6a512-1295-4272-9138-f99709370657
2011-02-13 21:30:13 +00:00
Andree Buschmann
46dbe3036c
Explicitly say 'minutes' when speaking the runtime, fixes FS#11934.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29299 a1c6a512-1295-4272-9138-f99709370657
2011-02-13 19:14:43 +00:00
Andree Buschmann
f7c6034728
Update german translation.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29298 a1c6a512-1295-4272-9138-f99709370657
2011-02-13 17:49:24 +00:00
Nils Wallménius
4ca36ca90c
Explicitely say 'minutes' when speaking the battery time, fixes FS#11932.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29297 a1c6a512-1295-4272-9138-f99709370657
2011-02-13 16:02:17 +00:00
Michael Sevakis
efdf49668e
Needed to do a few more things to have r29291 correct.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29294 a1c6a512-1295-4272-9138-f99709370657
2011-02-13 11:02:37 +00:00
Alex Parker
78a71d4701
FS#11928 by Marek Salaba - Update of Czech language
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29293 a1c6a512-1295-4272-9138-f99709370657
2011-02-13 10:46:48 +00:00
Alex Parker
0c9e0dfeea
FS#11929 by Gabriel Maia - Portuguese translation update.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29292 a1c6a512-1295-4272-9138-f99709370657
2011-02-13 10:46:43 +00:00
Michael Sevakis
b474d0d98f
Change add_handle to never have side effects on the buffer if it fails. It actually seems ok and I'm not sure if's responsible for anything, but it's more sane and keeps buffer_handle from regressing buf_widx later if buffering cur_handle.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29291 a1c6a512-1295-4272-9138-f99709370657
2011-02-13 10:44:13 +00:00
Michael Sevakis
50c727ce7a
Oops. Put back some changes to go only with others.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29289 a1c6a512-1295-4272-9138-f99709370657
2011-02-12 12:33:43 +00:00