Home
last modified time | relevance | path

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

/ohos5.0/foundation/multimedia/player_framework/frameworks/native/soundpool/
H A Dsoundpool.cpp248 bool SoundPool::CheckVolumeVaild(float *leftVol, float *rightVol) in CheckVolumeVaild() argument
250 if (*leftVol != std::clamp(*leftVol, 0.f, 1.f) || in CheckVolumeVaild()
252 …MEDIA_LOGI("volume l=%{public}f r=%{public}f out of (0.f, 1.f) bounds, using 1.f", *leftVol, *righ… in CheckVolumeVaild()
253 *leftVol = *rightVol = 1.f; in CheckVolumeVaild()
255 if (*leftVol != *rightVol) { in CheckVolumeVaild()
257 *leftVol, *rightVol); in CheckVolumeVaild()
258 *rightVol = *leftVol; in CheckVolumeVaild()
H A Dsoundpool.h61 bool CheckVolumeVaild(float *leftVol, float *rightVol);