Lines Matching refs:audioIndex
329 return audioIndex != INVALID_INDEX &&
330 (audioIndex < dispatcher->GetLatestAudioIndex() || !dispatcher->IsRead(GetReceiverId(), audioIndex + 1));
363 MEDIA_LOGD("Audio Recvid:%{public}d index: %{public}d.", GetReceiverId(), audioIndex);
364 return audioIndex;
368 audioIndex);
369 if (audioIndex != INVALID_INDEX && videoIndex != INVALID_INDEX) {
370 return audioIndex <= videoIndex ? audioIndex : videoIndex;
371 } else if (audioIndex == INVALID_INDEX && videoIndex == INVALID_INDEX) {
374 return audioIndex == INVALID_INDEX ? videoIndex : audioIndex;
690 notifier->audioIndex = INVALID_INDEX;
701 notifier->audioIndex = circularBuffer_.size() - 1;
712 notifier->audioIndex = tempIndex == keyIndexList_.back() ? INVALID_INDEX : tempIndex;
724 notifier->audioIndex = tempIndex;
1202 if (notifier->audioIndex > 0 && notifier->audioIndex != INVALID_INDEX) {
1203 notifier->audioIndex--;
1264 notifier->audioIndex = nextIndex;
1267 notifier->audioIndex = nextIndex;
1271 notifier->audioIndex, notifier->videoIndex);
1343 notifier->audioIndex = INVALID_INDEX;
1719 if (notifier->audioIndex == INVALID_INDEX) {
1720 notifier->audioIndex = index;
1721 SHARING_LOGD("RecvId %{public}d Activate %{public}d.", notifier->GetReceiverId(), notifier->audioIndex);