Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_media_AudioTrack.cpp432 android_media_AudioTrack_set_volume(JNIEnv *env, jobject thiz, jfloat leftVol, jfloat rightVol ) in android_media_AudioTrack_set_volume() argument
442 lpTrack->setVolume(leftVol, rightVol); in android_media_AudioTrack_set_volume()
/frameworks/base/services/audioflinger/
DAudioFlinger.cpp2438 void AudioFlinger::DirectOutputThread::applyVolume(uint16_t leftVol, uint16_t rightVol, bool ramp) in applyVolume() argument
2471 d = ((int32_t)rightVol - (int32_t)mRightVolShort) << 16; in applyVolume()
2492 out[1] = clamp16(mul(out[1], rightVol) >> 12); in applyVolume()
2509 mRightVolShort = rightVol; in applyVolume()
2533 uint16_t rightVol; in threadLoop() local
2669 rightVol = (uint16_t)v_clamped; in threadLoop()
2672 rightVol = mRightVolShort; in threadLoop()
2756 applyVolume(leftVol, rightVol, rampVolume); in threadLoop()
DAudioFlinger.h862 void applyVolume(uint16_t leftVol, uint16_t rightVol, bool ramp);