Slightly change the DSP processing order

Change-Id: Iae747e2b3a68832c7502d322c937630a8784fd4b
Merge branch 'lab-general' into lab-android
some optimization for iriver h100 and h300 series

Turn on 4x oversampling inside UDA1380 codec.

This allow will move the quantization noise to the higher frequencies,
that slightly improve the final sound quality.

Change-Id: Idf79cd877c526d8937a47c34e9c180d837a15db1
Reviewed-on: http://gerrit.rockbox.org/435
Reviewed-by: Michael Giacomelli <giac2000@hotmail.com>
Reviewed-by: Björn Stenberg <bjorn@haxx.se>
OS X: change include paths to use actual paths.

The old include path is actually a symlink for compatibility. Newer SDK
versions remove that symlink to the include breaks.

Change-Id: I74317557840f1886cebc1ce099e103dc415eabc0
OS X: don't include libusb headers.

We don't use libusb on OS X anymore, so don't include it anymore.

Change-Id: I32b721e097e5958a2e7359ccd79bf2d3b2d0ad9d
OS X: use FSGetVolumeParms when targeting 10.5+.

PBHGetVolParmsSync() is not available when building with 64bit. The replacement
FSGetVolumeParms() is available on 10.5+ only. Use the latter when building
with target version 10.5+. This requires builds targeting 10.4 to 32bit and
allows building as 64bit when targeting 10.5+.

Change-Id: Ic53217f3090147bea473613335f9482623a470bd
OS X: update project file for Qt5 support.

- Qt5 doesn't support PPC anymore, so always build for x86 only.
- Qt5 requires the use of the multimedia module (as Windows).

Change-Id: I7d54faffe9d2fb557f55234ba7b81a508d92a38b
OS X: detect clang and build for x86 target only.

Newer versions of Xcode / OS X don't support PPC code anymore and replace gcc
with clang. When clang is detected assume we want to build for the default
architecture only and change the minimum OS X version to 10.5.

Change-Id: I5843fa9bb3d957ec6f0a537e857608ad99c31517
Add msvc qmake config option for building with MSVC.

When building with MSVC we need to add the msvc folder to the include list, and
remove the libraries from the dependencies since they need to get built
separately.

Change-Id: I297787f32495da4541c67bfef549b4d1ad68dd18
Fix MSVC not knowing inline for C code.

MSVC needs to use __inline instead of inline when compiling C code (the inline
keyword is only avaliable in C++). Use the preprocessor to work around this.

Change-Id: Ic9884a7421cee7dc7c943ab205312f50233fb100
zenxfi3: fix horrible bug which prevented the power button to work

Change-Id: Ic8e86762f84ca41e931801c1aee08007129eef20
Improve MSVC support in project file.

Enable MSVC specifics by checking QMAKESPEC instead of depending on a qmake
command line switch.

Change-Id: I77f72acd6661d5d7bc5776cc2dc877a11920dc7e
Fix ALIGN_DOWN() macro on 64bit.

When the align parameter was a 32bit value (like all default integer literals),
and the to-be-aligned value is a pointer the upper 32bit got corrupted because
the value was casted down to 32bit.

Note: This hasnt been a problem because apparently the sim always gets 32bit
addresses (I found this when compiling Rockbox as a library).

Change-Id: I0d2d3fd8bfa210326b27162bb22c059da97d207a
HDD1630: enable backlight fading.

Change-Id: I767cab4ab51c17a262519d56d0a3071d3c7bbe16
change order of include headers and at the same time fix warning about
the implicit declaration of the _backlight_brightness().

Change-Id: I84ab4db19663d1918aaf5d98d51308d4ad2c4075
HDD1630: enable AB repeat.

Change-Id: I474e3cd300e2282de44f9d6e7bdc616e96e3496a
SA9200: enable headphones detection.

Change-Id: Ieeeb59f9899a7de61cfc3604b127f1c4377774bf
HDD6330: enable backlight fading.

Change-Id: I60265237485e5892da2d45af0c44eb0aef40d22a
HDD6330: enable AB repeat.

Change-Id: Ia8bb739cd60b1b2d8a8cd7ad2c536e22553083c6
fix position of the repeat icon in cabbiev2.128x128x16.wps.

Change-Id: Ie159d19ab5e185256fe9fff0ff4986a27cf6886d