Searched refs:segmentIdx (Results 1 – 1 of 1) sorted by relevance
337 int updateNSection(int segmentIdx) { in updateNSection() argument345 if (segmentIdx > COMPOSE_SIZE_MAX + 1 /*1st effect may have a delay*/) { in updateNSection()346 ALOGE("%s: Invalid argument: %d", __func__, segmentIdx); in updateNSection()349 *(f + 2) = (0xFF & segmentIdx); in updateNSection()351 if (segmentIdx > COMPOSE_PWLE_SIZE_MAX_DEFAULT) { in updateNSection()352 ALOGE("%s: Invalid argument: %d", __func__, segmentIdx); in updateNSection()355 *(f + 7) |= (0xF0 & segmentIdx) >> 4; /* Bit 4 to 7 */ in updateNSection()356 *(f + 9) |= (0x0F & segmentIdx) << 4; /* Bit 3 to 0 */ in updateNSection()1253 int segmentIdx = 0; in composePwle() local1294 incrementIndex(&segmentIdx); in composePwle()[all …]