Opus: avoid allocating space for comment packets

Fixes playback of files with large embedded album art.

Change-Id: I94d336e3da968a93047dd00a5fa65e4c3423a7da
Opus: fix seeking to start of track

Change-Id: I8a8604d6726304d04281671b475b2f75f9bfc0e5
SPC Codec: Refactor for CPU and clean up some things.

CPU optimization gets its own files in which to fill-in optimizable
routines.

Some pointless #if 0's for profiling need removal. Those macros are
empty if not profiling.

Force some functions that are undesirable to be force-inlined by the
compiler to be not inlined.

Change-Id: Ia7b7e45380d7efb20c9b1a4d52e05db3ef6bbaab
Fix 87021f7 errors. There is no this->echo_pos when SPC_NOECHO != 0.

Anyway, that's true now.

Change-Id: I247ea9a10543a8b65f3e73495f0e2ea725ec533e
Fix FS#9577 - SNES player missing tracks on certain SPCs

Affected BRR cached waveforms but not realtime BRR decode as far as
I could ascertain. BRR cached waves required loop points to be inside
the initial waveform but this change removes that restriction.

Change-Id: I0ef4db720e5c28bd7b2fb9ae255d27c0a7213f79
Opus: fix glitch caused by 2e9aa3d

Change-Id: I1519f3bf2cdf74f3d4741951973352b2678b7722
SPC Codec: Need to restore a bit more data from cached waves.

'Nuff said. Last update wasn't quite right.

Change-Id: I082a79c4e0c82b968fe2375cb82ee5c3a64a208b
SPC Codec: Have metadata parser fill in frequency and bitrate.

Change-Id: I6c72f4d1c79b1a99a11fb28e7d46886c08a56a75
SPC Codec: Simplify configuration and assume nothing need be disabled.

Most SoCs are these days are fast enough for realtime BRR, gaussian
interpolation and echo processing.

Change-Id: I180ce8ad45242c67b5e573a406b9522098a3f12b
Fix CPU boosting in test_codec.

Boost only for tests and unboost immediately afterwards. It was leaving
the CPU boosted after exiting.

Change-Id: I010c4b975bd27e8990dc057ddd244dab233411ca
USB: Detect charging-only mode upon cable insert, not host detect.

Letting go of the button before the host is detected allows storage mode
to be entered even though a button was down when plugging. Sometimes the
host would try several times and the button would have to be held down
for several seconds to avoid a storage connection.

The adjustment wasn't made when switching to setup request host
detection.

Change-Id: Iab3bced5bfb1478d4d9a7baab2a2a1144afaf437
Merge branch 'master' into lab-android-2012