Searched refs:totalDuration (Results 1 – 1 of 1) sorted by relevance
313 int updateWLength(uint32_t totalDuration) { in updateWLength() argument323 if (totalDuration > 0x7FFFF) { in updateWLength()324 ALOGE("%s: Invalid argument: %u", __func__, totalDuration); in updateWLength()327 totalDuration *= 8; /* Unit: 0.125 ms (since wlength played @ 8kHz). */ in updateWLength()328 totalDuration |= in updateWLength()330 *(f + 0) = (totalDuration >> 24) & 0xFF; in updateWLength()331 *(f + 1) = (totalDuration >> 16) & 0xFF; in updateWLength()332 *(f + 2) = (totalDuration >> 8) & 0xFF; in updateWLength()333 *(f + 3) = totalDuration & 0xFF; in updateWLength()866 uint16_t totalDuration = 0; in compose() local[all …]