Jonathan Gordon
281f1a1ed6
New skin tags: %Vs() to set the text style and %Vg() to get the viewports gradient colours
...
%Vs(mode[, param]) : mode can be "invert", "color" (where param is the colour to use", "clear" to disable the current style, "gradient" where param is the number of lines the gradient should draw over.
%Vg(start colour, end colour, [text colour]), if this tag isnt used the list selection colours from the settings will set the gradient colours
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30302 a1c6a512-1295-4272-9138-f99709370657
2011-08-14 13:50:07 +00:00
Bertrik Sikken
b2d0ea204c
Remove a couple of duplicate #includes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30301 a1c6a512-1295-4272-9138-f99709370657
2011-08-14 13:42:32 +00:00
Thomas Martitz
dbdbc242ac
Remove hosted_get_volume(), as event data is available in button_get_data().
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30300 a1c6a512-1295-4272-9138-f99709370657
2011-08-14 13:38:10 +00:00
Thomas Martitz
baa9c48a66
Extension entries need an extra nul byte.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30297 a1c6a512-1295-4272-9138-f99709370657
2011-08-14 11:23:01 +00:00
Thomas Martitz
e20ff44e9d
Redo 30225 differently to not break the audio formats order for skins.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30296 a1c6a512-1295-4272-9138-f99709370657
2011-08-14 11:18:03 +00:00
Michael Hohmuth
5c6fe5da9c
Properly export sleep_timer_call from main_menu.c in exported_menus.h
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30292 a1c6a512-1295-4272-9138-f99709370657
2011-08-13 22:55:04 +00:00
Andree Buschmann
a1145a1d04
Remove all IRAM attributes from libGME to be able to restart the IRAM optimization on a clean code base. As first step move the sample buffers to IRAM which results in a 1-5% speedup for all codecs.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30284 a1c6a512-1295-4272-9138-f99709370657
2011-08-13 16:41:14 +00:00
Andree Buschmann
724a2d2514
6th part of FS#12176. Reduce memory consumption of libgme emulators to allow enabling of NSF and SGC codecs for low memory targets. The main lookup table only requires byte precision and can be used by 2413 and 8950 emulators. Update the manual accordingly.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30283 a1c6a512-1295-4272-9138-f99709370657
2011-08-12 21:36:29 +00:00
Andree Buschmann
5f6d8bfcc0
Remove unused sources from libgme.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30282 a1c6a512-1295-4272-9138-f99709370657
2011-08-12 05:57:27 +00:00
Andree Buschmann
1b9f9fb465
5th part of FS#12176. Further fixed point migration. Only two emulators (ym2413, ym2612) still use floating point.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30281 a1c6a512-1295-4272-9138-f99709370657
2011-08-11 21:06:16 +00:00
Bertrik Sikken
b127949860
libgme: make local functions static where possible
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30280 a1c6a512-1295-4272-9138-f99709370657
2011-08-11 19:04:28 +00:00
Andree Buschmann
39e4987ea5
Reduce gain of VGM codec to avoid clipping.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30279 a1c6a512-1295-4272-9138-f99709370657
2011-08-11 06:22:56 +00:00
Andree Buschmann
631d22b8e5
4th part of FS#12176. Volume settings migrated to fixed point for libgme.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30278 a1c6a512-1295-4272-9138-f99709370657
2011-08-11 06:18:39 +00:00
Andree Buschmann
4ca2367e34
3rd part of FS#12176. Gain setting migrated to fixed point for libgme.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30277 a1c6a512-1295-4272-9138-f99709370657
2011-08-10 17:58:36 +00:00
Andree Buschmann
012df14a5f
2nd part of FS#12176. Tempo setting migrated to fixed point for libgme.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30274 a1c6a512-1295-4272-9138-f99709370657
2011-08-09 20:21:55 +00:00
Andree Buschmann
c23f576a1c
Remove a floating point calculation from ay codec.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30268 a1c6a512-1295-4272-9138-f99709370657
2011-08-08 18:06:03 +00:00
Andree Buschmann
d14c96dc9a
Remove 'set but not used' warning.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30267 a1c6a512-1295-4272-9138-f99709370657
2011-08-07 21:19:27 +00:00
Andree Buschmann
b8ae97fe58
Fix yellow and red. Disable NSF, VGM, SGC and KSS formats for low memory targets for now.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30265 a1c6a512-1295-4272-9138-f99709370657
2011-08-07 20:28:47 +00:00
Andree Buschmann
acb0917556
Submit initial patch from FS#12176. Adds support for several new game music formats (AY, GBS, HES, KSS, SGC, VGM and VGZ) and replaces the current NSF and NSFE with a new implementation based on a port of the Game Music Emu library 'GME'. This first submit does not cover the full functionality provided by the author's original patch: Coleco-SGV is not supported, some GME-specific m3u-support has been removed and IRAM is not used yet. Further changes are very likely to follow this submit. Thanks to Mauricio Garrido.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30264 a1c6a512-1295-4272-9138-f99709370657
2011-08-07 20:01:04 +00:00
Andree Buschmann
93c6f1329a
Submit FS#12218. Add support for embedded album art for ASF tags. For now the support is limited to embedded pictures of max 64 KB size.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30263 a1c6a512-1295-4272-9138-f99709370657
2011-08-07 15:23:57 +00:00
Jonathan Gordon
0bba82bf94
woops
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30262 a1c6a512-1295-4272-9138-f99709370657
2011-08-07 09:35:50 +00:00
Jonathan Gordon
835683b442
%cs (current screen) changes:
...
* Every top level menu item now has a different screen number
* Playlist viewer and Playlist Catalogue browsers no longer share the same number
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30261 a1c6a512-1295-4272-9138-f99709370657
2011-08-07 08:39:56 +00:00
Andree Buschmann
a668072d9e
Fix replaygain for wma files which was broken since r29388.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30259 a1c6a512-1295-4272-9138-f99709370657
2011-08-06 09:20:52 +00:00
Jonathan Gordon
e918b7b973
Add a %cs item for the context menus
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30258 a1c6a512-1295-4272-9138-f99709370657
2011-08-05 00:47:11 +00:00
Michael Hohmuth
c027dc20be
Database: Bug fix: The filename seek index is invalid if FLAG_DIRCACHE
...
is set on a database entry and the dircache went offline. In this
case, retrieve() and get_next() need to abort and take the ramcache
offline as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30255 a1c6a512-1295-4272-9138-f99709370657
2011-08-04 23:03:43 +00:00
Michael Hohmuth
fa81cdc61a
Database: find_entry_ram: Avoid dircache use if it's not ready
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30254 a1c6a512-1295-4272-9138-f99709370657
2011-08-04 23:03:27 +00:00
Jonathan Gordon
32dfc0cdc1
Add a plugin activity which to the %cs screen option list
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30253 a1c6a512-1295-4272-9138-f99709370657
2011-08-04 13:40:24 +00:00
Michael Hohmuth
8207a4a267
FS#12132 patch 8: retrieve_entries: Decrease binsize by reenabling
...
inlining format_str() and avoiding a string copy by printing directly
into the name buffer.
Also uses quite a bit less stack space.
En passant, made basename printing more robust by not limiting the
buffer into which the file pathname is fetched by the max size of the
resulting basename string. Also, fixed a potential buffer overrun in
format_str.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30248 a1c6a512-1295-4272-9138-f99709370657
2011-08-04 10:23:18 +00:00
Michael Hohmuth
e7c2449d07
Database: Fix array-bounds calculation when applying a format using
...
%strip to partially loaded (chunked) database results.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30247 a1c6a512-1295-4272-9138-f99709370657
2011-08-04 10:21:52 +00:00
Michael Hohmuth
4cb473562e
Database: Fix memory-area bounds checking during database reload.
...
Check free space before reading new data from disk, and do not forget
to account for the RAM-cache header.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30246 a1c6a512-1295-4272-9138-f99709370657
2011-08-04 10:21:40 +00:00
Thomas Martitz
95c1e7d8b0
Fix oops in r30242. I didn't want to change/reduce the buffer size.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30244 a1c6a512-1295-4272-9138-f99709370657
2011-08-03 10:39:46 +00:00
Thomas Martitz
589879bb3d
Plugin API/ABI got incompatible r30242. Bump and sort.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30243 a1c6a512-1295-4272-9138-f99709370657
2011-08-03 09:52:23 +00:00
Thomas Martitz
98096970e0
Cleanup tree.c cache handling a bit.
...
* Rename stuff to not re-use the term dircache
* Move cache to own struct
* Encapsulate retrieving entries a bit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30242 a1c6a512-1295-4272-9138-f99709370657
2011-08-03 09:49:25 +00:00
Michael Hohmuth
fa5cf8edea
Database: Fix to support case-sensitive file systems containing audio
...
files with names differing only in capitalization. Thanks to Slasheri
for the fix.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30241 a1c6a512-1295-4272-9138-f99709370657
2011-08-02 22:10:06 +00:00
Andree Buschmann
7155be6ca4
Sync rockbox to r475 of musepack's svn.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30240 a1c6a512-1295-4272-9138-f99709370657
2011-08-02 19:08:29 +00:00
Thomas Martitz
7bbd7daaf7
Tagcache: Rename global static variable for better readability.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30239 a1c6a512-1295-4272-9138-f99709370657
2011-08-02 14:35:10 +00:00
Frank Gevaerts
68e066f400
#ifdef hell makes effectively suppressing this warning impossible, so stop trying
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30238 a1c6a512-1295-4272-9138-f99709370657
2011-08-01 20:21:34 +00:00
Frank Gevaerts
038a608bb7
Move the "warning suppression" down, so it comes after the last write to "remote", to ensure better warning avoidance
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30237 a1c6a512-1295-4272-9138-f99709370657
2011-08-01 20:13:43 +00:00
Frank Gevaerts
bd3056cb38
Suppress a "variable 'remote' set but not used" warning that some gcc versions (rightly) emit for the m:robe 100 sim. The "correct" solution would be to add about twenty five more #ifdefs to a function that already has way too many of them, or to rewrite the entire function.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30236 a1c6a512-1295-4272-9138-f99709370657
2011-08-01 20:07:05 +00:00
Frank Gevaerts
00c0221800
Make scrobbler_flush_cache() static
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30235 a1c6a512-1295-4272-9138-f99709370657
2011-08-01 19:43:13 +00:00
Thomas Martitz
86724a205d
Remove dead rolo related code (boot_changed was never set to true).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30233 a1c6a512-1295-4272-9138-f99709370657
2011-08-01 13:03:21 +00:00
Frank Gevaerts
94b4a8bb9a
revert r30226, which is apparently broken.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30232 a1c6a512-1295-4272-9138-f99709370657
2011-08-01 08:38:32 +00:00
Michael Hohmuth
935d3d717f
FS#12132 patch 7: Add a new default format for untagged tracks:
...
Display the file's base name instead of "<Untagged>".
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30231 a1c6a512-1295-4272-9138-f99709370657
2011-07-31 16:26:39 +00:00
Michael Hohmuth
eab7e74778
FS#12132 patch 6, part 2: tagnavi.config: Add support for "basename"
...
in formats and conditions. The basename is the non-directory part of
a file's pathname.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30230 a1c6a512-1295-4272-9138-f99709370657
2011-07-31 16:26:35 +00:00
Michael Hohmuth
accea18ded
FS#12132 patch 6, part 1: tagnavi.config: Add support for string
...
truncation in tagnavi %formats using the standard
"%{width}.{truncation}s" format syntax.
String truncation is especially useful when using part of a string
tag, filename, or basename for sorting and %strip'ing. (Basename
support is forthcoming in a subsequent commit.)
Also renovated the format_str() code a bit (improved structuring,
removed code duplication) and increased the maximum length of a printf
conversion specification to 20 characters.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30229 a1c6a512-1295-4272-9138-f99709370657
2011-07-31 16:26:31 +00:00
Frank Gevaerts
92b392e722
Reload the current playlist after reboot even if it has ended. (FS#11644)
...
This is done to make reboot more transparent. If a playlist has ended, there should be no difference between the player doing nothing for ten minutes and the player shutting down after the idle timeout and being restarted.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30226 a1c6a512-1295-4272-9138-f99709370657
2011-07-31 12:56:00 +00:00
Thomas Martitz
ffded5fcf8
Move AFMT_MPA_L1 down in the enum as hwcodec can't play it.
...
Fixes a NULL-pointer derefence in probe_file_format().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30225 a1c6a512-1295-4272-9138-f99709370657
2011-07-31 11:42:50 +00:00
Bertrik Sikken
564b696500
FS#12210 - Bulgarian translation update by Vencislav Atanasov
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30223 a1c6a512-1295-4272-9138-f99709370657
2011-07-29 19:13:52 +00:00
Jonas Häggqvist
8fcb752304
New language: Basque by Asier Arsuaga (FS#12205)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30221 a1c6a512-1295-4272-9138-f99709370657
2011-07-28 16:04:20 +00:00
Michael Giacomelli
55c77e229e
Fix a bug introduced in r27463 that caused the line spectral pair look up tables to overwrite the noise coding VLC tables. Should fix decoding of files that have both noise coding and line spectral pairs, which are usually very low bitrate WMAs.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30220 a1c6a512-1295-4272-9138-f99709370657
2011-07-28 14:12:33 +00:00
Jonathan Gordon
969903b5fe
Change the way the %Tl() (touch region) tag is done to remove dodgey 1-char settings.
...
check the manual...
%Tl(..., &action) -> %Tl(..., action, repeat_press)
%Tl(..., *action) -> %Tl(..., action, long_press)
%Tl(..., !action) -> %Tl(..., action, reverse_bar)
and a new allow_while_lock to make the region fire when softlocked
these options must all be after the action name, but otherwise the order doesnt matter. And for the setting_inc/dec/set action the setting name must follow the action name, *then* the options
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30219 a1c6a512-1295-4272-9138-f99709370657
2011-07-28 12:53:22 +00:00
Jonathan Gordon
bb618dbd84
skin engine softlock support for touchscreens:
...
Modify the %Tl() tag to add a new region 'lock' which will lock/unlock the wps/sbs from touches (hardware buttons still work)
You can also specify a region to work when locked by prepending ^ to the action name (this is probably about to change though)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30218 a1c6a512-1295-4272-9138-f99709370657
2011-07-28 11:26:01 +00:00
Bertrik Sikken
b9f3230273
FS#12200 - July update of Czech language by Marek Salaba
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30217 a1c6a512-1295-4272-9138-f99709370657
2011-07-27 17:17:15 +00:00
Bertrik Sikken
3bb0fed345
FS#12198 - Romanian translation update by Sergiu Rotaru
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30213 a1c6a512-1295-4272-9138-f99709370657
2011-07-26 17:37:21 +00:00
Alessio Lenzi
d9bad6eaac
Updated italian translation.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30212 a1c6a512-1295-4272-9138-f99709370657
2011-07-25 20:11:43 +00:00
Bertrik Sikken
7210d04603
battery bench: fix redundant '#' in the battery bench instruction header
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30211 a1c6a512-1295-4272-9138-f99709370657
2011-07-25 18:52:09 +00:00
Andree Buschmann
5dfc343a24
Submit FS#12196. Adds support for embedded album art (jpg) with APEv2 tags.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30210 a1c6a512-1295-4272-9138-f99709370657
2011-07-25 10:37:51 +00:00
Bertrik Sikken
0157c62418
ipod nano 1g: enable readout of battery current through ADC channel 4066_ISTAT
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30204 a1c6a512-1295-4272-9138-f99709370657
2011-07-24 17:32:50 +00:00
Andree Buschmann
10a1e8a609
Fix musepack resume for resume positions > 7:30m.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30202 a1c6a512-1295-4272-9138-f99709370657
2011-07-23 20:56:53 +00:00
Amaury Pouly
eb90d95693
imx233/fuze+: huge rework
...
- enable MMU
-rework lcd frame buffer
- add rtc/adc/power stubs (or not)
- fix a few MMC related defines (hopefully)
- implement cache handling for DMA
- more SD work
- add keymap (based on clip)
- add virtual buttons
- update linker scripts
- big step toward apps actually compiling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30200 a1c6a512-1295-4272-9138-f99709370657
2011-07-23 11:45:22 +00:00
Magnus Holmgren
146e2eb089
Update Swedish translation.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30191 a1c6a512-1295-4272-9138-f99709370657
2011-07-22 11:26:38 +00:00
Michael Sevakis
96f02a9aa9
is_codec_thread() is not needed anymore since PCM buffer calls other than volume level are no longer made by the voice thread.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30189 a1c6a512-1295-4272-9138-f99709370657
2011-07-21 22:25:09 +00:00
Bertrik Sikken
423d5a7577
FS#12193 - Polish translation refresh by Wojciech Leśniak
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30188 a1c6a512-1295-4272-9138-f99709370657
2011-07-21 19:17:51 +00:00
Bertrik Sikken
0dae1f628e
FS#12180 - slovak lang update by Peter Lecký
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30187 a1c6a512-1295-4272-9138-f99709370657
2011-07-21 19:09:44 +00:00
Alex Parker
aec2f31364
Correct spelling of catalogue.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30186 a1c6a512-1295-4272-9138-f99709370657
2011-07-21 14:13:20 +00:00
Jonathan Gordon
22332e8c0a
Copy yesno_pop to hosted/yesno,c which is mildly annoying, maybe do a better fix later
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30185 a1c6a512-1295-4272-9138-f99709370657
2011-07-21 06:51:55 +00:00
Jonathan Gordon
d1fd4f08f5
Fix FS#8656 - Error saving non-current playlist file
...
Use the plugin buffer to save the playlist copy if there isnt enough buffer already allocated to the inram copy of the playlist
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30184 a1c6a512-1295-4272-9138-f99709370657
2011-07-21 06:40:21 +00:00
Jonathan Gordon
a7c37ea2d0
Pull yesno_pop out of the radio code as it is a nice simple resuasble yesno api worth reusing
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30183 a1c6a512-1295-4272-9138-f99709370657
2011-07-21 06:40:01 +00:00
Jonathan Gordon
061ff42187
s/Playlist/Current Playlist/ in the playlist viewer context menu.
...
This menu needs to be changed to a proper menu so the icons dont suck
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30180 a1c6a512-1295-4272-9138-f99709370657
2011-07-20 14:54:10 +00:00
Jonathan Gordon
97a4c1efa4
FS#11808 - Major playlist handling changes (on disk playlists)
...
* Playlists are treated similar to directories in the browser, they now open in the viewer when selected instead of automatically starting the playlist.
* Make the "Playlists" main menu item useful, it now displays the playlist catalog (and has been renamed accordingly)
* Default to storing playlists in the catalog
* Add a UI to move the catalog directory
(other minor stuff too)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30177 a1c6a512-1295-4272-9138-f99709370657
2011-07-20 14:11:15 +00:00
Jonathan Gordon
4983d052a0
Remove to top/bottom quickscreen defaults.
...
As constantly discussed in IRC, it is insane that dirfilter and party mode are defaults on the quickscreen, both have caused countless problems for users accidentaly enabling them.
This wont change anything for users who have changed their setting, only for people who left it default
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30176 a1c6a512-1295-4272-9138-f99709370657
2011-07-20 01:30:29 +00:00
Frank Gevaerts
6c5c3495ca
Disable ipod video battery capacity default detection for bootloader and simulator
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30171 a1c6a512-1295-4272-9138-f99709370657
2011-07-19 20:55:59 +00:00
Frank Gevaerts
aa27d47782
Set the default battery capacity for ipod video properly depending on detected RAM size.
...
Also set up a callback for the battery capacity setting (for all players) so changes take effect without having to reboot.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30170 a1c6a512-1295-4272-9138-f99709370657
2011-07-19 20:48:16 +00:00
Thomas Martitz
1b7ff725c6
Revert "Introduce bsearch() and use it in tagtree.c."
...
It was committed by accident (it's on FS still).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30157 a1c6a512-1295-4272-9138-f99709370657
2011-07-18 18:57:50 +00:00
Thomas Martitz
74ab227b58
Introduce bsearch() and use it in tagtree.c.
...
bsearch() is a general purpose binary search function for arrays.
It's supposedly faster than looping over arrays.
The array needs to be sorted in ascending order under the provided
comparison function. If the key and array element are of the same kind,
then the same compare function can be used for qsort() and bsearch().
Code taken from glibc.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30155 a1c6a512-1295-4272-9138-f99709370657
2011-07-18 18:55:20 +00:00
Thomas Martitz
5eb2f60afb
Revert r30030 "Remove unused code path from playlist_create_ex()."
...
It breaks playlist viewing when playback is stopped (the code path wasn't so unused).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30150 a1c6a512-1295-4272-9138-f99709370657
2011-07-17 13:30:48 +00:00
Magnus Holmgren
6f392693b8
AAC: Another gapless fix, this one for the end of the file. The real size of the last frame was lost in r29727, as indicated by Yusaku Inui in FS#12185, so bring it back. Now the decoded length of test1_nero.m4a (in FS#12185) only differs by one sample compared to Foobar2000 (Rockbox has one more leading sample, for some reason). Also moved a few lines to a better place.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30149 a1c6a512-1295-4272-9138-f99709370657
2011-07-17 13:00:53 +00:00
Jonathan Gordon
3a7291020b
Prefill the playlist filename with .m3u8 when creating a new playlist in the catalog
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30148 a1c6a512-1295-4272-9138-f99709370657
2011-07-17 11:50:58 +00:00
Michael Sevakis
a802ebac06
The voice PCM buffer has nothing to do with the playback PCM buffer any longer. Allocate it independently from the playback engine's PCM buffer and only when voice is required. Additionally, allocate actual space for the crossfade buffer only when using crossfade. Will save 18.3KB when neither is needed (10.3KB for voice and 8.0KB for crossfade).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30133 a1c6a512-1295-4272-9138-f99709370657
2011-07-09 01:49:00 +00:00
Michael Sevakis
d8cb05e31e
Voice doesn't have to consume 100% CPU while waiting for an output buffer to be available. Use 'sleep(0)' instead of 'yield()' while polling.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30132 a1c6a512-1295-4272-9138-f99709370657
2011-07-08 23:39:01 +00:00
Michael Sevakis
b2dbc2fe70
Fix r30130 red. New functions in misc.c shouldn't be compiled if '__PCTOOL__' is defined.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30131 a1c6a512-1295-4272-9138-f99709370657
2011-07-08 22:51:12 +00:00
Michael Sevakis
5663e1cd0a
Have mpegplayer use the mixer (the playback channel, since it's mutually exclusive to audio playback) so the clicks and skip beep can be used according to user settings. Introduce some system sound functions to make easier playing event sounds from various places and convert files calling 'beep_play' to use 'system_sound_play' and 'keyclick_click'. Event sound could be become themeable.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30130 a1c6a512-1295-4272-9138-f99709370657
2011-07-08 22:31:15 +00:00
Mustapha Senhaji
f1a5a25dac
Update french translation, shorten string for Archos Player.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30128 a1c6a512-1295-4272-9138-f99709370657
2011-07-06 20:44:54 +00:00
Mustapha Senhaji
db22fc8f3f
FS#12173 Romanian translation update by Sergiu Rotaru.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30126 a1c6a512-1295-4272-9138-f99709370657
2011-07-06 20:31:53 +00:00
Thomas Martitz
00dfcb8159
Fix FS#12181 - Playlist re-shuffle does not work (r30122)
...
Dircache IDs can be 0, so to invalidate -1 must be used.
Update the memset calls to reflect this.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30125 a1c6a512-1295-4272-9138-f99709370657
2011-07-06 19:41:39 +00:00
Michael Sevakis
185fddbd66
Fix FS#12179 - Simulator build fails when using "configure --sdl-threads". HAVE_PRIORITY_SCHEDULING checks were missing to exclude priority calls when building without priority.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30124 a1c6a512-1295-4272-9138-f99709370657
2011-07-06 02:21:25 +00:00
Michael Sevakis
22b6def065
Use playback channel directly for peakmeters and plugins using peak calculation. Also, for now, don't allow mixer playback to overlap recording, even if full duplex works.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30119 a1c6a512-1295-4272-9138-f99709370657
2011-07-02 11:55:38 +00:00
Miika Pekkarinen
337e922685
Allocate indices directly in ramcache header. Add version code to
...
tagcache state dump header. Debug: hdr-structure corruption might
happen after rebuilding of dircache.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30109 a1c6a512-1295-4272-9138-f99709370657
2011-07-01 13:48:28 +00:00
Andree Buschmann
f27028dbb6
Do not use double/float calculations but predefined tables in mod codec. Reduces codesize by several kilobytes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30107 a1c6a512-1295-4272-9138-f99709370657
2011-06-30 21:53:02 +00:00
Andree Buschmann
1a1ac92f45
Use id3v2buf to read the title of MOD files. Avoids additional declaration of a 1KB buffer and saves a bit codesize as well.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30105 a1c6a512-1295-4272-9138-f99709370657
2011-06-30 18:39:13 +00:00
Nils Wallménius
4a04c47a97
Relax constraints for arm asm to not break when gcc decides to not inline the function but also throw in a FORCE_INLINE for good measure. Remove a redundant 'inline'.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30103 a1c6a512-1295-4272-9138-f99709370657
2011-06-30 08:22:56 +00:00
Michael Sevakis
5ff641fb81
Do some adjustments to alleviate IRAM congestion on some targets from r30097. Include removing pointless IRAM declarations in pcmbuf.c because that callback code runs at a fairly relaxed pace. M5 is still the biggest problem.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30100 a1c6a512-1295-4272-9138-f99709370657
2011-06-29 09:39:13 +00:00
Michael Sevakis
7996d6d3f9
Knock out at least some red/yellow from r30097.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30098 a1c6a512-1295-4272-9138-f99709370657
2011-06-29 07:06:10 +00:00
Michael Sevakis
a2b6703a36
Commit FS#12150 - Fully-functional audio mixer - and finally whip old limitations about playback of voice and other sounds when paused. Channels are independent in state and amplitude. Fade on stop/pause is handled by the channel's volume control rather than global volume which means it now works from anywhere. Opens up the possibility of plugin sounds during music playback by merely adding an additional channel enum. If any PCM drivers were not properly modified, see one of the last comments in the task for a description of the simple change that is expected. Some params are tunable in firmware/export/pcm-mixer.h as well.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30097 a1c6a512-1295-4272-9138-f99709370657
2011-06-29 06:37:04 +00:00
Bertrik Sikken
8411614b8a
FS#12172 - Update for serbian translation by Ivan Pesic
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30096 a1c6a512-1295-4272-9138-f99709370657
2011-06-28 21:21:55 +00:00
Thomas Jarosch
366686b891
Remove leftover backslash from macro conversion in FRACTMUL_SHL
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30094 a1c6a512-1295-4272-9138-f99709370657
2011-06-28 21:16:39 +00:00
Bertrik Sikken
cc7a872fec
FS#12171 - Polish translation update by Wojciech Lesniak
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30093 a1c6a512-1295-4272-9138-f99709370657
2011-06-28 21:10:59 +00:00
Jonas Häggqvist
a9e2b87c73
Update Danish translation
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30084 a1c6a512-1295-4272-9138-f99709370657
2011-06-27 12:11:48 +00:00
Rafaël Carré
7c3e5f6ac9
FS#12168 - Update Simp Chinese translation by Li Jie
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30081 a1c6a512-1295-4272-9138-f99709370657
2011-06-26 19:49:35 +00:00
Nils Wallménius
af8122b1cb
Reuse a general voice function instead of reinventing the wheel.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30080 a1c6a512-1295-4272-9138-f99709370657
2011-06-26 14:42:24 +00:00
Bertrik Sikken
737f3fed0d
Fix missing strings in nederlands translation
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30078 a1c6a512-1295-4272-9138-f99709370657
2011-06-26 12:22:07 +00:00
Jens Arnold
d1334fcf1d
Update US English translation
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30075 a1c6a512-1295-4272-9138-f99709370657
2011-06-26 11:16:43 +00:00
Jens Arnold
9fb83d4441
Update German translation
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30074 a1c6a512-1295-4272-9138-f99709370657
2011-06-26 11:15:22 +00:00
Rafaël Carré
2ffb0195f5
english.lang: remove trailing spaces
...
Reduce the diff with english-us.lang
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30072 a1c6a512-1295-4272-9138-f99709370657
2011-06-25 20:04:59 +00:00
Jens Arnold
b2e76da144
(Heavily) shorten the .lang string shown when generating the database
...
for the Player in order to make it fit on the small LCD.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30066 a1c6a512-1295-4272-9138-f99709370657
2011-06-24 23:55:16 +00:00
Andree Buschmann
96af117e21
Submit FS#12142 by Sean Bartell with minor chnages by myself. Removes unused code and irrelevant files from libmad.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30065 a1c6a512-1295-4272-9138-f99709370657
2011-06-24 14:48:25 +00:00
Michael Sevakis
fcae888e81
SPC Codec: Restore correct FIR buffer alignment when an address mask is used. It must be FIR_BUF_ALIGN. Fix Coldfire assembly constraint where an input parameter was also being written.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30063 a1c6a512-1295-4272-9138-f99709370657
2011-06-24 10:52:43 +00:00
Andree Buschmann
4b0e09c1ac
Submit FS#12164 by Sean Bartell with minor changes by myself. Fixes possible decoding corruption of RealAudio files.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30060 a1c6a512-1295-4272-9138-f99709370657
2011-06-24 08:51:22 +00:00
Miika Pekkarinen
d0084ffd7a
Fixed a regression caused in r30021: tagnavi_custom.config parsing
...
fails if lines ended with <CR><LF> sequence.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30058 a1c6a512-1295-4272-9138-f99709370657
2011-06-23 20:22:00 +00:00
Miika Pekkarinen
2bc133dce9
Try to handle dircache rebuild event properly. Playlist should now
...
cache new pointers to dircache items when dircache goes
offline and comes back onlineagain (during tagcache commit). This
should prevent wrong filenames to appear in playlist.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30047 a1c6a512-1295-4272-9138-f99709370657
2011-06-21 17:42:31 +00:00
Alex Parker
c4f6e340f8
Update US English by Steven Panek.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30045 a1c6a512-1295-4272-9138-f99709370657
2011-06-20 21:14:29 +00:00
Thomas Martitz
6e8ffa92af
Fix red in fft plugin.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30044 a1c6a512-1295-4272-9138-f99709370657
2011-06-20 20:45:39 +00:00
Alex Parker
548b34a180
Add US English by Steven Panek.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30043 a1c6a512-1295-4272-9138-f99709370657
2011-06-20 20:23:44 +00:00
Thomas Martitz
af7aaae478
Dircache: Don't expose struct dircache_entry and pointers into the cache, use IDs instead.
...
Only integer IDs are exposed from dircache with this. This way the cache is isolated from other modules.
This is needed for my buflib gsoc project.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30038 a1c6a512-1295-4272-9138-f99709370657
2011-06-20 20:12:42 +00:00
Thomas Martitz
e063725534
Dircache: Return the size of the result string in dircache_copy_path() so that callers don't need to call strlen on it.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30034 a1c6a512-1295-4272-9138-f99709370657
2011-06-20 20:12:15 +00:00
Thomas Martitz
ffee46a8b1
Fix yellow. Shouldn't have reordered struct members here.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30031 a1c6a512-1295-4272-9138-f99709370657
2011-06-20 19:33:08 +00:00
Thomas Martitz
1a86aab1a2
Remove unused code path from playlist_create_ex().
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30030 a1c6a512-1295-4272-9138-f99709370657
2011-06-20 19:33:03 +00:00
Thomas Martitz
316f9a0238
tagtree: Refactor memory allocation to local functions.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30029 a1c6a512-1295-4272-9138-f99709370657
2011-06-20 19:32:56 +00:00
Thomas Martitz
19d08c2664
Move struct search_instruction into struct menu root, as they're not allocated or used independently.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30028 a1c6a512-1295-4272-9138-f99709370657
2011-06-20 19:32:52 +00:00
Thomas Martitz
7b374b43b5
Use enum themable_icons in struct file_type and struct filetype (who made those names?).
...
It's the correct type and should save some memory due to struct padding (on eabi).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30027 a1c6a512-1295-4272-9138-f99709370657
2011-06-20 19:32:48 +00:00
Miika Pekkarinen
f2ef42c1da
Fixed a changelog export/import problem with tagcache where <CR> or <LF>
...
characters in a tag could cause the parser fail to import a track
statistics correctly. Now line feeds are escaped properly and carriage
returns ignored on import.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30021 a1c6a512-1295-4272-9138-f99709370657
2011-06-20 15:53:33 +00:00
Jens Arnold
c56cca261a
Fix non-working .talk clips on hwcodec (follow-up to r28672 and r29432): .talk clips
...
must be evaluated as MP3. Also fix supported formats: hwcodec doesn't support MP1.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30019 a1c6a512-1295-4272-9138-f99709370657
2011-06-19 22:34:40 +00:00
Miika Pekkarinen
8d9b9d247b
Removed redundant copy of tagcache master_header structure stored in
...
memory. One of these headers (current_tcmh) was not loaded in when
tagcache state was initialized from a hibernated state file (flashed
H1xx targets). That caused internal serial number to start always from
zero, rendering "recently played tracks" query not working as expected.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30016 a1c6a512-1295-4272-9138-f99709370657
2011-06-19 14:36:26 +00:00
Magnus Holmgren
6c8ef19dfd
FS#12161: Correct the gapless processing for AAC, so that it doesn't remove too much from the start of a track. Also simplify the logic a bit.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30012 a1c6a512-1295-4272-9138-f99709370657
2011-06-18 15:11:30 +00:00
Bertrik Sikken
21685577c7
FS#12162 - Second June update of Czech language by Marek Salaba
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30011 a1c6a512-1295-4272-9138-f99709370657
2011-06-17 23:36:49 +00:00
Rafaël Carré
7b605f0416
Fix 'unused-but-set-variable' warnings (doom, lua)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30008 a1c6a512-1295-4272-9138-f99709370657
2011-06-17 00:14:58 +00:00
Jonathan Gordon
142725ebc9
Fix FS#12158 - Make the "Mode: " line in the radio menu voice.
...
Translators need to verify the voice string, dumbly copied from the dest string
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30007 a1c6a512-1295-4272-9138-f99709370657
2011-06-16 13:28:15 +00:00
Michael Hohmuth
851cac848a
Prevent out-of-bounds array access when a tagnavi config file defines too many %format specifications
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30006 a1c6a512-1295-4272-9138-f99709370657
2011-06-14 20:54:26 +00:00
Bertrik Sikken
4456abb601
FS#12157 - Little June update of Czech language by Marek Salaba
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30005 a1c6a512-1295-4272-9138-f99709370657
2011-06-14 20:02:43 +00:00
Bertrik Sikken
dfeab73f55
FS#12156 - Update Galician translation by Ismael Castiñeira Álvarez
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30002 a1c6a512-1295-4272-9138-f99709370657
2011-06-13 21:39:07 +00:00
Magnus Holmgren
de81c733bd
Update Swedish translation.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30001 a1c6a512-1295-4272-9138-f99709370657
2011-06-13 17:37:35 +00:00
Thomas Martitz
3b18158688
Fix FS#11387 - PictureFlow runs jerkily while playing music on Nano2G after the recent feature addition
...
The problem r26713 addressed was not caused by missing yields but by too high
priority of the background loader thread. Undoing the yield() change and decreasing
the priority fixes the audio drop as well but doesn't cause jerkiness.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30000 a1c6a512-1295-4272-9138-f99709370657
2011-06-13 16:50:10 +00:00
Bertrik Sikken
e533635012
FS#12155 - Update espanol.lang Spanish translation
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29998 a1c6a512-1295-4272-9138-f99709370657
2011-06-13 16:16:40 +00:00
Jonathan Gordon
038fc8a66e
Fix the %cs tag for the pitchscreen and playlist viewer
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29997 a1c6a512-1295-4272-9138-f99709370657
2011-06-13 07:33:20 +00:00
Nils Wallménius
3b04a85245
Remove a couple of dead inits and assignments found by the clang-static-analyzer.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29996 a1c6a512-1295-4272-9138-f99709370657
2011-06-12 22:17:45 +00:00
Nils Wallménius
f2e7c05c22
libtremor: comment out unused struct member.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29987 a1c6a512-1295-4272-9138-f99709370657
2011-06-09 06:46:44 +00:00
Nils Wallménius
d5ceb4ce2b
codeclib: make selective inclusion of macros and inline functions from the codeclib_misc.h header easier and clean out some old libtremor stuff.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29985 a1c6a512-1295-4272-9138-f99709370657
2011-06-08 10:35:27 +00:00
Nils Wallménius
331b23d15b
FS#12144, Use -fPIC -fvisibility=hidden only for plugins on sim and app builds and enable it for 32 bit too. Fixes linking errors on simbuilds.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29983 a1c6a512-1295-4272-9138-f99709370657
2011-06-07 11:56:23 +00:00
Michael Hohmuth
f9f96325e2
FS#12107: Remove track-number guessing code.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29982 a1c6a512-1295-4272-9138-f99709370657
2011-06-06 23:03:31 +00:00
Michael Hohmuth
6a0021cf20
FS#12132 patch 5: check_clauses: Optimizations.
...
* There's no need to reset the buffer argument to
check_against_clauses to 0 when it's not needed. We can always
initialize str = buf and only change it on a RAM search hit.
* Do not memset buffer to 0 -- it's sufficient to make sure the
retrieved tag string is zero-terminated.
* Factor out a call to check_virtual_tags from two branches of an if
statement.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29981 a1c6a512-1295-4272-9138-f99709370657
2011-06-06 22:49:07 +00:00
Michael Hohmuth
b3a7f39c66
FS#12132 patch 4: Added a comment for the tagcache_search.type field.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29980 a1c6a512-1295-4272-9138-f99709370657
2011-06-06 22:49:02 +00:00
Michael Hohmuth
564a8ed1fd
FS#12132 patch 3: Rename read_numeric_tag to find_tag, as it is indeed
...
used for nonnumeric tags as well.
Optimization for the nonnumeric case: Only numerics are ever updated,
so there's no need to scan the command queue for updates to nonnumeric
tags.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29979 a1c6a512-1295-4272-9138-f99709370657
2011-06-06 22:48:57 +00:00
Michael Hohmuth
509d6a901d
FS#12132 patch 2: add_uniqbuf: Fix confusing indentation in if condition
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29978 a1c6a512-1295-4272-9138-f99709370657
2011-06-06 22:48:53 +00:00
Nils Wallménius
e62b9a9aae
libtremor: Implement a memory configuration for targets that don't use separate iram for codecs.
...
Such targets would previously default to using the configuration for targets with small iram which uses an extra memcpy per block.
This saves 2MHz decoding a 128kbps vorbis file on the Gigabeat S and saves a bit of codec buffer.
Patch from FS#11268, also replaces patch from FS#12147.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29976 a1c6a512-1295-4272-9138-f99709370657
2011-06-06 13:27:12 +00:00
Nils Wallménius
684b74147f
Safe part of FS#11268, saving some codec buffer space for targets that don't use separate iram.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29975 a1c6a512-1295-4272-9138-f99709370657
2011-06-05 20:18:31 +00:00
Nils Wallménius
965113ed50
FS#12146: Fix libcook bugs introduced in r22055 by Sean Bartell.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29973 a1c6a512-1295-4272-9138-f99709370657
2011-06-05 13:12:51 +00:00
Andree Buschmann
9f65f2b6ad
Accept FS#12143 (NSF codec clean up): Declare local stuff static, comment unused variables and functions.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29972 a1c6a512-1295-4272-9138-f99709370657
2011-06-05 13:05:09 +00:00
Peter D'Hoye
82f4c60db4
Make the histogram code usable for playback as well. Move the recording histogram code to peakmeter, rename it to remove the recording reference, and rename anything referring to it as well. Change the drawing code so there are more options to position them. This may change your histogram settings, so check after upgrading.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29969 a1c6a512-1295-4272-9138-f99709370657
2011-06-05 12:36:27 +00:00
Thomas Martitz
62e06cc2a4
Accept FS#5153 - Doom Scrollwheel Patch
...
It hardcodes the scrollwheel for straving left/right.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29968 a1c6a512-1295-4272-9138-f99709370657
2011-06-05 11:23:53 +00:00
Marcin Bukat
dceceef052
Move dbg_hw_info() into target tree. FS#11735 by me
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29964 a1c6a512-1295-4272-9138-f99709370657
2011-06-05 10:26:06 +00:00
Nils Wallménius
03c12a7906
Delete old unused macro.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29962 a1c6a512-1295-4272-9138-f99709370657
2011-06-05 09:27:58 +00:00
Marianne Arnold
92afc96cc8
Languages: make the Clip+ use the microSD specific string to refer to the external card instead of only the general multivolume fallback.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29958 a1c6a512-1295-4272-9138-f99709370657
2011-06-04 19:33:01 +00:00
Dominik Riebeling
482e83d09a
Center Rockbox logo when smaller than the screen size.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29954 a1c6a512-1295-4272-9138-f99709370657
2011-06-04 18:55:51 +00:00
Nils Wallménius
73d0e14f44
Disable some unused code in speex to save binsize.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29949 a1c6a512-1295-4272-9138-f99709370657
2011-06-02 20:52:54 +00:00
Nils Wallménius
d860c87800
Build the voice codec speex with core -O switch to save size on targets using -Os.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29948 a1c6a512-1295-4272-9138-f99709370657
2011-06-02 16:11:22 +00:00
Nils Wallménius
927361b4ae
Fix define name.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29947 a1c6a512-1295-4272-9138-f99709370657
2011-06-02 15:25:50 +00:00
Nils Wallménius
4909e09267
FS#12141 by Sean Bartell
...
Some of these were found with http://www.samba.org/junkcode/#findstatic . Changes of note:
* The old MDCT has been removed.
* Makefile.test files that create test programs for libatrac, libcook, and libffmpegFLAC have been removed, as they don't work. My project will have a replacement that works with all codecs.
* I've tried not to remove anything useful. CLIP_TO_15 was removed from libtremor because there's another copy (also commented) in codeclib.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29945 a1c6a512-1295-4272-9138-f99709370657
2011-06-02 14:59:15 +00:00
Jonathan Gordon
b58d3656d7
FS#11925 - Add a proper system to keep track of the current screen/activity to make %cs far more useful
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29944 a1c6a512-1295-4272-9138-f99709370657
2011-06-01 14:41:49 +00:00
Nils Wallménius
7c6056b352
FS#12140 by Sean Bartell, Make various codec stuff static.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29942 a1c6a512-1295-4272-9138-f99709370657
2011-06-01 10:28:26 +00:00
Michael Hohmuth
05a1984eb3
FS#12065 - Fix two regressions introduced with r26192 (FS#10976 /
...
FS#10992 - make the <Untagged> string translatable):
* The translation was done too early: before the tagnavi format
clauses were checked. This prevented comparisons against
"<Untagged>" when a non-English translation was active.
* The code overwrote the buffer containing the constant string
"<Untagged>" with the translation. This is neither safe nor
necessary: The result pointer simply can be swapped with a pointer
to the translation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29941 a1c6a512-1295-4272-9138-f99709370657
2011-06-01 08:00:37 +00:00
Dominik Riebeling
70b81e65cc
Android: install codecs as native libs instead of extracting them (FS#12134).
...
Codec files are loaded as dynamic libraries. Instead of extracting them from
the packaged libmisc.so and therefore having them present twice on the device
put them into the apk as native libraries. Decreases the size of the installed
Rockbox by the compressed size of the codecs. Also, the extraction on first
Rockbox startup gets notably faster since it's less data to extract.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29940 a1c6a512-1295-4272-9138-f99709370657
2011-05-31 21:26:18 +00:00
Nils Wallménius
f42a305b57
Accept FS#12136: Save some binsize in tagtree.c. Thanks to sideral for testing.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29937 a1c6a512-1295-4272-9138-f99709370657
2011-05-31 19:44:21 +00:00
Bertrik Sikken
8a5a2b82fd
FS#12139 - Galician translation update by Ismael Castiñeira Álvarez
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29934 a1c6a512-1295-4272-9138-f99709370657
2011-05-30 19:07:57 +00:00
Michael Giacomelli
0497adffcf
Commit FS#12130 - Fix ADX decoding on 64-bit systems by Sean Bartell. Fixes an incorrect assumption in the ADX decoder that sizeof(int) == 32 when performing fixed point math. Update comments in the fixed point library to correct this.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29927 a1c6a512-1295-4272-9138-f99709370657
2011-05-26 21:22:29 +00:00
Michael Sevakis
caf907eef1
Workaround an occasional problem where album art or cuesheets might not be ready by the time the track change event is send which can result in the WPS not immediately being aware that the handles are ready. A better solution will be sought that hopefully doesn't require the additional event.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29923 a1c6a512-1295-4272-9138-f99709370657
2011-05-25 08:35:31 +00:00
Nils Wallménius
2e3162f039
Fix 2 'set but not used' warnings.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29922 a1c6a512-1295-4272-9138-f99709370657
2011-05-24 10:56:01 +00:00
Nils Wallménius
5fd9471c15
FS#12120. Convert FRACMUL macros into inline functions and fix typecasting for 64 bit platforms so that sims produce the same results as targets. Tweak the cf inline asm to not require an immediate value but add a FORCE_INLINE attribute to one of the cf functions to make sure it gets inlined as that saves both codesize and cycles.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29921 a1c6a512-1295-4272-9138-f99709370657
2011-05-24 10:44:12 +00:00
Andree Buschmann
ecb4d2d9a7
Remove next reported 'set but unused' warnings.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29920 a1c6a512-1295-4272-9138-f99709370657
2011-05-23 19:09:04 +00:00
Andree Buschmann
8767ba9a85
Remove residual float operations from sid codec.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29919 a1c6a512-1295-4272-9138-f99709370657
2011-05-23 18:28:08 +00:00
Jonathan Gordon
645ffa9beb
Make volume and progresssbar touch regions work with touch timeouts
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29918 a1c6a512-1295-4272-9138-f99709370657
2011-05-23 06:23:04 +00:00
Andree Buschmann
3071b2bde1
Fix yellow.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29917 a1c6a512-1295-4272-9138-f99709370657
2011-05-23 06:19:30 +00:00
Jonathan Gordon
94257e5e19
Fix %Tl 'last touch' tag not accepting the timeout
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29916 a1c6a512-1295-4272-9138-f99709370657
2011-05-23 06:02:44 +00:00
Andree Buschmann
de1529c4eb
Save a large static buffer in sid codec.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29915 a1c6a512-1295-4272-9138-f99709370657
2011-05-22 21:00:32 +00:00
Andree Buschmann
d038f89f3f
S5L870x is fast enough to play spc with gaussian interpolation and echo processing.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29914 a1c6a512-1295-4272-9138-f99709370657
2011-05-22 20:01:07 +00:00
Andree Buschmann
6117ffdde5
Submit FS#12115: Use more IRAM in cook codec for several targets. Speeds up PP5022 and MCF5250 by ~3% and S5L87.0x by ~4%.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29913 a1c6a512-1295-4272-9138-f99709370657
2011-05-22 19:03:58 +00:00
Andree Buschmann
8531380de4
Fix unintentional removal of an if-statement.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29912 a1c6a512-1295-4272-9138-f99709370657
2011-05-22 14:10:05 +00:00
Andree Buschmann
96b21753bc
Fix some residual 'defined but not used' warnings by GCC 4.6.0 for touchscreen targets.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29910 a1c6a512-1295-4272-9138-f99709370657
2011-05-22 13:53:31 +00:00
Bertrik Sikken
313254e4ec
Update Latvian language, FS#12123 by Mārtiņš Šimis
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29907 a1c6a512-1295-4272-9138-f99709370657
2011-05-22 09:22:04 +00:00
Andree Buschmann
609c526d56
Use more IRAM on S5L870x to speed up wmapro by ~2%.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29906 a1c6a512-1295-4272-9138-f99709370657
2011-05-20 23:28:09 +00:00
Andree Buschmann
99494140da
Use more IRAM on S5L870x to speed up wma by ~3%.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29905 a1c6a512-1295-4272-9138-f99709370657
2011-05-20 22:53:22 +00:00
Michael Sevakis
89e791cc4b
Fix FS#12118 - Voice UI has issues talking various issues in menus and in the file browswer. audio_pcmbuf_may_play should check play_status for !=PLAY_PAUSED, not ==PLAY_PLAYING so that PCM may auto-start when voicing out playback state.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29904 a1c6a512-1295-4272-9138-f99709370657
2011-05-20 22:52:34 +00:00
Bertrik Sikken
90aa993e00
FS#12122 - Translated the missing string in Romanian. by Sergiu Rotaru
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29903 a1c6a512-1295-4272-9138-f99709370657
2011-05-20 18:39:55 +00:00
Andree Buschmann
a45af1c4fe
Reduce FRACMUL calls in equalizer.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29898 a1c6a512-1295-4272-9138-f99709370657
2011-05-18 20:06:37 +00:00
Rafaël Carré
a2c2589247
don't install boomshine.lua if lua.rock isn't built
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29895 a1c6a512-1295-4272-9138-f99709370657
2011-05-17 22:29:36 +00:00
Andree Buschmann
7b054efa0b
FS#12117: Use more IRAM for atrac3. Speeds up decoding from 1-2% (PP5022, PP5024, S5L870x) to 11% (MCF5250).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29892 a1c6a512-1295-4272-9138-f99709370657
2011-05-16 21:47:13 +00:00
Andree Buschmann
22c9b6ef8e
Use more IRAM for mpc on S5L870x. Speed up decoding by ~2%.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29891 a1c6a512-1295-4272-9138-f99709370657
2011-05-16 21:31:59 +00:00
Bertrik Sikken
14cac39d19
FS#12119 - June update of Czech language by Marek Salaba
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29888 a1c6a512-1295-4272-9138-f99709370657
2011-05-16 19:57:43 +00:00
Andree Buschmann
46507d29b4
FS#12113: Optimize IRAM configuration for SPC. Performance increases by 5-6% on PP5022, PP5024 and S5L870x. No change of performance on Coldfire, PP5002 and PP5020.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29887 a1c6a512-1295-4272-9138-f99709370657
2011-05-15 16:08:50 +00:00
Andree Buschmann
41723bc14b
FS#12113: Optimize IRAM configuration for NES Sound Format. Performance is stable on Coldfire and shows performance gains from about 50-100% (PP5020, S5L870x, PP5022) up to 168% (PP5002).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29886 a1c6a512-1295-4272-9138-f99709370657
2011-05-15 15:00:41 +00:00
Bertrik Sikken
5a726f83b7
Update french translation for LANG_PAUSE_REWIND by Ophir Lojkine
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29885 a1c6a512-1295-4272-9138-f99709370657
2011-05-15 14:51:57 +00:00
Bertrik Sikken
d835b7b51f
FS#12116 - Update of Portuguese (Portugal) language - Rewind on Pause by Gabriel Maia
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29884 a1c6a512-1295-4272-9138-f99709370657
2011-05-15 13:56:52 +00:00
Andree Buschmann
bf46e634b4
FS#12113: Optimize IRAM configuration for Atari SAP format. Performance gains range from 5% (PP5020), over 13-16% (PP5002, PP5022, PP5024, S5L870x) to 115% (MCF5249, MCF5250).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29883 a1c6a512-1295-4272-9138-f99709370657
2011-05-15 13:40:02 +00:00
Frank Gevaerts
322bbf7c00
Prefill the playlist name when creating a new playlist from the file browser. FS#12104 by Ophir Lojkine
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29882 a1c6a512-1295-4272-9138-f99709370657
2011-05-15 10:37:45 +00:00
Michael Sevakis
c949d69f4b
test_codec: Allow user to abort tests using target-defined TESTCODEC_EXITBUTTON.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29881 a1c6a512-1295-4272-9138-f99709370657
2011-05-15 01:41:25 +00:00
Jonas Häggqvist
7b3e05b346
Remove a tab character from the bulgarian translation
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29880 a1c6a512-1295-4272-9138-f99709370657
2011-05-14 20:09:49 +00:00
Robert Menes
7169e49798
Disktidy: New default files and folders for disktidy.config;
...
.fseventsd/ folders from OS X 10.6, and several system
files created by Mac OS 9 and under.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29879 a1c6a512-1295-4272-9138-f99709370657
2011-05-14 00:24:54 +00:00
Michael Hohmuth
593d520a00
mpegplayer: Adapt to new pause_rewind setting and apply it for all
...
kinds of pause, not just pause on headphone unplug.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29878 a1c6a512-1295-4272-9138-f99709370657
2011-05-13 22:51:10 +00:00
Michael Hohmuth
5aec3c2400
FS#11931 part 2: Allow a short rewind when playback is paused. Patch
...
by John Morris.
This patch adds an option to rewind the current track by a few seconds
when it is paused, irrespective of what has caused the pause. This is
useful for audiobooks and podcasts to allow the listener to recall
where the track was left off.
The patch subsumes the existing rewind-on-headphone-unplug feature and
extends it to all invocations of pause: play/pause button (or touch
area), headphone removal, and power-supply unplug in car-adapter
mode. It also subsumes FS#9448 (rewind on fade).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29876 a1c6a512-1295-4272-9138-f99709370657
2011-05-13 22:28:47 +00:00
Andree Buschmann
0a070c5420
Fix last known 'set but not used' warning by GCC 4.6.1.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29875 a1c6a512-1295-4272-9138-f99709370657
2011-05-13 19:40:17 +00:00
Andree Buschmann
d9098707f8
Fix another 'set but not used' warning.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29874 a1c6a512-1295-4272-9138-f99709370657
2011-05-13 19:34:11 +00:00