Home
last modified time | relevance | path

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

/ohos5.0/foundation/multimedia/player_framework/frameworks/native/audio_haptic/
H A Daudio_haptic_manager_impl.cpp32 const std::int32_t MAX_PLAYER_NUM = 128; variable
125 if (curPlayerCount_ >= MAX_PLAYER_NUM) { in RegisterSourceWithEffectId()
129 curPlayerIndex_ = (curPlayerIndex_ + 1) % MAX_PLAYER_NUM; in RegisterSourceWithEffectId()
131 curPlayerIndex_ = (curPlayerIndex_ + 1) % MAX_PLAYER_NUM; in RegisterSourceWithEffectId()
147 if (curPlayerCount_ >= MAX_PLAYER_NUM) { in RegisterSource()
151 curPlayerIndex_ = (curPlayerIndex_ + 1) % MAX_PLAYER_NUM; in RegisterSource()
153 curPlayerIndex_ = (curPlayerIndex_ + 1) % MAX_PLAYER_NUM; in RegisterSource()