Loading services/audiopolicy/managerdefault/AudioPolicyManager.cpp +9 −2 Original line number Diff line number Diff line Loading @@ -2622,8 +2622,15 @@ status_t AudioPolicyManager::startSource(const sp<SwAudioOutputDescriptor>& outp // a volume ramp if there is no mute. requiresMuteCheck |= sharedDevice && isActive; if (needToCloseBitPerfectOutput && desc->isBitPerfect()) { if (desc->isBitPerfect()) { if (needToCloseBitPerfectOutput) { outputsToReopen.push_back(desc); } else if (!desc->devices().filter(devices).isEmpty()) { // There is an active bit-perfect playback on one of the targeted device, // the client should be reattached to the bit-perfect thread. ALOGD("%s, fails as there is bit-perfect playback active", __func__); return DEAD_OBJECT; } } } } Loading Loading
services/audiopolicy/managerdefault/AudioPolicyManager.cpp +9 −2 Original line number Diff line number Diff line Loading @@ -2622,8 +2622,15 @@ status_t AudioPolicyManager::startSource(const sp<SwAudioOutputDescriptor>& outp // a volume ramp if there is no mute. requiresMuteCheck |= sharedDevice && isActive; if (needToCloseBitPerfectOutput && desc->isBitPerfect()) { if (desc->isBitPerfect()) { if (needToCloseBitPerfectOutput) { outputsToReopen.push_back(desc); } else if (!desc->devices().filter(devices).isEmpty()) { // There is an active bit-perfect playback on one of the targeted device, // the client should be reattached to the bit-perfect thread. ALOGD("%s, fails as there is bit-perfect playback active", __func__); return DEAD_OBJECT; } } } } Loading