Loading media/libaudiohal/impl/DeviceHalAidl.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -98,6 +98,7 @@ namespace { static constexpr int32_t kAidlVersion1 = 1; static constexpr int32_t kAidlVersion2 = 2; static constexpr int32_t kAidlVersion3 = 3; static constexpr int32_t kAidlVersion4 = 4; // Note: these converters are for types defined in different AIDL files. Although these // AIDL files are copies of each other, however formally these are different types Loading Loading @@ -184,7 +185,7 @@ status_t DeviceHalAidl::initCheck() { std::lock_guard l(mLock); RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mModule->getInterfaceVersion(&aidlVersion))); } if (aidlVersion > kAidlVersion3) { if (aidlVersion > kAidlVersion4) { mHasClipTransitionSupport = true; } else { AudioParameter parameterKeys; Loading Loading
media/libaudiohal/impl/DeviceHalAidl.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -98,6 +98,7 @@ namespace { static constexpr int32_t kAidlVersion1 = 1; static constexpr int32_t kAidlVersion2 = 2; static constexpr int32_t kAidlVersion3 = 3; static constexpr int32_t kAidlVersion4 = 4; // Note: these converters are for types defined in different AIDL files. Although these // AIDL files are copies of each other, however formally these are different types Loading Loading @@ -184,7 +185,7 @@ status_t DeviceHalAidl::initCheck() { std::lock_guard l(mLock); RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mModule->getInterfaceVersion(&aidlVersion))); } if (aidlVersion > kAidlVersion3) { if (aidlVersion > kAidlVersion4) { mHasClipTransitionSupport = true; } else { AudioParameter parameterKeys; Loading