Home | History | Annotate | Download | only in libmedia

Lines Matching full:guid

446 status_t AudioEffect::stringToGuid(const char *str, effect_uuid_t *guid)
448 if (str == NULL || guid == NULL) {
458 guid->timeLow = (uint32_t)tmp[0];
459 guid->timeMid = (uint16_t)tmp[1];
460 guid->timeHiAndVersion = (uint16_t)tmp[2];
461 guid->clockSeq = (uint16_t)tmp[3];
462 guid->node[0] = (uint8_t)tmp[4];
463 guid->node[1] = (uint8_t)tmp[5];
464 guid->node[2] = (uint8_t)tmp[6];
465 guid->node[3] = (uint8_t)tmp[7];
466 guid->node[4] = (uint8_t)tmp[8];
467 guid->node[5] = (uint8_t)tmp[9];
472 status_t AudioEffect::guidToString(const effect_uuid_t *guid, char *str, size_t maxLen)
474 if (guid == NULL || str == NULL) {
479 guid->timeLow,
480 guid->timeMid,
481 guid->timeHiAndVersion,
482 guid->clockSeq,
483 guid->node[0],
484 guid->node[1],
485 guid->node[2],
486 guid->node[3],
487 guid->node[4],
488 guid->node[5]);