Home
last modified time | relevance | path

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

/frameworks/wilhelm/src/android/
DAudioPlayer_to_android.cpp345 float amplFromStereoPos[STEREO_CHANNELS]; in android_player_volumeUpdate() local
350 amplFromStereoPos[0] = cos(theta); in android_player_volumeUpdate()
351 amplFromStereoPos[1] = sin(theta); in android_player_volumeUpdate()
356 amplFromStereoPos[0] = (1000-volumeItf->mStereoPosition)/1000.0f; in android_player_volumeUpdate()
357 amplFromStereoPos[1] = 1.0f; in android_player_volumeUpdate()
359 amplFromStereoPos[0] = 1.0f; in android_player_volumeUpdate()
360 amplFromStereoPos[1] = (1000+volumeItf->mStereoPosition)/1000.0f; in android_player_volumeUpdate()
363 leftVol *= amplFromStereoPos[0]; in android_player_volumeUpdate()
364 rightVol *= amplFromStereoPos[1]; in android_player_volumeUpdate()