Commit graph

27887 commits

Author SHA1 Message Date
Karl Kurbjun
4d12904439 M:Robe 500: Use bit modifiers more.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29247 a1c6a512-1295-4272-9138-f99709370657
2011-02-08 05:53:30 +00:00
Karl Kurbjun
a014191e5e Fix battery charging.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29246 a1c6a512-1295-4272-9138-f99709370657
2011-02-08 05:51:18 +00:00
Magnus Holmgren
a91881d755 Update Swedish translation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29245 a1c6a512-1295-4272-9138-f99709370657
2011-02-07 20:35:10 +00:00
Nils Wallménius
c9038bf9ae Remove incorrectly deprecated LANG_REC_SIZE phrase to not be confusing. Having only the *: none target is the same as deleting the phrase so this does not change the string order further. Put a note in the header in english.lang with some more info on deprecation of strings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29244 a1c6a512-1295-4272-9138-f99709370657
2011-02-07 20:26:10 +00:00
Michael Sparmann
597e01bd08 Fix some evil whitespace
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29243 a1c6a512-1295-4272-9138-f99709370657
2011-02-07 18:54:33 +00:00
Michael Sparmann
91f9b0b8ca iPod Classic: Fix hold switch glitches
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29242 a1c6a512-1295-4272-9138-f99709370657
2011-02-07 18:53:17 +00:00
Michael Sparmann
87da25c87c S5L8702: Power down I2C while it's unused
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29241 a1c6a512-1295-4272-9138-f99709370657
2011-02-07 18:43:05 +00:00
Karl Kurbjun
37e2c9c313 DM320: Fix app.lds to reduce binary image size.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29240 a1c6a512-1295-4272-9138-f99709370657
2011-02-07 04:55:31 +00:00
Jens Arnold
8c38983b22 Fix standalone demac tool build.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29239 a1c6a512-1295-4272-9138-f99709370657
2011-02-06 23:18:30 +00:00
Karl Kurbjun
a6223468eb Keep the clocks enabled once the LCD DMA transfer completes. It kills the PCM driver if they are disabled.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29238 a1c6a512-1295-4272-9138-f99709370657
2011-02-06 21:09:03 +00:00
Karl Kurbjun
fff80b038c M:Robe 500 bootloader: change the order of the backlight/lcd setup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29237 a1c6a512-1295-4272-9138-f99709370657
2011-02-06 21:04:51 +00:00
Karl Kurbjun
c3142e22ea Remove reference to pin setup function.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29236 a1c6a512-1295-4272-9138-f99709370657
2011-02-06 21:01:45 +00:00
Karl Kurbjun
8f80adf4d7 Remove some initializations that are taken care of in the bootloader or crt0 setup. Agressive timings are #if 0'd since they are unstable, but may later be added to board setup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29235 a1c6a512-1295-4272-9138-f99709370657
2011-02-06 20:58:58 +00:00
Karl Kurbjun
9a20d60bfb DM320 SPI: Add a bunch of updates to the SPI driver.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29234 a1c6a512-1295-4272-9138-f99709370657
2011-02-06 20:54:50 +00:00
Karl Kurbjun
acffca89a9 M:Robe 500 USB: Remove EMIF and pin initialization.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29233 a1c6a512-1295-4272-9138-f99709370657
2011-02-06 20:47:39 +00:00
Karl Kurbjun
fdc05276fe M:Robe 500 Power: Remove pin initializations.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29232 a1c6a512-1295-4272-9138-f99709370657
2011-02-06 20:46:37 +00:00
Karl Kurbjun
916a9f0969 M:Robe 500 Backlight: Add setup based on OF - purpose of operations are a mystery, but needed when loading from flash.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29231 a1c6a512-1295-4272-9138-f99709370657
2011-02-06 20:44:57 +00:00
Karl Kurbjun
f65365fc75 M:Robe 500 ADC: Remove pin initializations.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29230 a1c6a512-1295-4272-9138-f99709370657
2011-02-06 20:41:49 +00:00
Karl Kurbjun
e932ceb78a M:Robe 500 ATA: Remove pin initializations.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29229 a1c6a512-1295-4272-9138-f99709370657
2011-02-06 20:37:22 +00:00
Karl Kurbjun
161f4465db DM320: Clock source selection for timer happens in bootloader.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29228 a1c6a512-1295-4272-9138-f99709370657
2011-02-06 20:36:00 +00:00
Karl Kurbjun
52f985ef6c DM320 UART: Remove more pin initializations.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29227 a1c6a512-1295-4272-9138-f99709370657
2011-02-06 20:34:13 +00:00
Karl Kurbjun
ff5d8ca522 Fix ZVM build.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29226 a1c6a512-1295-4272-9138-f99709370657
2011-02-06 20:26:33 +00:00
Karl Kurbjun
9a8ff746f2 DM320: Update boot linker script (right now it is linked against flash). Include board initialization for M:Robe 500.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29225 a1c6a512-1295-4272-9138-f99709370657
2011-02-06 20:17:15 +00:00
Karl Kurbjun
9241210050 DM320: Re-write of crt0.S and update to app linker script.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29224 a1c6a512-1295-4272-9138-f99709370657
2011-02-06 20:10:45 +00:00
Karl Kurbjun
02dbde7097 M:Robe 500: Add a bunch of updates for the LCD. Remove some pin initializations and disable clocks when DMA is complete.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29223 a1c6a512-1295-4272-9138-f99709370657
2011-02-06 20:06:10 +00:00
Karl Kurbjun
add38e89b4 M:Robe 500: Remove references to files that are not ready for commit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29222 a1c6a512-1295-4272-9138-f99709370657
2011-02-06 19:45:19 +00:00
Karl Kurbjun
8e8f700842 Add ARMv4 16-bit(set, mod, clr) operations used on DM320.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29221 a1c6a512-1295-4272-9138-f99709370657
2011-02-06 19:43:45 +00:00
Karl Kurbjun
50c547c640 M:Robe 500 and TSC2100: Add more to the initialization. Some GPIO initializations are now removed - this will be hanled by the OF or bootloader (when loading from flash).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29220 a1c6a512-1295-4272-9138-f99709370657
2011-02-06 19:33:40 +00:00
Karl Kurbjun
fafd50938c DM320 DSP PCM handler: Use initialization library to make sure that code starts up reliably. Also make some variables volatile so code can be easier debugged.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29219 a1c6a512-1295-4272-9138-f99709370657
2011-02-06 19:28:46 +00:00
Karl Kurbjun
52b0605fb4 TSC2100: Sample multiple times and provide an average to clean up touch detection.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29218 a1c6a512-1295-4272-9138-f99709370657
2011-02-06 19:26:31 +00:00
Karl Kurbjun
055cb9af50 M:Robe 500: Clean up warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29217 a1c6a512-1295-4272-9138-f99709370657
2011-02-06 19:17:57 +00:00
Karl Kurbjun
2db1fa7e0c M:Robe 500: Update current numbers and add a comment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29216 a1c6a512-1295-4272-9138-f99709370657
2011-02-06 19:15:54 +00:00
Karl Kurbjun
47c995be0a DM320: Add CPU revisions as defines.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29215 a1c6a512-1295-4272-9138-f99709370657
2011-02-06 19:14:09 +00:00
Karl Kurbjun
243aedec2d M:Robe 500 TSC2100 Debug: Use hex values instead of binary.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29214 a1c6a512-1295-4272-9138-f99709370657
2011-02-06 19:11:29 +00:00
Michael Sevakis
8bfaac7672 WM8978: Turn off AMUTE since it can cause annoying clicking with audio that produces runs of zeros (esp. emulators and synths) and makes it worse when starting/stopping pcm.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29213 a1c6a512-1295-4272-9138-f99709370657
2011-02-06 02:01:13 +00:00
Andree Buschmann
ae019419ff Use the very large IRAM of S5L870x to speed up AAC-HE by ~1-5%.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29212 a1c6a512-1295-4272-9138-f99709370657
2011-02-05 20:22:12 +00:00
Andree Buschmann
8033cb6250 Use MEM_ALIGN_ATTR in libfaad. Remove global array and re-use existing one.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29211 a1c6a512-1295-4272-9138-f99709370657
2011-02-05 19:50:16 +00:00
Thomas Jarosch
f3adc77fd5 Added thomasjfox to COMMITTERS. Woot!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29210 a1c6a512-1295-4272-9138-f99709370657
2011-02-05 18:06:15 +00:00
Andree Buschmann
8b540fa9d9 Speed up AAC-HE SBR by 2% on S5L8701. Use MEM_ALIGN on critical arrays and avoid stalls in asm code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29209 a1c6a512-1295-4272-9138-f99709370657
2011-02-05 14:29:47 +00:00
Michael Sevakis
62fb090ac4 Fix #11897 - Multiple 'divide by zero' while playing particular APE on Clip+. Problem and solution observed and checked on Gigabeat S by myself. Fix submitted by Mikhail Titov resolves it. range_decode_short was declared as returing 'int short' rather than 'unsigned short' resulting in unwanted sign extension.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29208 a1c6a512-1295-4272-9138-f99709370657
2011-02-05 09:59:36 +00:00
Dominik Riebeling
988b3083df Replace list of languages with map.
- Use ISO codes as keys for voice languages instead of enumeration.
- Instead of trying to select a suitable voicefile language from the UI
  language use the ISO codes stored as UI language and match against the
  mapping.
