Lines Matching defs:keyInfo
598 SLMetadataInfo *keyInfo, *value;
600 keyInfo = NULL; keySize = 0;
606 keyInfo = (SLMetadataInfo*) malloc(keySize);
607 if (NULL != keyInfo) {
608 res = (*mdExtrItf)->GetKey(mdExtrItf, i, keySize, keyInfo);
611 i, keyInfo->size, keyInfo->data, valueSize, keyInfo->encoding,
612 keyInfo->langCountry);
614 if (!strcmp((char*)keyInfo->data, ANDROID_KEY_PCMFORMAT_NUMCHANNELS)) {
616 } else if (!strcmp((char*)keyInfo->data, ANDROID_KEY_PCMFORMAT_SAMPLERATE)) {
618 } else if (!strcmp((char*)keyInfo->data, ANDROID_KEY_PCMFORMAT_BITSPERSAMPLE)) {
620 } else if (!strcmp((char*)keyInfo->data, ANDROID_KEY_PCMFORMAT_CONTAINERSIZE)) {
622 } else if (!strcmp((char*)keyInfo->data, ANDROID_KEY_PCMFORMAT_CHANNELMASK)) {
624 } else if (!strcmp((char*)keyInfo->data, ANDROID_KEY_PCMFORMAT_ENDIANNESS)) {
627 printf("Unknown key %s ignored\n", (char *)keyInfo->data);
629 free(keyInfo);