frameworks/media: Fix aliasing violations

Change-Id: I0c3ad4d935abe6cf6df222f7d70381d868f15fe8
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
downmix: Fix aliasing violation

Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
EffectVisualizer: Fix aliasing violations

Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
frameworks/av: Fix build in ISO C++ 11 mode

Fix build in ISO C++ 11 mode: constructs that are being interpreted as
new string literals and const vs. constexpr

Change-Id: Ibdf4867da37b819b1a499180edcf7ad480b6b9de
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
av: More ISO C++ 11 fixes

Change-Id: I84bfab66d561cb0ded6e312b8cfe02e5fe2a182f
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
av: Fix build in ISO C++11 mode

Change-Id: I461d8ce5b24afedee245a6441b600df286c76b63
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
av: Fix compile errors

Don't use memcpy() on areas that may overlap
Fix aliasing violation

Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
fix typo in a previous commit

Change-Id: I226ea02d844e2daba4080f1902694d1511664690
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
libstagefright: audioflinger: use no strict aliasing for now

Change-Id: Ie16c84cd63418800953ee8105b0dc338d87e8aa5
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
libcameraservice: Fix build in ISO C++11 mode

Change log macro define so it can't be confused for a C++11 string
literal

Change-Id: Idcc8085735177aa3313fdea66dc0736cca749f9b
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
Fix SoundPool.play() looping regression in 4.3 DO NOT MERGE

The change I7370d6e59a7ef26dfb284a8b058d5ab2e0a42ccf caused a regression
in SoundPool looping when using SoundPool's streaming implementation.
This reverts a portion of that change.

Bug: https://code.google.com/p/android/issues/detail?id=58113
Bug: 10171337
Change-Id: I8af0dc8683a7c7f225c80f0eb4d39770667b52e5
libmedia: Featurize QCOM's VOIP feature

 * Not all targets will support this.

Change-Id: I89a444c9ac8be3dfcaeedb599179e31383fdfec2
audioflinger: Fix for race conditions in direct audio track

-Issue: Mediaserver crash is observed in direct track functions.
-Rootcause: Between write and flush functions, write and destructor
effectpool buffers are accessed without any synchronization that
might lead to operations on null buffers and cause crash.
-Fix: Use mEffectLock to synchronize access of effectpool buffers.

CRs-Fixed: 515107
cherrypicked from Ib071361c65b390f9486c0a080a9391f176392b30

Change-Id: Id9e14a054d699ec803e23619ef475696b0021d4f
Fix typo

Change-Id: I179187b33f666dff88b57a4c24d7507eee0219cd
Signed-off-by: Rohan Mathur <rohanmathur34@gmail.com>
Add Camera sound toggle [3/3]

Adds a toggle to disable camera sounds.

Credits: AOKP

Change-Id: I62e0d2eeea539db4b2769e857fdc766ab3bab822
Fixed Derp

Change-Id: I4619d4077a5c43658a33ae930e799f7fc019bfd0

Conflicts:
	services/camera/libcameraservice/CameraService.cpp

Conflicts:
	services/camera/libcameraservice/CameraService.cpp
Fixed my damn Derp!

!!!Human stupidity is infinite!!!

Change-Id: I44dd4ee33f882c080c67500824740232cdc7c597
Merge remote-tracking branch 'linaro/linaro_android_4.3' into jb3
Fix av libcameraservice merge derp
Audio: Fix Visualizer's get/set parameter methods not worked bug

This commit fixes broken Visualizer's get/set parameter methods.
The bug was introduced by modifications to avoid complilation errors.(*1,*2)

(*1) 91b6deea4562bbec7713f6796a6ecff200424832

    frameworks/media: Fix aliasing violations

(*2) bf935694368da97e79004b8197a5f6f2e9460c11

    EffectVisualizer: Fix aliasing violations