Home
last modified time | relevance | path

Searched refs:isPlaybackThread (Results 1 – 1 of 1) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DIOProfile.cpp48 const bool isPlaybackThread = mType == AUDIO_PORT_TYPE_MIX && mRole == AUDIO_PORT_ROLE_SOURCE; in isCompatibleProfile() local
50 ALOG_ASSERT(isPlaybackThread != isRecordThread); in isCompatibleProfile()
68 if (isPlaybackThread && checkExactSamplingRate(samplingRate) != NO_ERROR) { in isCompatibleProfile()
79 if (isPlaybackThread && checkExactFormat(format) != NO_ERROR) { in isCompatibleProfile()
87 if (isPlaybackThread && (!audio_is_output_channel(channelMask) || in isCompatibleProfile()
97 if (isPlaybackThread && (mFlags & flags) != flags) { in isCompatibleProfile()