Home
last modified time | relevance | path

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

/ohos5.0/foundation/multimedia/player_framework/frameworks/native/audio_haptic/
H A Daudio_haptic_manager_impl.cpp92 curPlayerIndex_ = 0; in AudioHapticManagerImpl()
114 curPlayerIndex_ = 0; in ~AudioHapticManagerImpl()
129 curPlayerIndex_ = (curPlayerIndex_ + 1) % MAX_PLAYER_NUM; in RegisterSourceWithEffectId()
130 while (audioHapticPlayerMap_[curPlayerIndex_] != nullptr) { in RegisterSourceWithEffectId()
131 curPlayerIndex_ = (curPlayerIndex_ + 1) % MAX_PLAYER_NUM; in RegisterSourceWithEffectId()
133 int32_t sourceId = curPlayerIndex_; in RegisterSourceWithEffectId()
151 curPlayerIndex_ = (curPlayerIndex_ + 1) % MAX_PLAYER_NUM; in RegisterSource()
152 while (audioHapticPlayerMap_[curPlayerIndex_] != nullptr) { in RegisterSource()
153 curPlayerIndex_ = (curPlayerIndex_ + 1) % MAX_PLAYER_NUM; in RegisterSource()
158 int32_t sourceId = curPlayerIndex_; in RegisterSource()
H A Daudio_haptic_manager_impl.h62 int32_t curPlayerIndex_; variable