Boris Gjenero
14c2e677fd
Make more local functions static.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31395 a1c6a512-1295-4272-9138-f99709370657
2011-12-21 17:36:18 +00:00
Nils Wallménius
2c85013434
libtremor: fix memory corruption bug introduced in r30728 that could cause crashes or playback failures for some album art infested files. Closes FS#12448.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31393 a1c6a512-1295-4272-9138-f99709370657
2011-12-21 15:47:21 +00:00
Marcin Bukat
01415ad1b7
AGC: respect gain steps defined in audiohw_settings[]
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31387 a1c6a512-1295-4272-9138-f99709370657
2011-12-20 22:02:35 +00:00
Bertrik Sikken
e6c85a6735
local variable app/gui/icon.c/iconsets can be made static
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31386 a1c6a512-1295-4272-9138-f99709370657
2011-12-20 21:05:56 +00:00
Bertrik Sikken
67eefad6a5
Disable unused functions for archos-player in apps/screen_access.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31385 a1c6a512-1295-4272-9138-f99709370657
2011-12-20 20:57:16 +00:00
Bertrik Sikken
cb972abc48
Another round of making local functions static
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31384 a1c6a512-1295-4272-9138-f99709370657
2011-12-20 20:35:28 +00:00
Michael Chicoine
dafbcadd36
Add missing strings to American English
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31378 a1c6a512-1295-4272-9138-f99709370657
2011-12-20 15:55:46 +00:00
Nick Peskett
1a4aea3ad8
Renamed embed_cuesheet struct to embedded_cuesheet.
...
A bit of a compromise; though the struct has been renamed, the field
within the mp3entry struct is still called embed_cuesheet.
This is for consistency with the embed_albumart field.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31375 a1c6a512-1295-4272-9138-f99709370657
2011-12-20 08:32:34 +00:00
Nick Peskett
1b781df59c
Convert hard-coded unicode byte order mark values to constants.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31374 a1c6a512-1295-4272-9138-f99709370657
2011-12-20 08:15:36 +00:00
Boris Gjenero
fdc29d0ea4
Add more INIT_ATTR and add config.h includes to header files with INIT_ATTR.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31370 a1c6a512-1295-4272-9138-f99709370657
2011-12-19 20:12:52 +00:00
Frank Gevaerts
e6e2ae86ea
There's no good reason for requiring the mr500 remote just to run battery_bench
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31368 a1c6a512-1295-4272-9138-f99709370657
2011-12-19 19:53:50 +00:00
Andree Buschmann
07405841c6
FS#12463: Improve performance for multichannel FLAC decoding. Speeds up decoding by 3 MHz on PP5022, 6-7 MHz on S5L870x and 11-12 MHz on MCF5250. 5.1-88kHz-files still do not decode in realtime on Coldfire and PP502x.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31367 a1c6a512-1295-4272-9138-f99709370657
2011-12-19 19:46:10 +00:00
Andree Buschmann
9b920734be
Fix bitmap scaling for Coldfire. Closes FS#12411.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31366 a1c6a512-1295-4272-9138-f99709370657
2011-12-19 19:17:13 +00:00
Thomas Martitz
287454de2e
Hosted/linux: Add process/cpu info screen to the debug menu.
...
The new menu is very helpful on RaaA, but also shown in the sim. It shows
the process cpu usage, process' time stats (user,sys,real) and the cpu
frequency stats.
It uses a thread to sample the data, however the thread is not created
until the menu is visited for the first time.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31364 a1c6a512-1295-4272-9138-f99709370657
2011-12-19 15:42:04 +00:00
Nick Peskett
f53c04b766
Make embedded cuesheet type 1 text encoding check slightly more efficient
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31363 a1c6a512-1295-4272-9138-f99709370657
2011-12-19 15:19:07 +00:00
Nick Peskett
dc07503ad4
I forgot to flip the true response from memcmp
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31350 a1c6a512-1295-4272-9138-f99709370657
2011-12-18 02:08:10 +00:00
Nick Peskett
6aa070268f
Type 1 text encoding uses BOM to decide byte order, type 2 has no BOM and is BE.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31349 a1c6a512-1295-4272-9138-f99709370657
2011-12-18 01:43:55 +00:00
Nick Peskett
ae90b29dcb
Hard code the cuesheet offset for double byte encoding, rather than pointless calculation.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31348 a1c6a512-1295-4272-9138-f99709370657
2011-12-18 00:00:41 +00:00
Bertrik Sikken
8c19dcd598
FS#12370: Initial RDS support for Si4701/Si4703 tuner (beast and clip zip)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31346 a1c6a512-1295-4272-9138-f99709370657
2011-12-17 20:24:19 +00:00
Boris Gjenero
17ed3253fc
Add const to global pointers to strings.
...
When a global pointer is not declared as constant, gcc will put it in
memory. Getting the address of the string it points to requires loading
the address of the pointer and then loading the pointer. When the pointer
is declared constant, the address of the string is loaded directly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31345 a1c6a512-1295-4272-9138-f99709370657
2011-12-17 18:31:55 +00:00
Nils Wallménius
f0f24a3b4a
Fix building of test_codec
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31343 a1c6a512-1295-4272-9138-f99709370657
2011-12-17 13:43:54 +00:00
Michael Sevakis
6a67707b5e
Commit to certain names for cache coherency APIs and discard the aliases.
...
Wouldn't surprise me a bit to get some non-green.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31339 a1c6a512-1295-4272-9138-f99709370657
2011-12-17 07:27:24 +00:00
Nick Peskett
a47982eb60
Fix red?
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31322 a1c6a512-1295-4272-9138-f99709370657
2011-12-16 10:24:21 +00:00
Nick Peskett
02fd314a0b
FS #12419 : Support for embedded cuesheets.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31321 a1c6a512-1295-4272-9138-f99709370657
2011-12-16 10:09:41 +00:00
Boris Gjenero
bda8a963ad
Add conditionals for functions only needed on SWCODEC targets.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31296 a1c6a512-1295-4272-9138-f99709370657
2011-12-15 20:58:14 +00:00
Boris Gjenero
8e6030c822
FS#12378 : Remove various unused code, and comment out some unused code and data for reference or future use.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31256 a1c6a512-1295-4272-9138-f99709370657
2011-12-14 21:45:25 +00:00
Andree Buschmann
5b8ed62922
FS#12443: Implement downmixing to stereo for multichannel flac.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31253 a1c6a512-1295-4272-9138-f99709370657
2011-12-14 18:02:57 +00:00
Andree Buschmann
6b45019077
Correct decorrelation within flac decoding. Finally fixes FS#12371.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31252 a1c6a512-1295-4272-9138-f99709370657
2011-12-14 17:47:19 +00:00
Rafaël Carré
3042c441f2
disktidy: clean more Sansa AMS OF files
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31250 a1c6a512-1295-4272-9138-f99709370657
2011-12-14 16:18:34 +00:00
Jonathan Gordon
13f1b08388
Allow scrolling lines to have their content changed without restarting the scroll line. This means skin lines with dynamic tags can be updated in realtime instead of delayed
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31247 a1c6a512-1295-4272-9138-f99709370657
2011-12-14 12:53:19 +00:00
Jonathan Gordon
b3caa01062
Fix FS#12237 (caused by r30302) where centered skin text isnt eqactly centered
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31246 a1c6a512-1295-4272-9138-f99709370657
2011-12-14 09:48:52 +00:00
Rafaël Carré
404c6bba9c
disktidy: don't use "abort" for variable name as it might conflict
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31240 a1c6a512-1295-4272-9138-f99709370657
2011-12-14 04:42:03 +00:00
Rafaël Carré
d991a289bb
disktidy.config: add a preset for Sansa AMS OF files
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31239 a1c6a512-1295-4272-9138-f99709370657
2011-12-14 04:38:45 +00:00
Rafaël Carré
1648441d6e
disktidy: simplify
...
support filenames beginning with '#' by escaping them in config
example: "\##MUSIC#: no"
it is a limitation of settings_parseline to recognize comments
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31238 a1c6a512-1295-4272-9138-f99709370657
2011-12-14 04:38:30 +00:00
Andree Buschmann
2b3bb1e84b
Roll back the latest mpc upstream sync as this introduced a regression. Fixes FS#12429.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31211 a1c6a512-1295-4272-9138-f99709370657
2011-12-11 16:08:53 +00:00
Jonathan Gordon
489436385f
Add talk support to the shortcuts menu.
...
'talkclip: <filename>' in the [shortcut] will cause the list to .talk the file specified.
(.talk files are the same filetype as gets talked by the file listing... hopefully we can add rbutil support to generate these)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31210 a1c6a512-1295-4272-9138-f99709370657
2011-12-11 10:27:14 +00:00
Michael Sevakis
c2513580cb
Closing recording before initializing it the first time isn't needed and may also interfere with playback. Remove audio_close_recording call upon first entering recording screen.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31209 a1c6a512-1295-4272-9138-f99709370657
2011-12-11 00:53:46 +00:00
Andree Buschmann
a6653a9bb6
Fix decoding of multichannel flac, refactor sample buffer handling and decorrelation (taken from ffmpeg sources) and add some flac details to the manual. Solves FS#12371.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31207 a1c6a512-1295-4272-9138-f99709370657
2011-12-10 22:28:16 +00:00
Bertrik Sikken
e6819b99ad
FS#12373 - Patch for Spanish translation by Francisco Vila
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31201 a1c6a512-1295-4272-9138-f99709370657
2011-12-10 13:21:46 +00:00
Bertrik Sikken
7cba6f631c
FS#12394 - Update of the European Portuguese language by Gabriel Maia
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31200 a1c6a512-1295-4272-9138-f99709370657
2011-12-10 13:11:49 +00:00
Bertrik Sikken
95280e0bd0
FS#12434 - Serbian translation update by Ivan Pesic
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31199 a1c6a512-1295-4272-9138-f99709370657
2011-12-10 12:10:25 +00:00
Bertrik Sikken
5dd1420bde
Quick-fix for r31197
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31198 a1c6a512-1295-4272-9138-f99709370657
2011-12-10 12:05:12 +00:00
Bertrik Sikken
ce4ec8033d
FS#12437 - Updated Croatian translation by Ante Maretic
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31197 a1c6a512-1295-4272-9138-f99709370657
2011-12-10 11:57:16 +00:00
Michael Sevakis
d2c1ece304
Move the PCMREC_E/W_* defines back to pcm_record.h because they're part of the recording engine interface. Leave the low-level DMA error defines in pcm.h.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31184 a1c6a512-1295-4272-9138-f99709370657
2011-12-08 21:45:53 +00:00
Michael Sevakis
5af1e2f531
Add a second boost condition to the recording PCM buffer to boost the CPU when 75% full or more. This is especially important for small memory when the 1-second condition frequency cannot be reached.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31183 a1c6a512-1295-4272-9138-f99709370657
2011-12-08 21:30:37 +00:00
Michael Sevakis
e42a3194de
AS3525v1/v2:
...
Fix problems with volume of recorded material by converting 14-bit samples to
16-bit. Remove duplicate samples from recorded data and support proper
samplerate since ADC runs 1/2 the codec clock. Support monitoring mono on both
output channels by feeding data manually to I2SOUT under the right conditions.
DMA is no longer used for recording since frames must be processed as described
above but it does allow full-duplex audio.
Miscellaneous change includes a proper constant (HW_SAMPR_DEFAULT) to reset the
hardware samplerate when recording is closed. PP5024 and AS3525 have different
default recording rates (22kHz and 44kHz respectively) but both have half-speed
ADC.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31180 a1c6a512-1295-4272-9138-f99709370657
2011-12-08 19:20:00 +00:00
Jonathan Gordon
2c7379757c
Fix red
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31179 a1c6a512-1295-4272-9138-f99709370657
2011-12-08 10:27:30 +00:00
Jonathan Gordon
29b1ba3445
shortcuts: talk the time and configure the sleep timeout
...
Use "type: time" and "data: talk" to have the time voiced when the shortcut is run.
use "type: time" and "data: sleep X" where X is the number of minutes to run the sleep timer for (0 means disable)
the name field is required
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31178 a1c6a512-1295-4272-9138-f99709370657
2011-12-08 10:23:46 +00:00
Thomas Martitz
790be2de32
Fix for "FS#12430 - FM presets tags aren't dynamic in status bar."
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31162 a1c6a512-1295-4272-9138-f99709370657
2011-12-07 14:58:46 +00:00
Jonathan Gordon
a8e0d6a416
Fix warnings
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31158 a1c6a512-1295-4272-9138-f99709370657
2011-12-06 12:07:44 +00:00