mp3dec: Hide legacy stuff

Change-Id: I5ddcbda93634ecfff4d7a03fbeb2b96102b53c2b
stagefright: fix offloading HE-AAC sampling rate.

Fix HE AAC SBR sampling rate reading for explicit
signaling.

Bug: 11697128.
Change-Id: Ifec0ab9d48d9293f6774ec1efd9da9445994cb7c
libstagefright: Don't invoke FFMPEG for MP3

Change-Id: Ia30d25d1a994328827f14a286661cd2e1eaa1181
stagefright: More custodial engineering

Change-Id: I2c7c49da5e01a8e9806a26727a09f0ea74875fd3
stagefright: avoid crash while seeking MKV content

by returning from seek and avoid a NULL pointer access
if the cue-point for video cannot be found at intended
seek position.

CRs-Fixed: 681515
Change-Id: I4d60a1dcf70d162031a3df70ec2847d02dbc7ab1
audioflinger: remove wake lock implementation from APS

-AudioPolicyService is not able to acquire the wakelock.
 None of the Audio functionality is impacted though it always fails
 to hold the wakelock.

-APS tries to access wake lock directly using hardware_legacy APIs
 and it always fails due to lack of capability.

-Remove the wake lock implementation since it always fails and
 it does not impact any audio functionality.

Change-Id: I0055c188fb8d6fd70a27c3945f5e68addac8509b
stagefright: Do not drop encoded frames when writer is paused

Since the source drops input frames when paused, there is no
need to drop encoded frames in the writer as we run the risk
of dropping a key-frame.

Change-Id: I173f1ad2b610ad400ac43e0cd83ee1a7ed249b6b
CRs-Fixed: 682499
libstagefright: Disable smoothstreaming for secure playback

Disable Smoothstreaming if the property "mm.disable.sec_smoothstreaming"
is set.

CRs-Fixed: 664732

Change-Id: I36da2e3bf73c802166e62ea3bfadeac523663b77
media: Fix visibility of destructor

 * This was removed in 3ed51e2299931c8fe8b21ca5a4a0780a6846b2cc, but
   it is still needed by the legacy audio drivers.

Change-Id: If4da23077be8c00577b63991ad998fca41e85c01