Squashed "audio changes to make soundrecorder work":

commit 87d6b31dbcb17448b300ed6a3feaed28e27c64a1
Author: vivek mehta <mvivek@codeaurora.org>
Date:   Mon Dec 3 17:22:08 2012 -0800

    Squashed commit of audio changes from CodeAurora

    MediaFile: Add DIVX and MPEG2TS file format

    Change-Id: I9f8cfbe8138c6d3d0d824bff2542b91d72a06b82

    audio: Define ANC headset and proxy device

    Change-Id: I681d73433d874ec66ec0b1f1f39869008d7d7d0d
    (cherry picked from commit 1e6c410eadfc510a9f116bb3da142214fe761225)

    audio: add support for QCOM WiFi display

    - Define QCOM WFD intents
    - Register and handle WFD intends in AudioSystem

    Change-Id: I1e5a73d4aa5595bed44d24652647c12b7ef4ae1f

    audio: add support for QCOM audio formats

    - Add support for EVRC, QCELP, and WMA formats

    Change-Id: If3676b88fa287b484ef8616c0a6b67177b61a720

    PhoneWindowManager: Changes for WFD.

    - WFD now sends WIFI_DISPLAY_VIDEO intent to set UI orientation.
    - PhoneWindowManager to listen for WFD intents.
    - Display on WFD should be same as seen on the HDMI, so set the
      orientation to HDMI orientation

    Change-Id: I638adaa906e2151b1c6ae496343714fe828f5dbd

    audio: add support for QCOM vocoders

    - Add support for EVRC,QCELP and other
      QCOM vocoders

    Change-Id: I9b2a18fe7d01a9198eb470e94e7176b7a6da2c7c

    Conflicts:
    	core/jni/android_media_AudioTrack.cpp
    	media/java/android/media/AudioRecord.java
    	media/java/android/media/AudioService.java
    	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java

commit 9a6da007f30e332ccae1e6caf3cd372a2c64be11
Author: Krishnankutty Kolathappilly <kkolat@codeaurora.org>
Date:   Tue Apr 30 18:41:48 2013 -0700

    frameworks/base: Add wifi display to fixed volume devices

    Wifi display should be treated as device with fixed volume like HDMI.
    User should not be able to change the volume on device. Volume
    change should be supported only on the end device
    CRs-Fixed: 480334

    Change-Id: I2e41e9aef01167d1bdca3bca09ed863834dae1d8

    Conflicts:
    	media/java/android/media/AudioService.java

commit 37f0ae163d7cdfa01db96a452220f475363aec47
Author: SanthoshHE <skhara@codeaurora.org>
Date:   Tue Jul 23 11:25:43 2013 +0530

    media: Configure audio encode parameters only for valid audio codec

    Added extra check for audio codec in profile

    Change-Id: Idc83bcc6d77361bd298bbff3eee1d0132e5498ea
    CRs-fixed: 513887

commit 57f13cafe70ff56fb139445acd69a7032c7ea3a4
Author: Kim Zhang <xiazhang@codeaurora.org>
Date:   Thu Aug 29 17:21:51 2013 +0800

    MediaRecorder: add pause interface

    --add pause in java level
    --add pause in jni level

    Change-Id: I7f2d5d5ebb97716458b55a5780fd6cc3d09e9f11

Change-Id: Ia7ad6e7bce7d929413bb0a18404959aeea10dd0b