Lines Matching full:duration
43 "duration",
244 // This is an ugly hack since OpenCore returns duration in the following two formats:
245 // 1. duration;valtype=uint32 (the duration is an integer representing milliseconds)
246 // 2. duration;valtype=uint32;timescale=8000 (the duration is an integer representing the
247 // duration in a timescale of 8 kHz)
248 // It would be nice to have OpenCore always return duration in the first format.
249 // PV will study on fixing this to always return duration in the first format.
251 const char* durKeyStr = "duration";
260 int duration = (mMetadataValueList[i].value.uint32_value * 1000LL) / timescale;
261 oscl_snprintf(value, valueLength, "%d", duration);