summaryrefslogtreecommitdiffstats
path: root/services/audiopolicy/common/managerdefinitions/src/IOProfile.cpp
diff options
context:
space:
mode:
authorFrançois Gaffie <francois.gaffie@intel.com>2015-03-19 09:24:12 +0100
committerJean-Michel Trivi <jmtrivi@google.com>2015-04-01 10:22:42 -0700
commit53615e29c99c5e9d2ca77aaefd7bf5c770513120 (patch)
tree18a576affc2dcecdc1431027f6d348ef0678cae0 /services/audiopolicy/common/managerdefinitions/src/IOProfile.cpp
parent98cc191247388132b6fd8a4ecd07abd6e4c5a0ed (diff)
downloadframeworks_av-53615e29c99c5e9d2ca77aaefd7bf5c770513120.zip
frameworks_av-53615e29c99c5e9d2ca77aaefd7bf5c770513120.tar.gz
frameworks_av-53615e29c99c5e9d2ca77aaefd7bf5c770513120.tar.bz2
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>
Diffstat (limited to 'services/audiopolicy/common/managerdefinitions/src/IOProfile.cpp')
-rw-r--r--services/audiopolicy/common/managerdefinitions/src/IOProfile.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/services/audiopolicy/common/managerdefinitions/src/IOProfile.cpp b/services/audiopolicy/common/managerdefinitions/src/IOProfile.cpp
index 0214a2b..376dd22 100644
--- a/services/audiopolicy/common/managerdefinitions/src/IOProfile.cpp
+++ b/services/audiopolicy/common/managerdefinitions/src/IOProfile.cpp
@@ -37,12 +37,12 @@ IOProfile::~IOProfile()
// Sampling rate, format and channel mask must be specified in order to
// get a valid a match
bool IOProfile::isCompatibleProfile(audio_devices_t device,
- String8 address,
- uint32_t samplingRate,
- uint32_t *updatedSamplingRate,
- audio_format_t format,
- audio_channel_mask_t channelMask,
- uint32_t flags) const
+ String8 address,
+ uint32_t samplingRate,
+ uint32_t *updatedSamplingRate,
+ audio_format_t format,
+ audio_channel_mask_t channelMask,
+ uint32_t flags) const
{
const bool isPlaybackThread = mType == AUDIO_PORT_TYPE_MIX && mRole == AUDIO_PORT_ROLE_SOURCE;
const bool isRecordThread = mType == AUDIO_PORT_TYPE_MIX && mRole == AUDIO_PORT_ROLE_SINK;