summaryrefslogtreecommitdiff
path: root/apps
AgeCommit message (Collapse)Author
2011-02-24FS#11964. Rework replaygain handling to save metadata buffer and binsize. ↵Andree Buschmann
Remove string representation of replaygain and use a dedicated ftoa implementation for WPS/screen info. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29388 a1c6a512-1295-4272-9138-f99709370657
2011-02-23Give playback engine better control over the codec. Codec simply follows ↵Michael Sevakis
commands and doesn't concern itself with audio state. Get track change notification in on the actual last buffer insert of the track because now audio simply waits for a track change notify from PCM on the last track and it must be sent reliably. This is still at an intermediate stage but works. Codecs and plugins become incompatible. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29387 a1c6a512-1295-4272-9138-f99709370657
2011-02-23Android:Thomas Martitz
* Re-create RockboxFramebuffer instance with every time there's a new Activity. * Also, allow Rockbox to be started via multimedia buttons, immediately starting playback if wanted. We don't need to keep the fb instance around when it backround, and it makes us less depending on it and the activity (less race conditions). And this is how you usually do it in Android apps. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29384 a1c6a512-1295-4272-9138-f99709370657
2011-02-22mpegplayer: Move libmpeg2 files into their own subdirectory so things are ↵Michael Sevakis
less cluttered. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29381 a1c6a512-1295-4272-9138-f99709370657
2011-02-22Submit FS11960. Limit metadata item size like done for ID3 tags since r29174.Andree Buschmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29377 a1c6a512-1295-4272-9138-f99709370657
2011-02-22Proper initialize dummy destination address to ensure correct functionality ↵Andree Buschmann
for replaygain in mp4 metadata. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29376 a1c6a512-1295-4272-9138-f99709370657
2011-02-22Fix FS#11956. Call parse_replaygain() with correct parameters in ID3 tag ↵Andree Buschmann
parsing. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29375 a1c6a512-1295-4272-9138-f99709370657
2011-02-22Add Ismael Castiñeira Álvarez to the credits and on the galego translation ↵Mustapha Senhaji
files for his patch FS#11938 committed as r28823 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29373 a1c6a512-1295-4272-9138-f99709370657
2011-02-21Fix FS#11955. ID3 tag parser was broken since r29349. Trimming strings must ↵Andree Buschmann
be done in the helper functions, not outside. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29372 a1c6a512-1295-4272-9138-f99709370657
2011-02-21Fix yellowAlex Parker
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29371 a1c6a512-1295-4272-9138-f99709370657
2011-02-21FS#11938 by Ismael Castiñeira Álvarez - Update of Galician language.Alex Parker
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29368 a1c6a512-1295-4272-9138-f99709370657
2011-02-21FFT plugin: remove redundant NUM_CORES checks.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29366 a1c6a512-1295-4272-9138-f99709370657
2011-02-20Add 2 deprecated strings to appease genlang and correct statsJonas Häggqvist
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29355 a1c6a512-1295-4272-9138-f99709370657
2011-02-20Update Danish translation.Jonas Häggqvist
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29353 a1c6a512-1295-4272-9138-f99709370657
2011-02-20FS#11953 - Dutch (nederlands) translation updateBertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29352 a1c6a512-1295-4272-9138-f99709370657
2011-02-20Revert unwanted submit.Andree Buschmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29350 a1c6a512-1295-4272-9138-f99709370657
2011-02-20FS#11920: Do not overwrite already existing metadata and take into account ↵Andree Buschmann
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-20Enforce that codecs wait for their metadata in a proper-ish and consistent ↵Michael Sevakis
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-20FS#11939: Simplify talk_time_unit().Andree Buschmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29347 a1c6a512-1295-4272-9138-f99709370657
2011-02-20Fix the r29343 red.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29344 a1c6a512-1295-4272-9138-f99709370657
2011-02-20Make format_time properly format negative times because sometimes they are ↵Michael Sevakis
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-19Android: Fix compilationThomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29342 a1c6a512-1295-4272-9138-f99709370657
2011-02-19Android: Fix some race conditions and crashes on startup.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29341 a1c6a512-1295-4272-9138-f99709370657
2011-02-19FS#11950: Update czech language file.Andree Buschmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29340 a1c6a512-1295-4272-9138-f99709370657
2011-02-19Android: Rewrite lcd subsystem to use the SurfaceView API.Thomas Martitz
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-18Fix red caused by incorrect includes.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29329 a1c6a512-1295-4272-9138-f99709370657
2011-02-18Fix yellows and checkwps.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29328 a1c6a512-1295-4272-9138-f99709370657
2011-02-18Make sure we don't read past the end of a C-string in format_track_path. ↵Thomas Jarosch
Second part of FS #11947 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29326 a1c6a512-1295-4272-9138-f99709370657
2011-02-18Don't underflow the buffer in format_track_path() if it consists of whitespacesThomas Jarosch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29325 a1c6a512-1295-4272-9138-f99709370657
2011-02-18Fix off-by-one buffer read access in format_track_path(). Part of #11947Thomas Jarosch
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-17Ensure proper initialization of some variables and arrays in metadata ↵Andree Buschmann
parsing. Fixes FS#11948. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29323 a1c6a512-1295-4272-9138-f99709370657
2011-02-16Updated italian translationAlessio Lenzi
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29322 a1c6a512-1295-4272-9138-f99709370657
2011-02-16Use 35-Adobe-Helvetica as default font on maemo. 27-Adobe-Helvetica is too smallThomas Jarosch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29321 a1c6a512-1295-4272-9138-f99709370657
2011-02-16Fix buffer size used for realpath() callThomas Jarosch
Thanks to kugel for pointing this out. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29320 a1c6a512-1295-4272-9138-f99709370657
2011-02-16FS#11933: Check for external album art if embedded album art fails to load.Magnus Holmgren
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29319 a1c6a512-1295-4272-9138-f99709370657
2011-02-16No need to cast away const. Thanks to sideralThomas Jarosch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29318 a1c6a512-1295-4272-9138-f99709370657
2011-02-16RaaA: Fix tagcache filename lookups for paths containing symbolic linksThomas Jarosch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29317 a1c6a512-1295-4272-9138-f99709370657
2011-02-15Treat unknown RaaA platforms like SDL for last.FM scrobbler log file. Fix yellowThomas Jarosch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29315 a1c6a512-1295-4272-9138-f99709370657
2011-02-15RaaA: Fix last.FM scrobbler log file locationThomas Jarosch
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-15Correct the metadata's VBR flag for MP4 files. ALAC is native VBR, AAC very ↵Andree Buschmann
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-152nd try: All AAC-HE files will double the frame sample count, not only ↵Andree Buschmann
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-15Undo unwanted commit r29310.Andree Buschmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29311 a1c6a512-1295-4272-9138-f99709370657
2011-02-15All AAC-HE files will double the frame sample count, not only AAC-HE files ↵Andree Buschmann
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-15Fix the shutdown sequence for maemo, SDL and simulator buildsThomas Jarosch
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-14Update Swedish translation.Magnus Holmgren
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29308 a1c6a512-1295-4272-9138-f99709370657
2011-02-14Czech language: Some minor terminology changes by Marek Salaba FS#11935Mustapha Senhaji
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29307 a1c6a512-1295-4272-9138-f99709370657
2011-02-14Some languages updates for the upcoming release:Mustapha Senhaji
-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-14All kernel objects in code shared amongs targets (core, plugins, codecs) ↵Michael Sevakis
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-14Code police buffering.c a little - use already predominant style - shorted ↵Michael Sevakis
lines over 80 cols. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29304 a1c6a512-1295-4272-9138-f99709370657
2011-02-14Buffering: tin cup. Update threading structure and handle rebuffer more ↵Michael Sevakis
reliably on buffer thread using a single message send. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29303 a1c6a512-1295-4272-9138-f99709370657