Commit graph

29275 commits

Author SHA1 Message Date
Bertrik Sikken
50ac7ca774 Fix warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30759 a1c6a512-1295-4272-9138-f99709370657
2011-10-15 20:51:12 +00:00
Bertrik Sikken
fe67a87885 plugins: another round of making local functions static
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30758 a1c6a512-1295-4272-9138-f99709370657
2011-10-15 20:38:08 +00:00
Björn Stenberg
2176fb38b6 Missed two spots.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30757 a1c6a512-1295-4272-9138-f99709370657
2011-10-15 19:47:59 +00:00
Björn Stenberg
0942e2a0f7 Changed the FOR_NB_SCREENS macro to always be a for loop that declares its own loop variable. This removes the need to declare this variable in the outer scope.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30756 a1c6a512-1295-4272-9138-f99709370657
2011-10-15 19:35:02 +00:00
Fred Bauer
f301ac05f9 Revert 30754 because the codecs won't build correctly, anyway.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30755 a1c6a512-1295-4272-9138-f99709370657
2011-10-15 00:44:35 +00:00
Fred Bauer
2537e46b0b undef DEBUG in pcm_record.c because it's broken and breaks DEBUG builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30754 a1c6a512-1295-4272-9138-f99709370657
2011-10-14 22:41:03 +00:00
Fred Bauer
08979ba835 Fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30753 a1c6a512-1295-4272-9138-f99709370657
2011-10-14 20:42:14 +00:00
Fred Bauer
de3e2e7efc Remove font_reset() which tried to fetch font *pfs from uninitiaized buflib_allocations. Change handle locking to track number of locks applied. Remove some duplicated code from internal_load_font()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30752 a1c6a512-1295-4272-9138-f99709370657
2011-10-14 20:35:52 +00:00
Peter D'Hoye
14ae2591d9 Update Dutch langfile
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30751 a1c6a512-1295-4272-9138-f99709370657
2011-10-14 19:58:35 +00:00
Fred Bauer
ee7de145f1 Don't make font available via buflib_allocations[] until fully loaded
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30750 a1c6a512-1295-4272-9138-f99709370657
2011-10-14 14:04:27 +00:00
Thomas Jarosch
eac291348d Fix off-by-one buffer error
The _GET_CPU macro will write a terminating zero at cpu[8].

