Home
last modified time | relevance | path

Searched refs:hasAudio (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libstagefright/
DStagefrightMetadataRetriever.cpp680 bool hasAudio = false; in parseMetaData() local
702 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()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayer.cpp1490 bool hasAudio = (mSource->getFormat(true /* audio */) != NULL); in onStart() local
1492 if (!hasAudio && !hasVideo) { in onStart()
1499 ALOGV_IF(!hasAudio, "no metadata for audio source"); // video only stream in onStart()