Home
last modified time | relevance | path

Searched refs:rightVol (Results 1 - 2 of 2) sorted by relevance

/foundation/multimedia/player_framework/frameworks/native/soundpool/
H A Dsoundpool.cpp248 bool SoundPool::CheckVolumeVaild(float *leftVol, float *rightVol) in CheckVolumeVaild() argument
251 *rightVol != std::clamp(*rightVol, 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, *rightVol); 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);

Completed in 1 milliseconds