Bertrik Sikken
bf679fa4ac
Enable tea5767 tuner detection for Philips GoGear HDD63x0 too (HDD6320 does not have a tuner, HDD6330 does)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28496 a1c6a512-1295-4272-9138-f99709370657
2010-11-05 18:21:20 +00:00
Bertrik Sikken
6d59785024
Fix accidental C++ style comments from r28341
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28494 a1c6a512-1295-4272-9138-f99709370657
2010-11-05 17:22:46 +00:00
Bertrik Sikken
981a639ade
Implement tea5767 tuner detection - FS#11714 by me
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28493 a1c6a512-1295-4272-9138-f99709370657
2010-11-05 17:04:18 +00:00
Bertrik Sikken
cec1e476e6
Another (hopefully final) fix for FS#11453 (AMSv2 powerdown fails sometimes when wakeup timer set) by Fabian Vogel.
...
This fix disables MCLK before powerdown-for-wakeup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28435 a1c6a512-1295-4272-9138-f99709370657
2010-11-01 18:58:40 +00:00
Marcin Bukat
56c4e9fa60
Separate mas35xx lowlevel stuff. Move SH specific bits to target tree. FS#11189 by me.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28425 a1c6a512-1295-4272-9138-f99709370657
2010-10-31 21:09:34 +00:00
Michael Chicoine
63da8c6875
Enable line out on c200v1 - part of FS#11367 by me - Thanks to Nate for testing
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28368 a1c6a512-1295-4272-9138-f99709370657
2010-10-27 21:30:04 +00:00
Maurus Cuelenaere
77b3529246
Ramdisk: add hotswap support
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28363 a1c6a512-1295-4272-9138-f99709370657
2010-10-26 12:27:33 +00:00
Bertrik Sikken
097d7fb689
Fix FS#11559 - no sound from ipod fm remote on ipod nano 1g.
...
This fix implements audiohw_set_monitor for the wm8975 codec (used in ipod nano 1g, nano 2g, color, 4g)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28341 a1c6a512-1295-4272-9138-f99709370657
2010-10-24 09:24:35 +00:00
Marcin Bukat
df867fa44c
MPIO HD200 - fix stupid typo introduced in r28270 which forced device hard shutdown during boot.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28304 a1c6a512-1295-4272-9138-f99709370657
2010-10-18 13:12:44 +00:00
Bertrik Sikken
055071195c
si4700 tuner: lower stereo switchover range, so it switches to stereo for weaker signals. Should fix FS#11405.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28284 a1c6a512-1295-4272-9138-f99709370657
2010-10-15 18:13:31 +00:00
Marcin Bukat
d793a971d8
HD200 - GPIO57 is headphone output enable. Proper handling of this line fixes hissing noise after startup.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28270 a1c6a512-1295-4272-9138-f99709370657
2010-10-13 20:35:58 +00:00
Thomas Martitz
3022a60cc2
Rename {draw,fill}_viewport once more (to draw_border_viewport and fill_viewport) and remove the viewport parameter as suggested by Dave Chapman.
...
The parameter wasn't used yet and it's not clear whether it should be a absolute or relative viewport.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28242 a1c6a512-1295-4272-9138-f99709370657
2010-10-11 01:19:55 +00:00
Thomas Martitz
5462ef728f
Add _rect to {draw,fill}_viewport as suggested by Jonathan Gordon to reduce the chance to confuse it with update_viewport().
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28240 a1c6a512-1295-4272-9138-f99709370657
2010-10-10 23:35:03 +00:00
Thomas Martitz
8a0152bd4a
Two new lcd/multi screen api convinience functions: draw_viewport(), fill_viewport().
...
They work as the drawrect/fillrect pendants but work on a viewport basis; pass NULL to draw the current viewport (the one set with set_viewport()).
In conjunction with action_get_touchscreen_press_in_vp() it should be less of a pain to draw buttons and get presses on them.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28239 a1c6a512-1295-4272-9138-f99709370657
2010-10-10 23:15:05 +00:00
Thomas Martitz
d9d0b4dd20
Pixel-accurate (vertical) list scrolling for touchscreen targets.
...
Looks much smoother now as you don't scroll by whole lines anymore.
Add some functions lcd driver to enable the line based scrolling engine to draw the lines with a pixel-based y-offset.
This should also allow for a sensible kinetic scrolling mechanism (still a todo).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28214 a1c6a512-1295-4272-9138-f99709370657
2010-10-06 12:46:42 +00:00
Bertrik Sikken
4aa42f3d43
RDA5802 tuner: fix small bug in rda5802_init (writing too much data)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28170 a1c6a512-1295-4272-9138-f99709370657
2010-09-26 11:39:27 +00:00
Andree Buschmann
6a9cabc434
Implement lineout en-/disable for WM8975 and activate it for iPod nano 2G.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28159 a1c6a512-1295-4272-9138-f99709370657
2010-09-24 22:42:06 +00:00
Thomas Martitz
b2872c616c
Enlarge the button post interval against audio drop outs, Too many lcd updates
...
per seconds apparently don't very well.
Not sure if it's the hardware or our threading that doesn't play well enough
here (UI isn't less response despite of the audio drop outs).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28144 a1c6a512-1295-4272-9138-f99709370657
2010-09-22 23:28:26 +00:00
Thomas Martitz
54a81076bc
Touchscreen: button driver improvements
...
* Until BUTTON_REPEAT was started, coordinate changes were not exposed. Change
that (post on every coordinate change) so that wiping over the screen does actually
something between the first touch and BUTTON_REPEAT
* Once BUTTON_REPEAT is active, further repeats are posted in an acceleration
fashion (slow at the begginning), which smoothes list scrolling. But this has
the contrary effect on touchscreen, as it makes swiping appear very laggy. So,
remove that acceleration for touchscreen and make it equally fast at all times
so the scrollbar is better usable.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28143 a1c6a512-1295-4272-9138-f99709370657
2010-09-22 23:01:51 +00:00
Bertrik Sikken
c0edce8f5c
iap: make variable serbuf non-global
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28128 a1c6a512-1295-4272-9138-f99709370657
2010-09-20 19:37:17 +00:00
Rafaël Carré
128593538b
button driver: make repeat timings be centiseconds and not ticks
...
This doesn't change the value with the current HZ=100,
but makes it easy to change HZ in custome builds and still have buttons be usable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28086 a1c6a512-1295-4272-9138-f99709370657
2010-09-15 07:43:55 +00:00
Frank Gevaerts
5d4b13beef
Slightly reorganise the FAT driver to ensure that no more than one sector buffer is ever allocated on the stack simultaneously. Fixes FS#11433
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28011 a1c6a512-1295-4272-9138-f99709370657
2010-09-06 14:14:07 +00:00
Rafaël Carré
73f27359c6
fix r27921 : lcd_putsxyf() for charcell
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27927 a1c6a512-1295-4272-9138-f99709370657
2010-08-28 21:54:19 +00:00
Rafaël Carré
0f063b7d72
Implement lcd(_remote)_putsxyf() and export to plugins
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27921 a1c6a512-1295-4272-9138-f99709370657
2010-08-28 21:46:18 +00:00
Bertrik Sikken
a290ce4222
tcc77x targets: various minor cleanups
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27913 a1c6a512-1295-4272-9138-f99709370657
2010-08-28 10:17:19 +00:00
Bertrik Sikken
aea21cd18b
ipod fm remote: some static/const fixes from FS #11266 by me
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27867 a1c6a512-1295-4272-9138-f99709370657
2010-08-23 20:49:33 +00:00
Thomas Martitz
87409a2619
Move memset6() declaration to string-extra.h, kills a warning compiling for android since it ships a memory.h.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27789 a1c6a512-1295-4272-9138-f99709370657
2010-08-12 13:55:01 +00:00
Bertrik Sikken
82a2cdb2ad
Various minor fixes for Samsung YH* targets
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27751 a1c6a512-1295-4272-9138-f99709370657
2010-08-08 09:02:41 +00:00
Thomas Martitz
240923a801
Rockbox as an application: Commit current Android port progress.
...
General state is: Rockbox is usable (plays music, saves configuration, touchscreen works too).
Problems:
- Playing music in the background (i.e. when switching to another app) doesn't work reliably, but I'm working on that now.
- no cabbiev2 (only some preliminary files for it), no other default theme.
- screen flickers sometimes if the updates are too frequent
- no multi screen apk/package
- strange behavior when a phone call comes in
The java files (and the eclipse project) resides in android/, which is also supposed to be the build folder.
I've put a small README in there for instructions. There are some steps needed after the make part, which are described there,
and which eclipse mostly handles. But there ought to be some script/makefile rules which do that instead in the future.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27668 a1c6a512-1295-4272-9138-f99709370657
2010-08-02 20:34:47 +00:00
Bertrik Sikken
befffc877d
More minor const/static/include fixes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27652 a1c6a512-1295-4272-9138-f99709370657
2010-08-01 11:10:39 +00:00
Bertrik Sikken
9b6d895276
Various minor cleanups for cowon d2
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27646 a1c6a512-1295-4272-9138-f99709370657
2010-08-01 09:33:29 +00:00
Bertrik Sikken
451aa86244
Various minor cleanups for mini2440
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27645 a1c6a512-1295-4272-9138-f99709370657
2010-08-01 08:56:15 +00:00
Bertrik Sikken
38e0918eb5
Fix condition for compiling audiohw_set_monitor (should fix red)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27638 a1c6a512-1295-4272-9138-f99709370657
2010-07-31 13:01:52 +00:00
Bertrik Sikken
4a8ea6c9d9
Various minor clean-ups for Zen Vision
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27636 a1c6a512-1295-4272-9138-f99709370657
2010-07-31 12:43:38 +00:00
Marcin Bukat
451138ba74
WM8750 - add ALC and NGAT related low level functions (disabled now by default)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27587 a1c6a512-1295-4272-9138-f99709370657
2010-07-27 20:57:33 +00:00
Bertrik Sikken
adc472bec5
FM tuner region code cleanup - FS #11492 by me.
...
This removes the tuner-specific region structs and makes each driver use the common one (which is now extended with a deemphasis field)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27579 a1c6a512-1295-4272-9138-f99709370657
2010-07-26 20:15:16 +00:00
Bertrik Sikken
bf2ec0674e
rtc_as3514.c: make alarm struct static and reorder fields to save some binsize
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27448 a1c6a512-1295-4272-9138-f99709370657
2010-07-16 10:41:41 +00:00
Bertrik Sikken
0da83cfc08
Fix failing AMSv2 power-down when the wake-up alarm timer is set - FS #11453 by me
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27447 a1c6a512-1295-4272-9138-f99709370657
2010-07-16 10:05:48 +00:00
Rafaël Carré
c7c04eb5a9
fat.c: fix format specifier in DEBUG build
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27386 a1c6a512-1295-4272-9138-f99709370657
2010-07-11 16:46:40 +00:00
Szymon Dziok
63c795a349
hdd6330: change the synaptics-mep driver in a few places according to the touchpad behavior.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27273 a1c6a512-1295-4272-9138-f99709370657
2010-07-04 12:03:38 +00:00
Marcin Bukat
971a6e9c94
HD200 - Setup codec as I2S master and enable recording
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27250 a1c6a512-1295-4272-9138-f99709370657
2010-07-02 21:09:28 +00:00
Michael Chicoine
908271594a
Part of FS#11367 by me: e200v2 enable line out
...
Should also work for Fuzev1, although not tested. Connect dock after booting Rockbox. Connecting dock with power off will boot into OF.
TODO: enable/disable line out based on dock connection status, add additional devices (Fuzev2 and c200v2)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27162 a1c6a512-1295-4272-9138-f99709370657
2010-06-27 23:27:54 +00:00
Bertrik Sikken
9e86287946
Sansa clip+: prevent an unnecessary OF database refresh when using the wake-up alarm with a uSD card inserted (probably works for other AMSv2 targets too)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27158 a1c6a512-1295-4272-9138-f99709370657
2010-06-27 16:39:50 +00:00
Michael Sevakis
e0bb92f00f
Should clear up rest of red. Add a required #define in the config for c200. Fix up some preprocessing directives. Hope it's all taken care of now.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27141 a1c6a512-1295-4272-9138-f99709370657
2010-06-26 10:37:41 +00:00
Michael Sevakis
b15a523870
e200v1/c200v1: Implement limited samplerate switching. Rates 24kHz and below are being a bear as far as minor crackling at higher amplitude-- leave them out for the time being since no solution is currently evident. 48, 44, 32 (rec rates 24, 22, 16) seem perfectly fine. I'm betting c200 is ok to include because it uses the same setup as e200.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27139 a1c6a512-1295-4272-9138-f99709370657
2010-06-26 10:07:17 +00:00
Szymon Dziok
83d6ceb304
synaptics: add a small delay in syn_get_data() for PB Vibe. Touchpad doesn't work when build with EABI without it.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27117 a1c6a512-1295-4272-9138-f99709370657
2010-06-24 20:29:56 +00:00
Michael Giacomelli
103eabd31f
Commit FS#11364 by me. Increases the A3525v2 volume range by 7.5dB. Each volume setting gets 7.5dB louder (if you listened before at 0dB, you would have to set it to about -7.5dB to get the same volume). As a result, the new 0dB actually is pretty close to max line level for a full scale voltage, so positive dB may clip, whereas before they did not because the scale was off. Thanks to dfkt and Tim Graf for help figuring this out.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27101 a1c6a512-1295-4272-9138-f99709370657
2010-06-24 01:11:51 +00:00
Michael Sevakis
08d09e678f
Sanyo lv24020lp FM: Improve frequency measurement on PP thus improving initial frequency setting. Properly account for IF when tuning FM oscillator (this worked poorly before but appears to work as expected now -- aka. works for me). Not sure what this will do to iAudio7 or Cowon D2 but if they can implement a good duration measurement, they should do so or use the internal timer if possible.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27042 a1c6a512-1295-4272-9138-f99709370657
2010-06-22 07:27:34 +00:00
Michael Sevakis
831707d991
lv24020lp tuner: On PP targets (c200/e200), use the atomic GPIO bitwise macros for the interface since it shares GPIOH with the clickwheel interrupt.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27038 a1c6a512-1295-4272-9138-f99709370657
2010-06-22 04:00:34 +00:00
Bertrik Sikken
2062270964
Apply FS #11423 - Use udelay in AMS driver for FM radio I2C
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27035 a1c6a512-1295-4272-9138-f99709370657
2010-06-21 21:41:07 +00:00