Searched defs:stereoPosition (Results 1 - 3 of 3) sorted by relevance

/frameworks/wilhelm/src/itf/
H A DIVolume.c158 static SLresult IVolume_SetStereoPosition(SLVolumeItf self, SLpermille stereoPosition) argument
162 if (!((-1000 <= stereoPosition) && (1000 >= stereoPosition))) {
168 if (oldStereoPosition != stereoPosition) {
169 thiz->mStereoPosition = stereoPosition;
190 SLpermille stereoPosition = thiz->mStereoPosition; local
192 *pStereoPosition = stereoPosition;
H A DIOutputMixExt.c435 SLpermille stereoPosition = audioPlayer->mVolume.mStereoPosition; local
455 if (stereoPosition > 0) {
456 gain *= (1000 - stereoPosition) / 1000.0f;
460 if (stereoPosition < 0) {
461 gain *= (1000 + stereoPosition) / 1000.0f;
/frameworks/wilhelm/tests/sandbox/
H A Dmultiplay.c262 SLpermille stereoPosition = ((rand() & 0x7FFFFFFF) % 2001) - 1000; local
263 printf("position %d\n", stereoPosition);
264 result = (*p->mPlayerVolume)->SetStereoPosition(p->mPlayerVolume, stereoPosition);

Completed in 50 milliseconds