Michael Sevakis
b3bfc09852
r29348 changes can cause certain codecs to jump to code on early track change that assumes initializations have been done. Make sure that track change cleanups are only called if the state is sane to do so. Stops my vorbis data abort issue. Correctness for speex is a guess based on the library calls' source. It appears only speex/vorbis should have been bothered by said revision.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29489 a1c6a512-1295-4272-9138-f99709370657
2011-03-02 03:47:42 +00:00
Jonathan Gordon
0f68a91bc5
fix red
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29484 a1c6a512-1295-4272-9138-f99709370657
2011-03-01 13:01:57 +00:00
Jonathan Gordon
485ff79584
Add an ability to set a setting to a specific value with a touchscreen action.
...
example: %T(0,0,20,12, setting_set, repeat, off)
That will set the repeat mode to "off" when it is pressed.
"setting_set" is the action name
"repeat" is the name of the setting in the config files
"off" is the value to set it to (same values as the legal values in the config files)
Not all settings are supported, outright unsupported settings will fail to parse. Some settings might not work too well if they don't apply instantly (Any that work well int he quickscreen should work well here)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29483 a1c6a512-1295-4272-9138-f99709370657
2011-03-01 12:31:03 +00:00
Jonathan Gordon
08fa83bd7c
fix yellow
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29479 a1c6a512-1295-4272-9138-f99709370657
2011-03-01 09:01:45 +00:00
Jonathan Gordon
fb3616368f
Remove code duplication in some generic skin touch action handling.
...
fix a bug which stopped the setting_inc/dec touch actions from parsing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29477 a1c6a512-1295-4272-9138-f99709370657
2011-03-01 07:26:11 +00:00
Jonathan Gordon
e63325acff
Add a touchaction "none" which does nothing when pressed. This will allow some fancy controls to skins in combination with recent %T/%Tl changes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29475 a1c6a512-1295-4272-9138-f99709370657
2011-03-01 04:01:02 +00:00
Michael Hohmuth
7df5ecc783
autoresume: Optimize playlist resume (manual, bookmark, or after power-on)
...
The resume position coming from these sources takes precedence over
autoresume. If we have such a resume offset, we don't have to wait
for the database to produce a resume offset before we can start the
codec.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29470 a1c6a512-1295-4272-9138-f99709370657
2011-02-28 23:57:35 +00:00
Michael Hohmuth
b016ab9d86
DB import: Correctly import previously exported resume offsets
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29469 a1c6a512-1295-4272-9138-f99709370657
2011-02-28 23:47:11 +00:00
Dave Chapman
0269b27eb8
Missed #if change from r29462 - thanks to Thomas Martitz for spotting.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29465 a1c6a512-1295-4272-9138-f99709370657
2011-02-28 18:21:00 +00:00
Thomas Martitz
cbb68d41fe
Fix returning to wps from a plugin.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29463 a1c6a512-1295-4272-9138-f99709370657
2011-02-28 14:38:18 +00:00
Dave Chapman
224c8262ee
Change the condition for including the shutdown menu item to something more appropriate.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29462 a1c6a512-1295-4272-9138-f99709370657
2011-02-28 12:14:34 +00:00
Dave Chapman
793eab19b9
Remove a redundant part of a #if
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29461 a1c6a512-1295-4272-9138-f99709370657
2011-02-28 12:05:22 +00:00
Jonathan Gordon
156b0bc614
Add the option of linking the %Tl (last touch) tag to a specific touchregion. Both tags now accept an optional label param as the first param.
...
%Tl([label,][timeout])
%T([label,] x, y, width, height, action)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29459 a1c6a512-1295-4272-9138-f99709370657
2011-02-28 11:19:59 +00:00
Thomas Martitz
d69d406e09
Android: Fix crash when playback is passing invalid metadata around.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29454 a1c6a512-1295-4272-9138-f99709370657
2011-02-28 00:59:44 +00:00
Thomas Jarosch
6e9e6a7571
RaaA: Add initial Pandora support
...
More information: www.openpandora.org
Possible things to implement:
- Special button mappings
- Battery monitoring
- ALSA audio backend
- Automate creation of "pnd" (=binary) file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29451 a1c6a512-1295-4272-9138-f99709370657
2011-02-27 23:42:37 +00:00
Thomas Martitz
8ed943ce06
Make struct static.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29441 a1c6a512-1295-4272-9138-f99709370657
2011-02-27 21:21:13 +00:00
Thomas Martitz
cab6ac2240
Fix warning in android build.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29440 a1c6a512-1295-4272-9138-f99709370657
2011-02-27 21:09:36 +00:00
Andree Buschmann
41658bd07a
Remove some useless code and variables in the area of metadata parsing. Bump codec API.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29438 a1c6a512-1295-4272-9138-f99709370657
2011-02-27 20:49:08 +00:00
Thomas Martitz
883ff8507e
Android: Show cover art in the widget (including option to hide it).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29437 a1c6a512-1295-4272-9138-f99709370657
2011-02-27 20:47:44 +00:00
Michael Hohmuth
1a23e0ca19
Fix database import and export
...
Correct an omission that happened when the DB schema was changed last
time. Add a comment to enum tag_type to prevent this from happening
in the future.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29435 a1c6a512-1295-4272-9138-f99709370657
2011-02-27 20:25:11 +00:00
Thomas Martitz
ade4c1637f
Fix corrupted metadata on manual track change on hwcodec.
...
r28672 removed a memset and strlcpy in mp3info() code path which exposed this bug.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29432 a1c6a512-1295-4272-9138-f99709370657
2011-02-27 19:14:48 +00:00
Frank Gevaerts
2b368f2419
Simplified Chinese update by Li Jie
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29425 a1c6a512-1295-4272-9138-f99709370657
2011-02-27 14:18:10 +00:00
Alex Parker
3b56634db5
Tweak dansk.lang from rasher
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29422 a1c6a512-1295-4272-9138-f99709370657
2011-02-27 12:53:56 +00:00
Alex Parker
5b2966f274
FS#11970 by Mārtiņš Šimis - update Latvian
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29420 a1c6a512-1295-4272-9138-f99709370657
2011-02-27 12:08:50 +00:00
Dave Chapman
376c9f3ad0
FS#11966 - use separate modelnames and config files for RaaA. This adds an APPLICATION define that can be used in Makefiles, and target-name defines (-DSDLAPP, -DANDROID, -DNOKIAN8XX and -DNOKIAN900) for use elsewhere. LCD size is now hard-coded for the Nokia builds in their config files. A new --app parameter is passed to buildzip.pl to explicitly state that this is an application build - it was previously derived from the model name.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29418 a1c6a512-1295-4272-9138-f99709370657
2011-02-27 11:37:39 +00:00
Jonathan Gordon
9501986047
Blindly forcing stylus mode on plugin entry for an arbitrary subset of touch targets is a *REALLY BAD IDEA* so do it properly so we dont have to revert any commits.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29417 a1c6a512-1295-4272-9138-f99709370657
2011-02-27 09:30:33 +00:00
Alex Parker
8e9f3bbecc
FS#11969 by Lev Panov - Russian translation
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29415 a1c6a512-1295-4272-9138-f99709370657
2011-02-26 23:15:37 +00:00
Alex Parker
b10b030bd6
FS#11968 by Peter Lecky - Slovak language update
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29412 a1c6a512-1295-4272-9138-f99709370657
2011-02-26 22:14:37 +00:00
Bertrik Sikken
d3fc00ec42
Latvian language translation, FS#11967 by Mārtiņš Šimis
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29399 a1c6a512-1295-4272-9138-f99709370657
2011-02-25 20:26:03 +00:00
Andree Buschmann
89952213bb
Bump codec's API version. This is related to r29388 which changed the mp3entry struct.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29396 a1c6a512-1295-4272-9138-f99709370657
2011-02-25 07:16:35 +00:00
Michael Sevakis
ba8ce00bfc
pcmbuf: Clear last_chunksize at stop so we don't think there's a buffer in progress.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29395 a1c6a512-1295-4272-9138-f99709370657
2011-02-25 03:51:52 +00:00
Thomas Jarosch
93b1b8e158
Include config.h for strncmp RaaA maemo fix
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29393 a1c6a512-1295-4272-9138-f99709370657
2011-02-24 23:59:24 +00:00
Thomas Jarosch
e3a3e2c9c2
RaaA: Enable plugins for application builds
...
Use own plugins/SOURCES and plugins/SUBDIRS file to avoid
ifdef hell for disabled plugins without a keymap.
This finally brings the credits screen to RaaA.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29392 a1c6a512-1295-4272-9138-f99709370657
2011-02-24 23:35:16 +00:00
Andree Buschmann
9c2e7fd362
Use macro for better readability of adjust_mp3entry().
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29390 a1c6a512-1295-4272-9138-f99709370657
2011-02-24 20:03:14 +00:00
Andree Buschmann
910d6e507a
Minor correction to comment.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29389 a1c6a512-1295-4272-9138-f99709370657
2011-02-24 19:36:41 +00:00
Andree Buschmann
71ceac0b74
FS#11964. Rework replaygain handling to save metadata buffer and binsize. 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-24 19:10:59 +00:00
Michael Sevakis
6510973223
Give playback engine better control over the codec. Codec simply follows 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-23 14:31:13 +00:00
Thomas Martitz
95e24dd7a5
Android:
...
* 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-23 01:10:54 +00:00
Michael Sevakis
652463ecc0
mpegplayer: Move libmpeg2 files into their own subdirectory so things are less cluttered.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29381 a1c6a512-1295-4272-9138-f99709370657
2011-02-22 21:44:15 +00:00
Andree Buschmann
6cc02bca06
Submit FS11960. Limit metadata item size like done for ID3 tags since r29174.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29377 a1c6a512-1295-4272-9138-f99709370657
2011-02-22 07:52:21 +00:00
Andree Buschmann
1203befa08
Proper initialize dummy destination address to ensure correct functionality for replaygain in mp4 metadata.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29376 a1c6a512-1295-4272-9138-f99709370657
2011-02-22 07:44:15 +00:00
Andree Buschmann
6bc704e92a
Fix FS#11956. Call parse_replaygain() with correct parameters in ID3 tag parsing.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29375 a1c6a512-1295-4272-9138-f99709370657
2011-02-22 07:11:11 +00:00
Mustapha Senhaji
9d66c878e5
Add Ismael Castiñeira Álvarez to the credits and on the galego translation 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-22 01:44:45 +00:00
Andree Buschmann
588b892785
Fix FS#11955. ID3 tag parser was broken since r29349. Trimming strings must 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-21 21:35:41 +00:00
Alex Parker
aa6a66f984
Fix yellow
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29371 a1c6a512-1295-4272-9138-f99709370657
2011-02-21 18:49:12 +00:00
Alex Parker
aa59800e8b
FS#11938 by Ismael Castiñeira Álvarez - Update of Galician language.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29368 a1c6a512-1295-4272-9138-f99709370657
2011-02-21 18:35:03 +00:00
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