AudioMixer: fix artifact on 2 short sounds

On multiple devices, when 2 short sounds are played simultaneously, there will be artifact
on the speaker due to the buffer not being cleared.

A common example of this is lockscreen sounds during music playback.

Change-Id: Ifcdbbd7e443aa78ef392f14003d498404f2e4d3a
Fixes for mic and A/V issues on capri based devices

[PATCH 1/2] OMXCodec: set default input buffer size

Broadcom OMX only set the buffer size to 65536 by default which
is not enough for higher bitrate video

[PATCH 2/2] OMXCodec: set default input buffer size only for BCM
decoder

Needed for capri based i9082 device .

Change-Id: Iee5d02829da46f91a326c0fab3e60996af55a1f9
Add LG camera HAL parameters

Change-Id: I0a1d8c4216654abeb3de9882637ad15bc9c23dc9
Add missing functions and signatures for older OMX video libs compat

Nvidia OMX libs need these to work
That fixes hardware OMX video codecs + Camera on TF101

AudioTrack: Do not inline getSessionId either

Should help for other nvomx versions that requires it.

Change-Id: I9f9afa844edf3e6d1fd25524f2cc155b974245ec
Camera: QCOM legacy definitions,HTC cam switch,NO_UPDATE_PREVIEW

Updating Camera parameters, and service with several
compatibility patches:

1., QCOM legacy CameraParameters and functions:
Adding these will make ICS qcomm camera blobs work on JB 4.3.
Use BOARD_USES_QCOM_LEGACY_CAM_PARAMS := true in BoardConfig
to use this.

Also fixes the problem of legacy qcom
camera blobs with recent libcameraservice QCOM_HARDWARE changes,
where the orientation is messed up on first
preview: the fix is leaving out setPreviewWindow(window) for
legacy qcomm cam blobs.

2., Also adding NO_UPDATE_PREVIEW flag for legacy purposes.

3., Adding adding the set orientation patch:
Always set buffers orientation when setting the qcom camera preview window
Fixes the rotated preview on TouchPad
https://github.com/CyanogenMod/android_frameworks_base/commit/1a8e41a3c7434737db89b604352575f8b3109e7a

4., camera: Full support for HTC camera switch

5., Adding more parameters for HTC Explorer

Change-Id: I2bfc72b8ef027665356788f1db7f96b31d037dbe
audioflinger/Threads.cpp: Remove spurious QCOM_HARDWARE

Why the heck was this #ifdefed?  It's in AOSP too

Change-Id: I86a09b892dc87329dab092cd475d3ac1623547ed
Merge remote-tracking branch 'omni/android-4.4' into defy-4.4