Detected by cppcheck

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30749 a1c6a512-1295-4272-9138-f99709370657
2011-10-14 12:07:47 +00:00
Michael Sevakis
e4f64da35f i.MX31 avic: Fix super-stale comment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30748 a1c6a512-1295-4272-9138-f99709370657
2011-10-14 06:19:03 +00:00
Michael Sevakis
830531b7d4 i.MX31: Simplify nested interrupt handling. Give SVC mode its own stack by grabbing the FIQ stack that's just been taking up space. Just get rid of all FIQ setup since it isn't used anyway.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30747 a1c6a512-1295-4272-9138-f99709370657
2011-10-14 00:01:41 +00:00
Marcin Bukat
0dc76136ca rk27xx - add support for i2s in master mode. Based on patch by Andrew Ryabinin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30746 a1c6a512-1295-4272-9138-f99709370657
2011-10-13 07:09:44 +00:00
Marcin Bukat
e8e06f81f9 rk27xx - fix sys timer clock setup. Spotted by Andrew Ryabinin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30745 a1c6a512-1295-4272-9138-f99709370657
2011-10-13 07:09:33 +00:00
Bertrik Sikken
57304d1e0c Make a few local functions static
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30744 a1c6a512-1295-4272-9138-f99709370657
2011-10-12 20:47:41 +00:00
Bertrik Sikken
936fd540c0 Sansa AMSv2: set internal voltages PVDD1 and AVDD17 to the same value as the OF does.
* improves audio quality and increases maximum volume
* reduces pop on power-down
* reduces runtime slightly (about 3%)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30743 a1c6a512-1295-4272-9138-f99709370657
2011-10-12 20:09:19 +00:00
Marcin Bukat
bf056d5372 Switch to SYS mode on arm FS#12322 by me
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30741 a1c6a512-1295-4272-9138-f99709370657
2011-10-11 16:06:03 +00:00
Rafaël Carré
9055915645 fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30740 a1c6a512-1295-4272-9138-f99709370657
2011-10-10 01:50:28 +00:00
Rafaël Carré
b8f0b09916 mpegplayer sync_audio_setting(): simplify / clarify
fix fuze+ yellow

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30739 a1c6a512-1295-4272-9138-f99709370657
2011-10-10 01:39:56 +00:00
Jens Arnold
0aa12a9717 Another fix for audio_get_buffer() on hwcodec by Thomas Martitz.
Some functions must only be called when audio is already initialized, due to talk <-> audio interdependency, same as on swcodec.
This makes hwcodec boot and play music again. Voice menus also working again, talk clips not yet.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30738 a1c6a512-1295-4272-9138-f99709370657
2011-10-09 16:19:51 +00:00
Thomas Martitz
889690c0f6 Fix audio_get_buffer() implementation on hwcodec, to be similar to the swcodec one. Should make hwcodec bood again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30737 a1c6a512-1295-4272-9138-f99709370657
2011-10-09 12:30:37 +00:00
Thomas Martitz
aed39dbbaf Protect the move operation of buflib against IRQs.
This makes accessing the buffers with core_get_data() from
interrupt context safe, other buflib functions aren't really safe (yet).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30736 a1c6a512-1295-4272-9138-f99709370657
2011-10-09 12:27:35 +00:00
Bertrik Sikken
227c7af9b3 More de-tabification
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30735 a1c6a512-1295-4272-9138-f99709370657
2011-10-08 14:24:17 +00:00
Nils Wallménius
e52600eb67 de-tabify
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30734 a1c6a512-1295-4272-9138-f99709370657
2011-10-08 13:54:55 +00:00
Amaury Pouly
9d9de73693 usb: only declare usb_mmc_countdown on target which don't use the usb stack
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30733 a1c6a512-1295-4272-9138-f99709370657
2011-10-08 13:00:04 +00:00
Amaury Pouly
eb94b23db0 imx233/fuze+: declare 3d audio capability, update lang accordingly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30732 a1c6a512-1295-4272-9138-f99709370657
2011-10-08 12:29:37 +00:00
Thomas Jarosch
670da39093 Remove errorneous ; after "for" statement.
Detected by my upcoming cppcheck check

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30731 a1c6a512-1295-4272-9138-f99709370657
2011-10-08 11:11:22 +00:00
Nils Wallménius
000c706896 libtremor: build with -O2 for cf, gives a slight speedup on high bitrate files (~1%)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30730 a1c6a512-1295-4272-9138-f99709370657
2011-10-08 10:24:17 +00:00
Nils Wallménius
1b8f81d796 fix warning in debug code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30729 a1c6a512-1295-4272-9138-f99709370657
2011-10-08 10:18:04 +00:00
Nils Wallménius
e1ea13ee75 libtremor: hack to work around huge allocations for the comment packet in files with embedded album art. Should fix playback of such files on targets with large codec buffers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30728 a1c6a512-1295-4272-9138-f99709370657
2011-10-08 10:09:11 +00:00
Thomas Martitz
b779fcc3ed Fix exit/return behavior in the id3 info screen.Fixes returning immediately on touchscreen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30727 a1c6a512-1295-4272-9138-f99709370657
2011-10-07 22:59:06 +00:00
Bertrik Sikken
1195b2384f sansa clipplus: add version 01.02.16 to mkamsboot as a firmware that can be patched
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30726 a1c6a512-1295-4272-9138-f99709370657
2011-10-07 22:49:37 +00:00
Thomas Martitz
2a04202ffa Fix touchscreen behavior in time&date screen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30725 a1c6a512-1295-4272-9138-f99709370657
2011-10-07 22:30:09 +00:00
Thomas Martitz
5783505b99 Add two macros for char*-based pointer arithmetic and use it in font.c
This fixes errornous pointer addition (+ on a short*), which crashed in some situation.
Fixes FS#12317 and should hopefully get the clips booting again.

