Searched refs:audioIndex (Results 1 - 7 of 7) sorted by relevance
/foundation/CastEngine/castengine_wifi_display/services/mediachannel/ |
H A D | buffer_dispatcher.cpp | 329 return audioIndex != INVALID_INDEX && in DataAvailable() 330 (audioIndex < dispatcher->GetLatestAudioIndex() || !dispatcher->IsRead(GetReceiverId(), audioIndex + 1)); in DataAvailable() 363 MEDIA_LOGD("Audio Recvid:%{public}d index: %{public}d.", GetReceiverId(), audioIndex); in GetReceiverReadIndex() 364 return audioIndex; in GetReceiverReadIndex() 368 audioIndex); in GetReceiverReadIndex() 369 if (audioIndex != INVALID_INDEX && videoIndex != INVALID_INDEX) { in GetReceiverReadIndex() 370 return audioIndex <= videoIndex ? audioIndex : videoIndex; in GetReceiverReadIndex() 371 } else if (audioIndex in GetReceiverReadIndex() [all...] |
H A D | buffer_dispatcher.h | 207 uint32_t audioIndex = INVALID_INDEX; member in OHOS::Sharing::BufferDispatcher::DataNotifier
|
/foundation/multimedia/player_framework/test/unittest/player_server_mem_test/ |
H A D | player_server_mem_unit_test.cpp | 183 playerServerMem_->recoverConfig_.audioIndex = 0; in HWTEST_F() 204 playerServerMem_->recoverConfig_.audioIndex = 0; in HWTEST_F() 217 * @tc.desc : Test SetBehaviorInternal interface, set audioIndex to a non-zero value. 225 playerServerMem_->recoverConfig_.audioIndex = 1; in HWTEST_F() 254 * @tc.desc : Test NeedSelectAudioTrack interface, set audioIndex to a non-zero value and 261 playerServerMem_->recoverConfig_.audioIndex = 1; in HWTEST_F() 275 * @tc.desc : Test NeedSelectAudioTrack interface, set audioIndex to a non-zero value and 282 playerServerMem_->recoverConfig_.audioIndex = 1; in HWTEST_F() 296 * @tc.desc : Test NeedSelectAudioTrack interface, set audioIndex to a negative value. 302 playerServerMem_->recoverConfig_.audioIndex in HWTEST_F() [all...] |
/foundation/multimedia/player_framework/services/services/player/player_mem_manage/ |
H A D | player_server_mem.cpp | 179 MEDIA_LOGI("speedMode:%{public}d currentTime:%{public}d audioIndex:%{public}d",
in SetBehaviorInternal() 180 recoverConfig_.speedMode, recoverConfig_.currentTime, recoverConfig_.audioIndex);
in SetBehaviorInternal() 192 ret = PlayerServer::SelectTrack(recoverConfig_.audioIndex, PlayerSwitchMode::SWITCH_SMOOTH);
in SetBehaviorInternal() 201 MEDIA_LOGI("speedMode:%{public}d audioIndex:%{public}d", recoverConfig_.speedMode, recoverConfig_.audioIndex);
in SetPlaybackSpeedInternal() 209 ret = PlayerServer::SelectTrack(recoverConfig_.audioIndex, PlayerSwitchMode::SWITCH_SMOOTH);
in SetPlaybackSpeedInternal() 624 index = recoverConfig_.audioIndex;
in GetCurrentTrack() 737 ret = PlayerServer::GetCurrentTrack(MediaType::MEDIA_TYPE_AUD, recoverConfig_.audioIndex);
in GetInformationBeforeMemReset() 959 return (recoverConfig_.audioIndex >= 0 && defaultAudioIndex_ >= 0 &&
in NeedSelectAudioTrack() 960 recoverConfig_.audioIndex ! in NeedSelectAudioTrack() [all...] |
H A D | player_server_mem.h | 135 int32_t audioIndex = 0;
member
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/media_library_manager_test/src/ |
H A D | media_library_manager_test.cpp | 71 int32_t audioIndex = 0; member 962 string struri = CreateFile(MEDIALIBRARY_AUDIO_URI, "Audios/", "Test" + to_string(audioIndex++) + ".mp3", in HWTEST_F() 999 string audioUri = CreateFile(MEDIALIBRARY_AUDIO_URI, "Audios/", "Test" + to_string(audioIndex++) + ".mp3", in HWTEST_F() 1434 string audiosUri = CreateFile(MEDIALIBRARY_AUDIO_URI, "Audios/", "Test" + to_string(audioIndex++) + ".mp3", in HWTEST_F() 1436 string audiosExistUri = CreateFile(MEDIALIBRARY_AUDIO_URI, "Audios/", "Test" + to_string(audioIndex++) + ".mp3", in HWTEST_F() 1619 string uri = CreateFile(MEDIALIBRARY_AUDIO_URI, "Audios/", "Test" + to_string(audioIndex++) + ".mp3", in HWTEST_F() 1662 string uri = CreateFile(MEDIALIBRARY_AUDIO_URI, "Audios/", "Test" + to_string(audioIndex++) + ".mp3", in HWTEST_F() 1704 string uri = CreateFile(MEDIALIBRARY_AUDIO_URI, "Audios/", "Test" + to_string(audioIndex++) + ".mp3", in HWTEST_F()
|
/foundation/multimedia/player_framework/frameworks/js/avplayer/ |
H A D | avplayer_napi.cpp | 2447 int32_t audioIndex = -1; in JsGetSelectedTracks() 2448 (void)jsPlayer->player_->GetCurrentTrack(MediaType::MEDIA_TYPE_AUD, audioIndex); in JsGetSelectedTracks() 2449 if (audioIndex != -1) { in JsGetSelectedTracks() 2450 trackIndex.push_back(audioIndex); in JsGetSelectedTracks()
|
Completed in 14 milliseconds