Michael Sevakis
80d0d15ca9
Gigabeat S: Fully enable access to hardware tone controls and 3-D effect feature. Under the hood, it's designated a hardware equalizer since it is one. Implement code framework for hardware EQ in general. Menu aspect is well abstracted and so the UI and strings can be changed around if taste doesn't quite suit. So far the emphasis is distinction of the UI labelling from the software EQ so that it's clear the settings are for a different thing.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26051 a1c6a512-1295-4272-9138-f99709370657
2010-05-15 13:09:45 +00:00
Rafaël Carré
0f77db7346
as3525: fix capacity sanity check
...
adjust logical starting sector to physical starting sector after the check
number of blocks is already adjusted from physical to logical
don't panic anymore when accessing the last part of storage
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26050 a1c6a512-1295-4272-9138-f99709370657
2010-05-15 12:01:53 +00:00
Rafaël Carré
338e4d76aa
fix inverted logic in r26047: voice works again
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26049 a1c6a512-1295-4272-9138-f99709370657
2010-05-15 11:19:25 +00:00
Yoshihisa Uchida
fecf90fda9
mp3: when ID3 tags are not found, search APE tags
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26048 a1c6a512-1295-4272-9138-f99709370657
2010-05-15 10:20:06 +00:00
Rafaël Carré
77ec4b301b
talk_init() : don't try to load the voice file if it won't fit in memory
...
now playback still works if voicing is enabled on the clipv1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26047 a1c6a512-1295-4272-9138-f99709370657
2010-05-15 10:05:47 +00:00
Yoshihisa Uchida
3c74d20462
fix yellow
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26046 a1c6a512-1295-4272-9138-f99709370657
2010-05-15 09:24:38 +00:00
Rafaël Carré
4bb0184455
as3543: output sum of line & dac to have voicing work while using FM
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26045 a1c6a512-1295-4272-9138-f99709370657
2010-05-15 09:19:30 +00:00
Yoshihisa Uchida
7a6a8c64fe
ID3 tags parser separates from metadata/mp3.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26044 a1c6a512-1295-4272-9138-f99709370657
2010-05-15 09:15:24 +00:00
Michael Sevakis
6bb9384b70
wm8978: Clean out silly macros. Use 'POS' convention instead for shifted bitfields. Additionally, use volume update latching for all volume settings.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26043 a1c6a512-1295-4272-9138-f99709370657
2010-05-15 04:59:25 +00:00
Jeffrey Goode
b8a51adb57
vuprintf does not belong in stdio.h, causes problems with other versions of stdio.h
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26042 a1c6a512-1295-4272-9138-f99709370657
2010-05-15 03:47:06 +00:00
Jeffrey Goode
f2a56161f7
Fix yellow: missed a cast
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26041 a1c6a512-1295-4272-9138-f99709370657
2010-05-15 03:42:37 +00:00
Jeffrey Goode
6ef04a7f0e
Eliminate %zd tag in printf format strings, replace them with %ld. The %z formatter kept generating type mismatch warnings.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26040 a1c6a512-1295-4272-9138-f99709370657
2010-05-15 03:34:31 +00:00
Jeffrey Goode
ff548fad86
Fix include problem
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26039 a1c6a512-1295-4272-9138-f99709370657
2010-05-15 03:17:12 +00:00
Jeffrey Goode
6083f3dff5
Fix logf lines in codecs (type mismatches)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26038 a1c6a512-1295-4272-9138-f99709370657
2010-05-15 01:57:32 +00:00
Frank Gevaerts
530c25130f
Make the sim buildable with mingw again
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26037 a1c6a512-1295-4272-9138-f99709370657
2010-05-14 22:57:52 +00:00
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