Thanks to Jonathan Gordon for spotting the bad pointer arithmetic.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30724 a1c6a512-1295-4272-9138-f99709370657
2011-10-07 19:29:18 +00:00
Thomas Martitz
42a33a7f70 Correct left-over assignment.
Also remove unnecessary NULL guard.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30723 a1c6a512-1295-4272-9138-f99709370657
2011-10-07 17:31:15 +00:00
Thomas Martitz
f86506675e Re-order things to fix red.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30722 a1c6a512-1295-4272-9138-f99709370657
2011-10-07 17:28:27 +00:00
Thomas Martitz
0acdc87df4 lists: Detect dirtyness (need to reinit) for each list, instead of once globally.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30721 a1c6a512-1295-4272-9138-f99709370657
2011-10-07 17:22:49 +00:00
Alex Parker
40529dd069 Manual: Small English improvement
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30720 a1c6a512-1295-4272-9138-f99709370657
2011-10-05 21:30:16 +00:00
Thomas Martitz
4478b25ede core_alloc: Provide a tiny test allocation, which can be freed for debug purposes.
This allocation can be freed in the buflib debug menu (select it to free).
Doing a another allocation, e.g. by selecting another item in this debug menu
will cause compaction (all allocs move).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30719 a1c6a512-1295-4272-9138-f99709370657
2011-10-05 18:32:19 +00:00
Thomas Martitz
6efb3f0760 Revert r30599 "Check for the magic file "/.rockbox/skin_buffer_size.txt" [...]"
It's not clear whether a user setting is the right/accepted fix for the skin buffer.
But even if it is, this implementation of it is considered bad, even by the author.

See http://www.rockbox.org/mail/archive/rockbox-dev-archive-2011-09/0054.shtml

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30718 a1c6a512-1295-4272-9138-f99709370657
2011-10-05 17:43:51 +00:00
Björn Stenberg
8c4941e561 Changed #warning to a TODO comment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30717 a1c6a512-1295-4272-9138-f99709370657
2011-10-05 14:42:18 +00:00
Björn Stenberg
725ed0ad3f Only alloc if necessary. Patch by Jonathan Gordon.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30716 a1c6a512-1295-4272-9138-f99709370657
2011-10-05 11:44:22 +00:00
Jeffrey Goode
a604345ae1 Clean up compressor setting code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30715 a1c6a512-1295-4272-9138-f99709370657
2011-10-05 04:44:56 +00:00
Fred Bauer
b683874e98 Do not font_unload() failed fonts when aborting a skin load
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30714 a1c6a512-1295-4272-9138-f99709370657
2011-10-05 04:19:00 +00:00
Bertrik Sikken
2e58d5935d Make function calc_db in peakmeter.c static
Remove some unneeded #include "peakmeter.h"

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30713 a1c6a512-1295-4272-9138-f99709370657
2011-10-04 21:25:26 +00:00
Bertrik Sikken
9bddc48b32 Remove unused function display_keylock_text
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30712 a1c6a512-1295-4272-9138-f99709370657
2011-10-04 20:34:15 +00:00
Bertrik Sikken
b01d8fa071 plugins: make local functions static for metronome, rockblox1d, wavview
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30711 a1c6a512-1295-4272-9138-f99709370657
2011-10-04 19:33:52 +00:00
Dominik Riebeling
d1e5c74ca8 Rockbox Utility: refresh some more dynamic strings after translation change.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30710 a1c6a512-1295-4272-9138-f99709370657
2011-10-04 18:30:27 +00:00
Jeffrey Goode
b76f197ff6 Silence build warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30708 a1c6a512-1295-4272-9138-f99709370657
2011-10-04 13:08:04 +00:00