Commit graph

28649 commits

Author SHA1 Message Date
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
40ff07140d Get android to build. Forgo optimized mixing code for app builds for the moment; work it out later.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30099 a1c6a512-1295-4272-9138-f99709370657
2011-06-29 07:47:29 +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
Thomas Jarosch
52a0017814 Forgot to update the short log for (unofficial) maemo build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30091 a1c6a512-1295-4272-9138-f99709370657
2011-06-28 18:01:29 +00:00
Thomas Jarosch
51df0c9f22 Prepare new, unofficial pandora build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30090 a1c6a512-1295-4272-9138-f99709370657
2011-06-28 17:33:04 +00:00
Thomas Jarosch
df0b4bfedf Prepare 3.9 release for maemo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30089 a1c6a512-1295-4272-9138-f99709370657
2011-06-28 17:19:43 +00:00
Alex Parker
787537caa3 We have a 3.9 release, update builds.pm
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30086 a1c6a512-1295-4272-9138-f99709370657
2011-06-27 22:01:42 +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
Dominik Riebeling
a3875d7dfe Rockbox Utility: fix proxy password getting lost (FS#12166).
The proxy settings are stored as string representation in the configuration
file. If username / password contains characters used as separators parsing the
string again will cause wrong results. Percent-encode them before storing, and
parse it as percent-encoded string when reading it back.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30071 a1c6a512-1295-4272-9138-f99709370657
2011-06-25 17:21:06 +00:00
Dominik Riebeling
dfd4183a7d Fix bootloader uninstallation on Gigabeat F / X.
The "file" bootloader installation method usually can uninstall the bootloader.
Some upgrade methods (like the Iaudio players) remove the bootloader file
placed on the player after upgrading so those can't uninstall the bootloader.
Instead of rejecting uninstallation for all players using this method check the
current bootloader and only display an error if no suitable bootloader is
found (which would happen in the Iaudio case).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30070 a1c6a512-1295-4272-9138-f99709370657
2011-06-25 17:21:01 +00:00
Dominik Riebeling
c891ddb506 Fix a source string whitespace error.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30069 a1c6a512-1295-4272-9138-f99709370657
2011-06-25 17:20:56 +00:00
Bertrik Sikken
f0a601dab6 Define an LCD_DPI for the mini2440 (this change makes the mini2440 compile again)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30068 a1c6a512-1295-4272-9138-f99709370657
2011-06-25 15:29:32 +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
Björn Stenberg
7ba8871d5b Fixed broken regex
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30057 a1c6a512-1295-4272-9138-f99709370657
2011-06-23 15:09:04 +00:00
Jens Arnold
a7bedc5e4f Make genlang rewrite english.list if it exists but is older than english.lang
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30056 a1c6a512-1295-4272-9138-f99709370657
2011-06-23 06:42:08 +00:00
Andree Buschmann
dc0abc7744 Fix build problems for win32 cross compilation and cygwin which were introduced with r29983.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30052 a1c6a512-1295-4272-9138-f99709370657
2011-06-22 17:46:26 +00:00
Thomas Martitz
88234fa921 Fix loading dircache stat on h100. Relocating the data was broken due to struct alignment problems.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30051 a1c6a512-1295-4272-9138-f99709370657
2011-06-22 14:18:22 +00:00
Björn Stenberg
35cd408196 Added NODEPS define to skip recompilation for zip and apk builds. Usage: make zip NODEPS=1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30050 a1c6a512-1295-4272-9138-f99709370657
2011-06-22 14:14:49 +00:00
Frank Gevaerts
7763869e10 Workaround/fix (I'm not sure!) for buffer_alloc() returning unaligned addresses in case other parts of the code increase audiobuf behind buffer.c's back.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30049 a1c6a512-1295-4272-9138-f99709370657
2011-06-21 22:04:17 +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
2b61f7ce64 Use ALIGN_UP() macro for alignment, in a more correct way also.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30041 a1c6a512-1295-4272-9138-f99709370657
2011-06-20 20:12:58 +00:00
Thomas Martitz
287d69d7c4 Dircache: A bit of follow-up code cleanup suggested by Amaury Pouly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30040 a1c6a512-1295-4272-9138-f99709370657
2011-06-20 20:12:52 +00:00
Thomas Martitz
3b29aa49d3 Optimize new dircache_copy_path so that the helper (strlcat) doesn't need to walk through the entire string repeatedly.
Also fix a off-by-one.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30039 a1c6a512-1295-4272-9138-f99709370657
2011-06-20 20:12:47 +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
0b9c57d33e Dircache: Move struct maindata declaration to dircache.c and actually check for DIRCACHE_MAGIC when loading from disk.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30037 a1c6a512-1295-4272-9138-f99709370657
2011-06-20 20:12:35 +00:00
Thomas Martitz
52abbb186d Dircache: Change internal cache layout.
The dircache_entry structs are now allocated subsequently from the front, allowing to treat them as an array.  The d_names are allocated from the back (in reverse order, growing downwards).
This allows the cache to be moved around (needed for my buflib gsoc project). It is utilized when loading the cache from disk (on the h100), now the pointer to the cache begin doesn't need to be the same across reboots anymore.

This should save a bit memory usage, since there's no need for aligning padding bytes after d_names anymore.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30036 a1c6a512-1295-4272-9138-f99709370657
2011-06-20 20:12:30 +00:00
Thomas Martitz
b67f4a1824 Fix dircache_size calculation bug introcuced 3 revisions ago.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30035 a1c6a512-1295-4272-9138-f99709370657
2011-06-20 20:12:26 +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
38da400e58 Dircache: Rework and simplify dircache_copy_path().
Use a recursive helper function with strlcat to build up the path backwards. This way the tree doesn't need to be walked twice and no extraneous size calculation is needed.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30033 a1c6a512-1295-4272-9138-f99709370657
2011-06-20 20:12:10 +00:00
Thomas Martitz
60e4f20c38 Dircache: Remove dircache_entry::name_len.
It's reduntant, and enlarges the dircache unnecessarily. Saves 4 byte per file in the whole filesystem.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30032 a1c6a512-1295-4272-9138-f99709370657
2011-06-20 20:07:35 +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