Commit graph

24883 commits

Author SHA1 Message Date
Frank Gevaerts
759cfece4b Hopefully the last warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26036 a1c6a512-1295-4272-9138-f99709370657
2010-05-14 22:24:38 +00:00
Frank Gevaerts
ed566826f5 Fix various size_t related warnings and errors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26035 a1c6a512-1295-4272-9138-f99709370657
2010-05-14 22:19:45 +00:00
Rafaël Carré
9e974e4590 another cast ssize_t -> long
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26034 a1c6a512-1295-4272-9138-f99709370657
2010-05-14 22:16:40 +00:00
Rafaël Carré
84cd3763bd cast ssize_t to long
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26033 a1c6a512-1295-4272-9138-f99709370657
2010-05-14 22:12:57 +00:00
Andree Buschmann
db42781ca8 Fix FS#11261 (slow seek forward in mpc files). Since the introduction of the sv8 library mpc did not use efficient buffering when seeking forward. With this change the implementation will not flush the buffer on each frame but will keep the already buffered data as long as possible.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26032 a1c6a512-1295-4272-9138-f99709370657
2010-05-14 22:06:28 +00:00
Rafaël Carré
7036a10126 fuzev2: prevent button light flickering when accessing µSD
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26031 a1c6a512-1295-4272-9138-f99709370657
2010-05-14 22:01:40 +00:00
Frank Gevaerts
5d987d61cf Move include/sys along with libc/, so hosted (sim/RaaA) builds use the proper files for their OS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26030 a1c6a512-1295-4272-9138-f99709370657
2010-05-14 22:01:07 +00:00
Rafaël Carré
84b7747069 as3525v1: detect correctly internal storage capacity
check if SD transfers fit with the card capacity

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26029 a1c6a512-1295-4272-9138-f99709370657
2010-05-14 21:41:29 +00:00
Rafaël Carré
e72d2daad8 as3525v2: check if SD transfers fit with the card capacity
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26028 a1c6a512-1295-4272-9138-f99709370657
2010-05-14 19:37:10 +00:00
Rafaël Carré
685209d907 as3525: add some comments in the microphone channel copy loop
Indent the asm constraints at the same level than instructions

Also add a trick to reduce the number of instructions outputted by gcc
in the commented C version of the loop

The difference between C and asm is now 1 instruction

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26027 a1c6a512-1295-4272-9138-f99709370657
2010-05-14 16:47:58 +00:00
Rafaël Carré
ea6eb920d0 builds: make clipv2/clip+/fuzev2 unstable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26025 a1c6a512-1295-4272-9138-f99709370657
2010-05-14 13:41:35 +00:00
Thomas Martitz
0246f0ceb4 Fix remaining reds/yellows.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26024 a1c6a512-1295-4272-9138-f99709370657
2010-05-14 13:21:40 +00:00
Rafaël Carré
ac43fd367a as3525v1: duplicate the right channel into the left channel when recording microphone
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26023 a1c6a512-1295-4272-9138-f99709370657
2010-05-14 12:59:54 +00:00
Thomas Martitz
59d827f7a6 Fix wrong #ifdefs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26022 a1c6a512-1295-4272-9138-f99709370657
2010-05-14 12:52:15 +00:00
Alexander Levin
110b30e044 Revert r26008. Fonts in the font pack should at least be able to display English menus. This font can maybe included in a theme bundle.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26021 a1c6a512-1295-4272-9138-f99709370657
2010-05-14 12:48:47 +00:00
Thomas Martitz
68947473e1 Move math.h to firmware/libc/include/ and fix slight incompatibilities between our and the host's math.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26020 a1c6a512-1295-4272-9138-f99709370657
2010-05-14 12:43:45 +00:00
Thomas Martitz
3cca7e8650 Include host system's header files and don't compile our c library replacements in the sim.
This makes it possible to move the simulator code into the target tree (for Rockbox as an application).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26019 a1c6a512-1295-4272-9138-f99709370657
2010-05-14 12:37:05 +00:00
Michael Sevakis
3d1a85695b Give pitch_detector the IRAMming it deserves.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26018 a1c6a512-1295-4272-9138-f99709370657
2010-05-14 12:35:05 +00:00
Yoshihisa Uchida
9fedf45814 updates the README document.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26017 a1c6a512-1295-4272-9138-f99709370657
2010-05-14 11:24:36 +00:00
Nils Wallménius
800e710258 Set up EMAC mode in cook, fixing whitenois when transitioning from a codec using different emac mode.'
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26016 a1c6a512-1295-4272-9138-f99709370657
2010-05-14 11:08:59 +00:00
Yoshihisa Uchida
32794a9eef fix: The second playback time is not correct in playing TTA musics continuously.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26015 a1c6a512-1295-4272-9138-f99709370657
2010-05-14 11:08:56 +00:00
Rafaël Carré
020dddffac Enable recording on clipv1/m200v4/c200v2
Use smaller recording buffer and watermarks on these models with 2MB of ram
Rearrange watermark calculation expressions so we can use fractional
numbers of seconds but still with integer results