- Always store the selected UI language. Fixes the voicefile creation
  language lookup to fail if the language used is the system language.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29207 a1c6a512-1295-4272-9138-f99709370657
2011-02-04 23:28:34 +00:00
Dominik Riebeling
3419422c23 systrace: convert input strings using local codepage.
The message handler uses C strings so no information about encoding is
present. Since an 8 bit encoding is used convert them to make the
systrace window show non-ASCII characters properly.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29206 a1c6a512-1295-4272-9138-f99709370657
2011-02-04 21:08:59 +00:00
Michael Sevakis
a2e4a51825 AMSv2 USB: Remove usb_enable call that occurs after core is already initialized and the usb_disable call while in ISR. Also, no point in panicing over a disconnect.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29205 a1c6a512-1295-4272-9138-f99709370657
2011-02-04 05:46:55 +00:00
Andree Buschmann
d3934185ac Correct the metronome keymap in the manual. Better describe buttons/actions in metronome help text. Closes FS#11773.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29204 a1c6a512-1295-4272-9138-f99709370657
2011-02-03 21:20:50 +00:00
Andree Buschmann
5a2421a0de Follow up on r29199. Move new codec types to the end of the list.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29203 a1c6a512-1295-4272-9138-f99709370657
2011-02-03 11:43:45 +00:00
Andree Buschmann
7e63bfd2ab Correctly re-initialize wma decoder on next track. This fixes strange observed issues (noise, crashes) which only could be solved through re-entering the wma codec.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29202 a1c6a512-1295-4272-9138-f99709370657
2011-02-03 11:05:33 +00:00
Andree Buschmann
4e74494d57 Changes in m4a parser: The metadata (e.g. sampling rate) for alac and aac must read from their dedicated metadata atom. Otherwise there might be wrong settings used. This patch also adds (commented) code which enables parsing for an alac metadata atom if neccessary. I have several sample files which require such parsing to find the metadata atom. Fixes FS#11719.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29201 a1c6a512-1295-4272-9138-f99709370657
2011-02-03 09:23:04 +00:00
Andree Buschmann
6b476e7bec Roll back unintentionally submitted file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29200 a1c6a512-1295-4272-9138-f99709370657
2011-02-03 08:36:34 +00:00
Andree Buschmann
7345ac124e Submit FS#11918: Add 2 more codec types to be able to differentiate between AAC / AAC-HE and MPC SV7 / SV8. Additionally handle ATARI soundfiles in get_codec_base_type() as intended.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29199 a1c6a512-1295-4272-9138-f99709370657
2011-02-03 08:28:23 +00:00
Michael Sevakis
1bb3d61ef3 MPEGPlayer: Try out a different frame drop scheme meant to skip in a more uniform way rather than running up late and jumping forward; will often drop more in long term to keep up in short term. Some other obscure fixes included: wait for 2 ref pics before decoding B-pics again after P or I frame drop or seeking (issue with open GOPs); draw the frame the decoder already has when beginning playback after a seek; rename a few vars.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29198 a1c6a512-1295-4272-9138-f99709370657
2011-02-03 03:14:12 +00:00