Home
last modified time | relevance | path

Searched refs:leftVol (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
2459 int32_t d = ((int32_t)leftVol - (int32_t)mLeftVolShort) << 16; in applyVolume()
2469 int32_t d = ((int32_t)leftVol - (int32_t)mLeftVolShort) << 16; in applyVolume()
2486 out[0] = clamp16(mul(out[0], leftVol) >> 12); in applyVolume()
2491 out[0] = clamp16(mul(out[0], leftVol) >> 12); in applyVolume()
2508 mLeftVolShort = leftVol; in applyVolume()
2532 uint16_t leftVol; in threadLoop() local
2666 leftVol = (uint16_t)v_clamped; in threadLoop()
2671 leftVol = mLeftVolShort; in threadLoop()
2756 applyVolume(leftVol, rightVol, rampVolume); in threadLoop()
DAudioFlinger.h862 void applyVolume(uint16_t leftVol, uint16_t rightVol, bool ramp);