Only enable spinup time adjustement for ATA targets
Flash targets (sansas and ondiofm) should still work fine, but they were
not tested

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26014 a1c6a512-1295-4272-9138-f99709370657
2010-05-14 11:08:15 +00:00
Nils Wallménius
abd6b147cc Restor setting of EMAC mode on coldfire lost in r25056 fixes whitenoise when transitioning from a codec using a different EMAC mode.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26013 a1c6a512-1295-4272-9138-f99709370657
2010-05-14 10:48:26 +00:00
Nils Wallménius
92a6081531 Disable shutting down with the charger connected on the gigabeat s since it doesn't charge while powered off. Ideally we should implement a mode where it charges untill the battery is full and then powers off.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26012 a1c6a512-1295-4272-9138-f99709370657
2010-05-14 08:52:54 +00:00
Michael Sevakis
d665c92652 Cache align the pitch detector audiobuffer where needed. Some other misc. changes to try to make sure everything builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26011 a1c6a512-1295-4272-9138-f99709370657
2010-05-14 08:44:07 +00:00
Rafaël Carré
8cce39bb9f as3514: mute headphones at the lowest volume
change lowest step from -74dB to -73dB, as it really is -73.5dB and is
rounded to -73
fix FS#11237

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26010 a1c6a512-1295-4272-9138-f99709370657
2010-05-14 08:35:53 +00:00
Rafaël Carré
39e4b84e64 as3525: change SDRAM settings only in models for which there is a bootloader
c200v2 & m200v4 have no binary bootloader released yet

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26009 a1c6a512-1295-4272-9138-f99709370657
2010-05-14 08:35:49 +00:00
Alexander Levin
a1e19d8065 22 pixel high Nimbus-like font, containing only digits and the period; intended for use in FM screen for displaying frequency (FS#11271)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26008 a1c6a512-1295-4272-9138-f99709370657
2010-05-14 08:05:56 +00:00
Michael Sevakis
057c11147e Fix LUA red and yellow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26007 a1c6a512-1295-4272-9138-f99709370657
2010-05-14 07:17:03 +00:00
Michael Sevakis
ef0b8caac0 Fix some sim warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26006 a1c6a512-1295-4272-9138-f99709370657
2010-05-14 06:41:40 +00:00
Michael Sevakis
7250405c70 pitch_detector: Use continuous recording, even if the algorithm is too slow for that and record a whole buffer even if the min frequency is higher. Use the minimum samplerate that allows C-4186 to be detected (usually 11.025kHz, which can reduce computational load to 1/16 compared to 44.1kHz). Get rid of 64-bit multiplies when calculating input RMS value. Stop audio playback when entering plugin. Better backlight and CPU frequency handling. audio_sample_type->int16_t. simpler buffer size rounding.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26005 a1c6a512-1295-4272-9138-f99709370657
2010-05-14 06:25:40 +00:00
Nils Wallménius
0b52d34313 FS#11272 by Gerhard Zintel fixing a bug when resetting the database in keybox
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26004 a1c6a512-1295-4272-9138-f99709370657
2010-05-13 22:21:09 +00:00
Rafaël Carré
90963dcc0b as3525: retain & release DMA engine when starting and stopping recording
This fixes the error introduced in r25989, where it would release the
DMA engine when uninitializing recording.
The real bug has been fixed instead (in pitch_detector)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26003 a1c6a512-1295-4272-9138-f99709370657
2010-05-13 21:32:10 +00:00
Rafaël Carré
289b6bdb69 fix pitch_detector: recording will stop itself if the callback returns <0
stopping recording 2 times might have harmful effects

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26002 a1c6a512-1295-4272-9138-f99709370657
2010-05-13 21:32:06 +00:00
Alexander Levin
573409193b Generating .c file make internal data structures unusable so that .fnt file can not be produced after that. Make sure that both options are not used at the same time. Better fix would be to adjust the function that generates .c file, but it would require more time.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26001 a1c6a512-1295-4272-9138-f99709370657
2010-05-13 21:27:42 +00:00
Rafaël Carré
6c09fe757a clipv2: current usage estimation
also remove an obsolete comment and an unrelated option of the config file

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26000 a1c6a512-1295-4272-9138-f99709370657
2010-05-13 21:05:18 +00:00
Rafaël Carré
2251f07dc3 fix a typo in comment
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25999 a1c6a512-1295-4272-9138-f99709370657
2010-05-13 20:39:03 +00:00
Michael Giacomelli
8cb4183839 Put decoder array into IRAM. Improves Coldfire (h300) performance 218MHz ->102.84 MHz. Should be realtime on all CF targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25998 a1c6a512-1295-4272-9138-f99709370657
2010-05-13 18:37:06 +00:00
Alex Parker
21920408be Correct English.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25997 a1c6a512-1295-4272-9138-f99709370657
2010-05-13 17:25:32 +00:00
Tobias Diedrich
990179e1aa Correct register defines. I had to look at the disassembly to spot this bug. orz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25996 a1c6a512-1295-4272-9138-f99709370657
2010-05-13 14:07:59 +00:00
Yoshihisa Uchida
c64ac19753 add the true audio codec.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25995 a1c6a512-1295-4272-9138-f99709370657
2010-05-13 13:25:57 +00:00
Yoshihisa Uchida
0f5c6d47d4 add True Audio (TTA) codec
decoding speed iPod video ~153%
But in some players, the decoding speed is not enough.
(e.g., H180 52.4% (thanks amiconn), H300 55.09% (thanks n1s))

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25994 a1c6a512-1295-4272-9138-f99709370657
2010-05-13 12:40:09 +00:00
Nils Wallménius
889b4a8ce8 Two tiny tweaks to some arm asm
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25993 a1c6a512-1295-4272-9138-f99709370657
2010-05-13 09:44:05 +00:00
Alexander Levin
1940a0b189 Use nice quotation marks
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25992 a1c6a512-1295-4272-9138-f99709370657
2010-05-13 08:45:22 +00:00
Alexander Levin
9f95a0bfad Use a nice apostroph
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25991 a1c6a512-1295-4272-9138-f99709370657
2010-05-13 08:41:01 +00:00
Alexander Levin
230f0405eb Correct detection of the absence of the current preset
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25990 a1c6a512-1295-4272-9138-f99709370657
2010-05-13 08:36:38 +00:00
Rafaël Carré
cd8ed00dfe as3525: use the correct uncached address for rec peak buffer
also avoid disabling completely the DMA engine in pitch_detector

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25989 a1c6a512-1295-4272-9138-f99709370657
2010-05-13 08:21:04 +00:00
Alex Parker
0926e3e38c Add FMS tags to the manual.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25988 a1c6a512-1295-4272-9138-f99709370657
2010-05-13 08:13:42 +00:00
Alex Parker
6d549df28d FS#11243 - The %VI (capital i) WPS tag is not described in the manual.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25987 a1c6a512-1295-4272-9138-f99709370657
2010-05-13 08:13:37 +00:00
Alex Parker
40782d5c5e Update the discussion of themeing in the manual, and put a note in the wps tags appendix that the actual discussion is elsewhere.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25986 a1c6a512-1295-4272-9138-f99709370657
2010-05-13 08:13:31 +00:00