3e9e728ef329e49424d5878c682bf82dac5009ef |
|
23-Nov-2016 |
Yunlian Jiang <yunlian@google.com> |
Merge "fix Potential leak of memory pointed to by 'sourcesLiteral'" am: fa81ba8775 am: e16a2029e0 am: 228b9dec45 am: 504a885be0 Change-Id: Iba5669ae28b61114a9357291e9ff5ac63ba7ad63
|
cc7c0d6fff90c867f661b795e803043aee4d0bb8 |
|
16-Nov-2016 |
Yunlian Jiang <yunlian@google.com> |
fix Potential leak of memory pointed to by 'sourcesLiteral' Bug: none Test: the warning is gone. Change-Id: I8fe9610e24e31e3f788d00fa7f594e1274771433
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/Serializer.cpp
|
913d06c099bd689375483a839e11057ccf284d1c |
|
01-Nov-2016 |
Mikhail Naganov <mnaganov@google.com> |
Move TypeConverter into a shared library This will be needed for the default implementation of the audio HAL in TREBLE for parsing supported formats etc. provided by HAL in a form of string literals. As a bonus, remove some hand-written type conversions in AudioFlinger used in dumps. Example changes in the dump output: HAL format: 0x1 (pcm16) ==> HAL format: 0x1 (AUDIO_FORMAT_PCM_16_BIT) Processing format: 0x5 (pcmfloat) ==> Processing format: 0x5 (AUDIO_FORMAT_PCM_FLOAT) Output device: 0x2 (SPEAKER) ==> Output device: 0x2 (AUDIO_DEVICE_OUT_SPEAKER) Input device: 0 (NONE) ==> Input device: 0 (AUDIO_DEVICE_NONE) AudioStreamOut: 0x... flags 0x6 (PRIMARY|FAST) ==> AudioStreamOut: 0x... flags 0x6 (AUDIO_OUTPUT_FLAG_PRIMARY|AUDIO_OUTPUT_FLAG_FAST) Test: make & run Change-Id: I9cde640e6827b7aa6d62e9caade9e738227e299f
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/Serializer.cpp
|
9ee0540d3a61bff03d561ca431a371c3d9335d2b |
|
14-Oct-2016 |
Mikhail Naganov <mnaganov@google.com> |
Remove last references to hardware/audio.h DeviceHalInterface transitioned to "capabilities" model (similar to the one already used by streams, e.g. 'supportsDrain'). No direct checking of the HAL version is needed. AudioPolicy uses its own version read from the configuration, and these values never checked against the actual HAL version, thus it does not need versions and macroses from hardware/*. Test: make & run on N6P Change-Id: Ic4a56bfa19a9a61edac2b9f9a163fd8f63a0ff87
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/Serializer.cpp
|
19219b44e05555b29e00ce56ce273d168fa83888 |
|
25-Jan-2016 |
François Gaffie <francois.gaffie@intel.com> |
audio policy: use reference for all default volume table This patch migrates all default volume tables as reference volume tables. No implicit volume tables is allowed any more, the reference must be given for all stream type and device category. It allows removing the WA that was introduce to use the stream CNT to host the default volume tables. Change-Id: I19f5e9d2a62d448f0f8447f93acbbd2e1a723958 Signed-off-by: François Gaffie <francois.gaffie@intel.com>
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/Serializer.cpp
|
c9d7c4e35afd48ac8a315f53666943b6210dafa1 |
|
22-Jan-2016 |
François Gaffie <francois.gaffie@intel.com> |
audio policy: allows to use reference for volume table This patch allows to definie reference attribute within XML Volume Element and define a reference volume curve. It allows to factorize efficiently and avoid too much XML duplication. Change-Id: I462808ea38d7a39e1e20fe7090a6ebee0cb3c39b Signed-off-by: François Gaffie <francois.gaffie@intel.com>
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/Serializer.cpp
|
d1ab2bd4f1ea166a7e9e81cfd7f3e5dd47135d4d |
|
02-Dec-2015 |
François Gaffie <francois.gaffie@intel.com> |
audio policy: move volume table to XML file This patch allows to store in XML file volume tables. The compatibility is maintained for legacy conf file. Configurable Engine is only compatible with new XML conf. This patch removes from configurable engine Structure / Settings the volume table but keep the configurabllity of switching volume profiles from one another according to criteria like phone state... (ex: DTMF stream type is following Voice Profile in call) Change-Id: I78c91bc3378b6c47202abe7b5c1c1e011ff62eed Signed-off-by: François Gaffie <francois.gaffie@intel.com>
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/Serializer.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/Serializer.cpp
|