Commit graph

28353 commits

Author SHA1 Message Date
Jonathan Gordon
2271995517 invert the quickscreen setting direction on wheel targets for settings which are number lists so pressing up makes it bigger (i.e contrast). fixes http://forums.rockbox.org/index.php/topic,27778.0.html
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29772 a1c6a512-1295-4272-9138-f99709370657
2011-04-24 07:04:52 +00:00
Andree Buschmann
6bab4e8dc0 get_sample_info() has been removed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29771 a1c6a512-1295-4272-9138-f99709370657
2011-04-23 22:28:47 +00:00
Andree Buschmann
7d1de584fe Minor speed optimization to m4a lookup table build up.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29770 a1c6a512-1295-4272-9138-f99709370657
2011-04-23 20:43:47 +00:00
Bertrik Sikken
69e1647d2d iap: reduce code duplication in iap autobaud code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29769 a1c6a512-1295-4272-9138-f99709370657
2011-04-23 09:12:28 +00:00
Bertrik Sikken
55a7a31ce3 Split off target-specific parts from firmware/drivers/serial.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29768 a1c6a512-1295-4272-9138-f99709370657
2011-04-23 08:23:07 +00:00
Bertrik Sikken
0dfce1972b ipod6g: make functions and variables static where possible
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29767 a1c6a512-1295-4272-9138-f99709370657
2011-04-22 21:39:17 +00:00
Dominik Riebeling
d905754bdf Correct revision replacement string gotten replaced by svn itself.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29766 a1c6a512-1295-4272-9138-f99709370657
2011-04-22 20:20:40 +00:00
Andree Buschmann
71e35542dc Fix issues with iPod nano 2G displays reported on the forums. The voltage supply seems to be too low for several LCDs. The buzz of the display is still significantly lower than with OF.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29764 a1c6a512-1295-4272-9138-f99709370657
2011-04-22 19:06:16 +00:00
Dominik Riebeling
3467ee8ddd Fix SAPI default speed being way too fast.
The settings currently can't differentiate between default values for different
subitems (i.e. different TTS systems). As a result the default value returned
for SAPI speed was way out of bounds, leading to the upper limit getting used.
Work around this limitation by checking the value for bounds and use a sensible
value in that case.



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29763 a1c6a512-1295-4272-9138-f99709370657
2011-04-22 18:58:01 +00:00
Dominik Riebeling
c6a8efb8af Implement simple run for non-multithreaded TTS.
Since setting the maximum number of threads to use to 1 causes sporadically
files missing add a simple alternative implementation that doesn't use futures.
This is a stop-gap solution to fix voice files not creating (reported on
Windows with SAPI voices, see FS#11994). Encoding doesn't seem to be affected
by the problem and is unchanged.



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29762 a1c6a512-1295-4272-9138-f99709370657
2011-04-22 17:59:43 +00:00
Dominik Riebeling
afa6afc3bc Better hilight detected item after autodetection.
To have a better indication what player has been detected and to keep this
information in view make the entry for the detected player bold. This also
(partly) addresses FS#10694.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29761 a1c6a512-1295-4272-9138-f99709370657
2011-04-22 17:39:05 +00:00
Dominik Riebeling
4d25fb8fe1 Fix "Test TTS" button not working.
Make sure the temporary file doesn't get destroyed before it has been played.
Fixes the "Test TTS" button not giving a test playback anymore for TTS systems
that cannot do the playback themselves.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29760 a1c6a512-1295-4272-9138-f99709370657
2011-04-22 15:38:41 +00:00
Dominik Riebeling
88e68ec5b0 Make TTS names translatable and change Sapi to SAPI.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29759 a1c6a512-1295-4272-9138-f99709370657
2011-04-22 13:32:13 +00:00
Dominik Riebeling
2e990a6827 Use System TTS if none is set.
If no TTS has been selected previously default to the system one if any.
Otherwise use espeak.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29758 a1c6a512-1295-4272-9138-f99709370657
2011-04-22 13:32:04 +00:00
Bertrik Sikken
d038db9420 iap: introduce cmd_ok_mode0 and cmd_ok_mode4 functions to reduce code duplication
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29757 a1c6a512-1295-4272-9138-f99709370657
2011-04-21 22:36:10 +00:00
Dominik Riebeling
8f8f9a5bde Use Latin Modern font family for the manual.
The Latin Modern family uses T1 coding instead of the OT1 coding used by
Computer Modern. Due to this it isn't necessary to emulate characters like
umlauts which makes them searchable.

As a side effect this also addresses FS#12057.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29756 a1c6a512-1295-4272-9138-f99709370657
2011-04-21 21:52:27 +00:00
Bertrik Sikken
9ea20660ca iap: split iap_handlepkt into a function per mode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29755 a1c6a512-1295-4272-9138-f99709370657
2011-04-21 21:50:39 +00:00
Thomas Martitz
c77b014283 Use mkdir -p in the previous commit. Thanks sideral for spotting.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29754 a1c6a512-1295-4272-9138-f99709370657
2011-04-21 09:35:35 +00:00
Thomas Martitz
f29c9d2289 Android: Fix creation of debug key if ~/.android doesn't exist.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29753 a1c6a512-1295-4272-9138-f99709370657
2011-04-21 09:04:04 +00:00
Thomas Jarosch
c6e6710bcf Update pandora packaging file
- Add package tag so we can differentiate
  between packager and original code authors

- Add GPLv2 license tag + "other" license tag

- Misc cleanup and made sure it validates
  against the latest PXML xml schema.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29752 a1c6a512-1295-4272-9138-f99709370657
2011-04-20 20:02:45 +00:00
Nils Wallménius
12a60efca9 FS#12072 Improved and updated translation of Romaneste by Sergiu Rotaru.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29751 a1c6a512-1295-4272-9138-f99709370657
2011-04-20 12:34:41 +00:00
Andree Buschmann
2358fabb70 Optimization to latest aac decoder changes. Significantly reduce loop count in m4a_check_sample_offset() during standard playback. Before this change the loop count increased with each decoded chunk and for each frame.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29750 a1c6a512-1295-4272-9138-f99709370657
2011-04-19 05:55:54 +00:00
Bertrik Sikken
8d1d2f8982 AMS: consistently use bitclr32/bitset32/bitmod32 for register CCU_IO (instead of using |= or &= )
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29748 a1c6a512-1295-4272-9138-f99709370657
2011-04-18 21:13:40 +00:00
Amaury Pouly
79c6aca566 sbtools: fortify code against weird elf files with no string table and/or no sections/programs headers !
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29747 a1c6a512-1295-4272-9138-f99709370657
2011-04-18 20:27:23 +00:00
Bertrik Sikken
c2ca4bec9d AMSv1 sd: work-around for detection problem with some sd cards (delay after switching to high-speed)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29746 a1c6a512-1295-4272-9138-f99709370657
2011-04-18 20:08:47 +00:00
Andree Buschmann
68199cc195 Major rework of the m4a parser for aac/alac playback, seek and resume support. As a result the memory consumption was drastically reduced. This allows to play several files with long duration -- especially on low memory targets. The change builds a lookup table from m4a's sample_to_chunk[] and chunk_offset[] and completely removes the allocation of the large tables chunk_offset[] and sample_byte_size[]. To be able to remove reading and allocating sample_byte_offset[] the aac and alac decoder now buffer a fixed amount of bytes for each frame. The generated lookup table is used for seek/resume and skipping bytes in empty chunks (aac decoder only). The precision for seek/resume is somewhat lower but still equals 0.5 sec for the worst case. Fixes FS#8923.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29745 a1c6a512-1295-4272-9138-f99709370657
2011-04-18 19:12:51 +00:00
Amaury Pouly
b6a6809879 sbtools: document a bit the command file format
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29744 a1c6a512-1295-4272-9138-f99709370657
2011-04-17 23:40:14 +00:00
Amaury Pouly
84c70b2c5b elftosb: implement encryption support; now fully working
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29743 a1c6a512-1295-4272-9138-f99709370657
2011-04-17 23:28:18 +00:00
Amaury Pouly
b2c59541b4 sbtoelf: fix to handle unencrypted files (minor tweak)
elftosb: properly generate sb file (encryption not implemented yet)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29742 a1c6a512-1295-4272-9138-f99709370657
2011-04-17 22:30:09 +00:00
Amaury Pouly
e3fe3956f6 elftosb: more code toward sb production
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29741 a1c6a512-1295-4272-9138-f99709370657
2011-04-17 18:37:30 +00:00
Amaury Pouly
8bff25945b sbtoslf: command size doesn't include itself, but section can be padded with random data
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29740 a1c6a512-1295-4272-9138-f99709370657
2011-04-17 18:37:27 +00:00
Amaury Pouly
8a8d77b8e5 sbtoelf: include a raw command mode to see hidden command used by the bootrom (tag and nop)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29739 a1c6a512-1295-4272-9138-f99709370657
2011-04-17 18:37:23 +00:00
Amaury Pouly
c4cb4cca47 sbtools: move internal elf definition to elf.c, implement elf reading
sbtoelf: generate a correct section name for undef and string table sections
elftosb: static'ify functions, add cmd file to sb file conversion

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29738 a1c6a512-1295-4272-9138-f99709370657
2011-04-17 15:49:58 +00:00
Bertrik Sikken
204a2e920a Move declaration of global function cfg_string_to_int to header file settings.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29737 a1c6a512-1295-4272-9138-f99709370657
2011-04-17 11:23:48 +00:00
Bertrik Sikken
837b8ccce0 Remove duplicate #include in skin_parser.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29736 a1c6a512-1295-4272-9138-f99709370657
2011-04-17 06:58:28 +00:00
Amaury Pouly
e57e4c79c1 sbtools: add elftosb tool, yet to be finished (parsing of keys and command files done)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29735 a1c6a512-1295-4272-9138-f99709370657
2011-04-17 01:43:52 +00:00
Amaury Pouly
e2f8fbfb16 sbtools: update Makefile; fix whitespaces
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29734 a1c6a512-1295-4272-9138-f99709370657
2011-04-17 01:43:48 +00:00
Amaury Pouly
f6208bde46 Rename sbinfo to sbtools and sbinfo.c to sbtoelf.c; preparing for future elftosb
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29733 a1c6a512-1295-4272-9138-f99709370657
2011-04-17 01:43:44 +00:00
Amaury Pouly
02118edb99 sbinfo: make the time calculation clearer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29732 a1c6a512-1295-4272-9138-f99709370657
2011-04-17 01:43:40 +00:00
Amaury Pouly
709856621a sbinfo: use a define instead of hardcoded values
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29731 a1c6a512-1295-4272-9138-f99709370657
2011-04-17 01:43:30 +00:00
Thomas Jarosch
7733ab942f Increase pandora build version
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29730 a1c6a512-1295-4272-9138-f99709370657
2011-04-16 21:42:57 +00:00
Thomas Jarosch
f501367682 Update maemo build changelog
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29729 a1c6a512-1295-4272-9138-f99709370657
2011-04-16 21:02:49 +00:00
Thomas Jarosch
e57d3b292a Define LCD dpi for n900, n8xx and the pandora
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29728 a1c6a512-1295-4272-9138-f99709370657
2011-04-16 20:27:52 +00:00
Andree Buschmann
5775159462 Refactor aac decoder as preparation for upcoming m4a changes. The aac decoder does not need to use get_sample_info() to gather frame size or the number of consumed bytes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29727 a1c6a512-1295-4272-9138-f99709370657
2011-04-16 19:39:01 +00:00
Frank Gevaerts
a96a72b7b0 Since r29700 changed the way the backdrop setting works, the default needs to be updated too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29726 a1c6a512-1295-4272-9138-f99709370657
2011-04-16 19:26:21 +00:00
Andree Buschmann
8055b48b46 Fix yellow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29725 a1c6a512-1295-4272-9138-f99709370657
2011-04-16 19:26:07 +00:00
Andree Buschmann
19f9fd0f5f Refactor alac decoder as preparation for upcoming m4a changes. The alac decoder does not need to use get_sample_info() to gather frame size or the number of consumed bytes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29724 a1c6a512-1295-4272-9138-f99709370657
2011-04-16 19:08:50 +00:00
Amaury Pouly
e4dd514e6f sbinfo: move more things to sb.h, rewrite code to use structures instead of hardcoded offsets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29723 a1c6a512-1295-4272-9138-f99709370657
2011-04-16 18:22:42 +00:00
Amaury Pouly
d9b050ee2b sbinfo: move sb specific bits of its own header
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29722 a1c6a512-1295-4272-9138-f99709370657
2011-04-16 18:22:37 +00:00
Thomas Jarosch
ff1f2e2415 Fix premature idle shutdown on RaaA after last track finished playing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29721 a1c6a512-1295-4272-9138-f99709370657
2011-04-16 16:57:35 +00:00