summaryrefslogtreecommitdiffstats
path: root/media/mediaserver
Commit message (Collapse)AuthorAgeFilesLines
* add sound trigger native serviceEric Laurent2014-06-042-2/+6
| | | | Change-Id: I0cd954c1c7d28a334e786d0004431d4f6a1227ec
* Merge "audio policy: split audio policy library"Eric Laurent2014-05-221-1/+1
|\
| * audio policy: split audio policy libraryEric Laurent2014-05-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Split audio policy library into a service part and a policy part. This will allow OEMs to customize the policy part: - libaudiopolicyservice for the service. - libaudiopolicymanager for the policy. Two build options can be defined in device make file to select the policy library: - USE_LEGACY_AUDIO_POLICY = 1: this will use the legacy policy in hardware/libhardware_legacy implemented by AudioPolicyManagerBase class. This policy is loaded as a harware module and exposes the audio policy HAL defined in include/hardware/audio_policy.h and is in a library called audio_policy.XXX.so (e.g audio_policy.default.so) The legacy HAL will not be updated with new features. If USE_LEGACY_AUDIO_POLICY is not defined, the policy is implemented by a class named AudioPolicyManager exposing an interface defined in AudioPolicyInterface.h. The corresponding library is libaudiopolicymanager.so. New features will be added only to AudioPolicyInterface.h The default implementation is provided here in file AudioPolicyManager.cpp OEMs wanting to cutomize the policy can implement the AudioPolicyManager class and provide the libaudiopolicymanager.so library. In this case the device make file should define: - USE_CUSTOM_AUDIO_POLICY = 1 For now, USE_LEGACY_AUDIO_POLICY = 1 is forced in audio policy service make file. This will be removed when the new audio policy is enabled. Change-Id: I066799dacc9b182b468a43d48ff7798c9109a414
* | Pass stereo gains as packed minifloatGlenn Kasten2014-05-191-1/+2
|/ | | | | | | | | | This will allow (eventually) a greater dynamic range for gains. However there are still a few remaining places in effects and mixer that will also need to be changed in order to get the full benefit. Also fixes a minor bug: was not checking for NaN in AudioTrack C++. Change-Id: I63bce9e82e0a61546d8ff475fb94bcb700d99c96
* Merge "move audio policy service to a separate library"Eric Laurent2014-03-181-0/+2
|\
| * move audio policy service to a separate libraryEric Laurent2014-03-111-0/+2
| | | | | | | | Change-Id: Ibc3ef07aa9860b7fd4f9aaff27b0dbe0dcbf1cbf
* | resolved conflicts for merge of 3c780188 to masterGlenn Kasten2014-03-141-0/+1
|\ \ | |/ |/| | | Change-Id: Ic579d346c27ff05ea6444faaa60fa6caaec86fbf
| * mediaserver and associated services are 32-bit onlyGlenn Kasten2014-03-121-0/+1
| | | | | | | | | | | | also 32-bit only command-line apps Change-Id: I9ac557a8d02bbf6986a9b5c3cdce23d400b306a3
| * Add liblogYing Wang2013-04-091-0/+1
| | | | | | | | | | Bug: 8580410 Change-Id: If493d87d60d71be664ad75b140c62acadb75b0d0
| * Permit conditional registry of mediaserver extensionsGlenn Kasten2013-02-204-0/+57
| | | | | | | | Change-Id: I94dc0d038e702dfe1779a50a1de0fae9bad15057
| * Add media.log service based on NBLogGlenn Kasten2013-01-252-9/+101
| | | | | | | | Change-Id: Ie45093df6ac9a739d05c8d408fab52a9a8a27e7f
| * Remove obsolete audioflinger referenceGlenn Kasten2013-01-181-3/+1
| | | | | | | | Change-Id: I9ae754c908f3b0102c3828c71d6f542851a74341
| * Ignore SIGPIPE during write() to broken pipeGlenn Kasten2012-10-171-0/+1
| | | | | | | | | | | | | | This happens occasionally when taking a bugreport. Bug: 6447319 Change-Id: Ia6531a4a3658461f8fd3f7106e7996da7cc5933a
* | Fix unused parameter warnings in audioGlenn Kasten2014-02-031-1/+1
| | | | | | | | Change-Id: I665ba3358dd9502f0adec70d486e7bf8a2e1b0fe
* | Fix build. Missing vendor_tag header.Ruben Brunk2014-01-171-0/+1
| |
* | Add liblogYing Wang2013-04-091-0/+1
| | | | | | | | | | Bug: 8580410 Change-Id: If493d87d60d71be664ad75b140c62acadb75b0d0
* | Permit conditional registry of mediaserver extensionsGlenn Kasten2013-02-204-0/+57
| | | | | | | | Change-Id: I94dc0d038e702dfe1779a50a1de0fae9bad15057
* | Add media.log service based on NBLogGlenn Kasten2013-01-252-9/+101
| | | | | | | | Change-Id: Ie45093df6ac9a739d05c8d408fab52a9a8a27e7f
* | Remove obsolete audioflinger referenceGlenn Kasten2013-01-181-3/+1
| | | | | | | | Change-Id: I9ae754c908f3b0102c3828c71d6f542851a74341
* | Ignore SIGPIPE during write() to broken pipeGlenn Kasten2012-10-171-0/+1
|/ | | | | | | This happens occasionally when taking a bugreport. Bug: 6447319 Change-Id: Ia6531a4a3658461f8fd3f7106e7996da7cc5933a
* Add NOTICE and MODULE_LICENSE_APACH2 to libs build under /frameworks/av/James Dong2012-06-132-0/+190
| | | | | Change-Id: I0a3af3e2abdedebd5934f3d941d01c32cfc75e26 related-to-bug: 6647465
* AV Android make files changesJames Dong2012-03-281-4/+4
| | | | | | | o plus a few file relocation: ActivityManager.cpp/h, SoundPool.h, etc o remove some runtime dependencies to libandroid, libandroid_runtime, etc Change-Id: I047a47c5fb361dd5cf85cd98798c39f629a75d10
* Merge "Prepare frameworks/native/services/audioflinger"Glenn Kasten2012-03-141-5/+5
|\
| * Prepare frameworks/native/services/audioflingerGlenn Kasten2012-03-131-5/+5
| | | | | | | | | | | | Part of this change will be reverted after the move is complete. Change-Id: Ie7f6355368258f2b1344f4ef754da9151a06e41d
* | Use correct syntax for #include <> ""Glenn Kasten2012-03-131-4/+6
|/ | | | Change-Id: I943137108668ae66f8eba18dafe069a7951bcd8f
* Merge "Fix missing tag in mediaserver ServiceManager: log"Glenn Kasten2012-01-111-0/+2
|\
| * Fix missing tag in mediaserver ServiceManager: logGlenn Kasten2012-01-061-0/+2
| | | | | | | | Change-Id: I2d5525ffee0b66c0bc361a02b313ec4dd61e6552
* | Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGESteve Block2012-01-041-1/+1
|/ | | | | | | See https://android-git.corp.google.com/g/156801 Bug: 5449033 Change-Id: Ib08fe86d23db91ee153e9f91a99a35c42b9208ea
* Delete obsolete includesGlenn Kasten2011-12-121-6/+0
| | | | Change-Id: I960a179a026ff8d710b43b64cb358f18ee04de16
* move native services under services/Mathias Agopian2010-07-141-2/+2
| | | | | | | | moved surfaceflinger, audioflinger, cameraservice all native services should now reside in this location. Change-Id: Iee42b83dd2a94c3bf5107ab0895fe2dfcd5337a8
* Fix issue 1795088 Improve audio routing codeEric Laurent2009-07-231-0/+2
| | | | | | | Initial commit for review. Integrated comments after patch set 1 review. Fixed lockup in AudioFlinger::ThreadBase::exit() Fixed lockup when playing tone with AudioPlocyService startTone()
* move libbinder's header files under includes/binderMathias Agopian2009-05-201-3/+3
|
* checkpoint: split libutils into libutils + libbinderMathias Agopian2009-05-201-1/+2
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-032-0/+67
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-032-67/+0
|
* Initial ContributionThe Android Open Source Project2008-10-212-0/+67