Loading services/audiopolicy/common/managerdefinitions/src/IOProfile.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -68,7 +68,7 @@ bool IOProfile::isCompatibleProfile(const DeviceVector &devices, if (checkExactAudioProfile(&config) != NO_ERROR) { if (checkExactAudioProfile(&config) != NO_ERROR) { return false; return false; } } } else if (checkCompatibleAudioProfile( } else if (checkExactAudioProfile(&config) != NO_ERROR && checkCompatibleAudioProfile( myUpdatedSamplingRate, myUpdatedChannelMask, myUpdatedFormat) != NO_ERROR) { myUpdatedSamplingRate, myUpdatedChannelMask, myUpdatedFormat) != NO_ERROR) { return false; return false; } } Loading Loading
services/audiopolicy/common/managerdefinitions/src/IOProfile.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -68,7 +68,7 @@ bool IOProfile::isCompatibleProfile(const DeviceVector &devices, if (checkExactAudioProfile(&config) != NO_ERROR) { if (checkExactAudioProfile(&config) != NO_ERROR) { return false; return false; } } } else if (checkCompatibleAudioProfile( } else if (checkExactAudioProfile(&config) != NO_ERROR && checkCompatibleAudioProfile( myUpdatedSamplingRate, myUpdatedChannelMask, myUpdatedFormat) != NO_ERROR) { myUpdatedSamplingRate, myUpdatedChannelMask, myUpdatedFormat) != NO_ERROR) { return false; return false; } } Loading