ExtendedCodec: update amrwb+ format parameters

- Add new API to update channel count and
  sample rate of Amrwb+ format.

CRs-Fixed: 631469

Change-Id: I46d2f219a13f3edf49ac0e7a8d098ca96bcd22a2
libaudioflinger: add stock resampler in pcm offload path

- when samplerate changes in b\w playback, resampler should be plugged-in
  so that the o\p sample rate remains the same to h\w
- this resampler is only enabled on 16 bit PCM path, when channel count is
  <= 2 and channel count doesn't change mid-stream
- once the sample rate resets to original\initial sample rate, resampling
  should not be done
- by default this feature is disabled

Change-Id: Ib72a88a4c059f430d14969e41892d872c40e8b1f
httplive: fix issues during httplive streaming seek

- Cache the new seek position during the last seek progress.
- Before starting the fetchers, check whether one new seek
  operation comes. If yes, reset to change the configuration
  based on the last cached seek position.
- This change can avoid ignoring the new seek operation before
  finishing the last seek progress.

Change-Id: I2a99198881d023b7afc0ec310395e2f86d7105d9
Crs-Fixed: 623264
libstagefright: Enable logs for Bandwidth switch

Enabled logging for Bandwidth switch and printing segment information

Change-Id: I232eb09a145d65889986b1c434a2c008ae08225c
CRs-Fixed: 645106
ExtendedCodec: update amrwb+ component input/output ports

- updated sample rate and channel count of amrwb+ input
  and output configurations

Change-Id: I1a0412ed402e8d58f1db5422c904e18a51fb5965
CRs-Fixed: 631469
Don't use camera metadata and longshot if QCOM_ICS_COMPAT is present

Done according to:
https://github.com/CyanogenMod/android_system_core/blob/cm-11.0/include/system/camera.h#L172

Change-Id: I28807207d9f76dd30c44e3f5ab502cfe6ef113e2
stagefright: Fix playback for mkv files with lacing

Most mkv files having 'lacing' in their audio section to save space.
Android did not handle this properly, sending all frames in the block
with the same time code, which causes stuttery playback.

Change-Id: I4dc76e7c2a53126c7fbdd3628fe7d339d2e3364e