Searched refs:hasAudio (Results 1 – 2 of 2) sorted by relevance
680 bool hasAudio = false; in parseMetaData() local702 if (!hasAudio && !strncasecmp("audio/", mime, 6)) { in parseMetaData()703 hasAudio = true; in parseMetaData()739 if (hasAudio) { in parseMetaData()756 if (numTracks == 1 && hasAudio && audioBitrate >= 0) { in parseMetaData()
1490 bool hasAudio = (mSource->getFormat(true /* audio */) != NULL); in onStart() local1492 if (!hasAudio && !hasVideo) { in onStart()1499 ALOGV_IF(!hasAudio, "no metadata for audio source"); // video only stream in onStart()