730b926555ccb9ad5f7d4c47bf01ade526cceef0 |
|
30-Mar-2018 |
Glenn Kasten <gkasten@google.com> |
Make AudioPolicyManager::getInputForDevice prefer profile match on input fast flag Bug: 77292903 Test: log name of selected profile Change-Id: Idad75627f399f01f353d49d5fd78d7cdb2953d60
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/IOProfile.cpp
|
7a098c5e4366b9e2503b0211a82463e8a1cb0525 |
|
07-Dec-2017 |
Hongwei Wang <hwwang@google.com> |
Check audio profile by config mask Bug: 68231490 Test: lunch gcar_emu-x86 && m -j Change-Id: I8f63fb75ff0095a9855db3846ae9bb310bf934ee
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/IOProfile.cpp
|
3974e3b22856ef35dd73760056ff38b7a4062176 |
|
08-Dec-2017 |
Eric Laurent <elaurent@google.com> |
Revert "Revert "audio policy: add open and active count for IO profiles"" This reverts commit 7b0e95327267f08e36b38fdd8fb2624e251b8e97.
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/IOProfile.cpp
|
1b2a794a27caab3a1320d22b872b04ef73e96555 |
|
08-Dec-2017 |
Mikhail Naganov <mnaganov@google.com> |
audiopolicy: Remove ; after namespace bracket Semicolons are not needed after the closing bracket of a namespace, remove it. Test: compiles Change-Id: Ie82930365f738fd9c95a9163839a68b772e49d95
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/IOProfile.cpp
|
7b0e95327267f08e36b38fdd8fb2624e251b8e97 |
|
07-Dec-2017 |
Eric Laurent <elaurent@google.com> |
Revert "audio policy: add open and active count for IO profiles" Bug: 70319466 This reverts commit f05fc9061254a3329bf0a3b40e27cac87b51b4cc.
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/IOProfile.cpp
|
f05fc9061254a3329bf0a3b40e27cac87b51b4cc |
|
21-Nov-2017 |
Eric Laurent <elaurent@google.com> |
audio policy: add open and active count for IO profiles Remove the hardcoded limit of one open output stream per IO profile and add a max open count per IO profile. Same thing for maximum number of active input streams per IO profile. Now both the maximum number of opened streams and active streams for a given profile is stored in that profile. For now only defaults are set corresponding to legacy behavior, but these values will be loaded form the audio policy configuration file. Test: AudioTrack and AudioRecord CTS tests Change-Id: I5ebcc7f8a06b3f0a52815d241c561bb65e036026
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/IOProfile.cpp
|
e964d4e421e2d1ca937227a580c0c837091a11e3 |
|
09-Aug-2016 |
Chih-Hung Hsieh <chh@google.com> |
Fix clang-tidy warnings in audio and playerservice. * Add explicit keyword to conversion constructors. Bug: 28341362 * Use const reference type for read-only parameters. Bug: 30407689 Test: build with WITH_TIDY=1 Change-Id: I265f3b094e08d5705b506b3fbba51439c134af84
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/IOProfile.cpp
|
6163904559247601e9a0834a3c09341862bcff95 |
|
21-Apr-2016 |
Mikhail Naganov <mnaganov@google.com> |
Symbolize flags of IOProfile in dumps Sample symbolization: - flags: 0x0006 (AUDIO_OUTPUT_FLAG_PRIMARY|AUDIO_OUTPUT_FLAG_FAST) - flags: 0x0008 (AUDIO_OUTPUT_FLAG_DEEP_BUFFER) - flags: 0x0031 (AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING) - flags: 0x0104 (AUDIO_OUTPUT_FLAG_FAST|AUDIO_OUTPUT_FLAG_RAW) Change-Id: Id155cffea4e1defb1e0c2c1d24b869d4151b14e3
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/IOProfile.cpp
|
05ddca504ce8e0e61b41e5c1aebea72086eea57b |
|
11-Feb-2016 |
Glenn Kasten <gkasten@google.com> |
AudioPolicy: capture sample rate 0 is route-specific default Bug: 25641253 Bug: 21019153 Change-Id: I7d193640572c08ab5e5f1ecfc8ad6d31635967dd
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/IOProfile.cpp
|
f4ad6e5637b6deccdac4b60615383f290b3806cf |
|
19-Nov-2015 |
François Gaffie <francois.gaffie@intel.com> |
Audio policy: implement configuration file in XML This patch introduces configuration file of the policy in XML. Legacy configuration file is used by default and compilation flag USE_XML_AUDIO_POLICY_CONF must be defined to use XML file format. Change-Id: I352b788b5829d42ed82c851a4faef0e526be582e Signed-off-by: François Gaffie <francois.gaffie@intel.com>
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/IOProfile.cpp
|
cbb3044d6bfa9ab30c83b67874f40344e29805e1 |
|
19-Nov-2015 |
François Gaffie <francois.gaffie@intel.com> |
audio policy: introduce audio route concept As a preambule of introduction of topology concept within audio policy configuration file, this patch introduces the notion of audio route, i.e. a link between one sink and one or more sources. This link may be shareable (mix) or mutual exclusive (mux). From this route concept, and in order to keep backward compatibility, the supported device of ioprofile (what will become AudioMixPort) must be updated. Change-Id: If078830dbe74b003be4a64c584521df481101294 Signed-off-by: François Gaffie <francois.gaffie@intel.com>
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/IOProfile.cpp
|
112b0af826aeca45855690b9c105b2cdf9938bbe |
|
19-Nov-2015 |
François Gaffie <francois.gaffie@intel.com> |
audio policy: introduction of AudioProfile In order to be able to declare the possible sample specifications for an Audio Port (a given format, a list of sample rates, a list of channels), a new object AudioProfile is introduced. Change-Id: Ie3ca3400f05984e7b4132fc7ba90020eb4d998c7 Signed-off-by: François Gaffie <francois.gaffie@intel.com>
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/IOProfile.cpp
|
a8ecc2c72ca26389bd6b0162181d60aaeaca8149 |
|
09-Nov-2015 |
François Gaffie <francois.gaffie@intel.com> |
audio policy: remove deserialization from policy objects This patch removes the responsability of the deserialization of all objects managed by the policy by: -adding required accessors -moving deserialization function to Config parser helper -adds a TypeConverter to associate string to / from values of all audio enumeration shared between HALs and policy. Change-Id: I1ce798848f4657b37e47446c9fbdc63f7ed0390e Signed-off-by: François Gaffie <francois.gaffie@intel.com>
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/IOProfile.cpp
|
f129b03fa583d4cc26fd9c9171b8fb3b0ed8d4f4 |
|
07-Apr-2015 |
Andy Hung <hunga@google.com> |
Enable 8 bit and float pcm record formats for AudioPolicyManager Add capability for handling different record channel masks. Change-Id: I63f6b029aca5cefff7adf26198a3b594a7ea2d71
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/IOProfile.cpp
|
322b4d25387a04c9afebe998326d005bbdf17ede |
|
04-Apr-2015 |
Eric Laurent <elaurent@google.com> |
audio policy: fix unique audio port ID. Remove mId member from AudioPort as it was shadowed by mId in DeviceDescriptor. Add getters for Id, and HW module name and version to device, output and input descriptors. Fix DeviceDescriptor name initialization. Change-Id: I4a69f385e40330954d9dad5f2926c521f60b2ec1
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/IOProfile.cpp
|
53615e29c99c5e9d2ca77aaefd7bf5c770513120 |
|
19-Mar-2015 |
François Gaffie <francois.gaffie@intel.com> |
Migrate helper functions from managerdefault to common This patch moves from manager to common: -parse helper functions of the policy configuration file -collection helper function on -output / input descriptors -DeviceDescriptor -AudioPatch / Audio Port -IO Profile -HwModule Change-Id: If45e53418db75af1af198f43c4ef27884499055f Signed-off-by: François Gaffie <francois.gaffie@intel.com>
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/IOProfile.cpp
|
98cc191247388132b6fd8a4ecd07abd6e4c5a0ed |
|
18-Mar-2015 |
François Gaffie <francois.gaffie@intel.com> |
Split ManagerDefault into Manager and ManagerDefinitions This patch splits the managerdefault into a manager and a manager defintion library that contains all pillar elements of a policy manager. It renames the file with the name of the main class they contains. It splits the AudioPort into AudioPort and AudioPatch. Change-Id: I992cf0b8aed895805cc003ba0980d2c9e92c985b Signed-off-by: François Gaffie <francois.gaffie@intel.com>
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/IOProfile.cpp
|