Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DIOProfile.cpp49 const bool isRecordThread = mType == AUDIO_PORT_TYPE_MIX && mRole == AUDIO_PORT_ROLE_SINK; in isCompatibleProfile() local
50 ALOG_ASSERT(isPlaybackThread != isRecordThread); in isCompatibleProfile()
71 if (isRecordThread && checkCompatibleSamplingRate(samplingRate, &myUpdatedSamplingRate) != in isCompatibleProfile()
83 if (isRecordThread && checkCompatibleFormat(format, &myUpdatedFormat) != NO_ERROR) { in isCompatibleProfile()
92 if (isRecordThread && (!audio_is_input_channel(channelMask) || in isCompatibleProfile()
104 if (isRecordThread && ((mFlags ^ flags) & in isCompatibleProfile()
DAudioPort.cpp444 const bool isRecordThread = mType == AUDIO_PORT_TYPE_MIX && mRole == AUDIO_PORT_ROLE_SINK; in checkCompatibleChannelMask() local
459 if (isRecordThread && supported != AUDIO_CHANNEL_NONE) { in checkCompatibleChannelMask()