Searched refs:stereoPosition (Results 1 – 5 of 5) sorted by relevance
157 static SLresult IVolume_SetStereoPosition(SLVolumeItf self, SLpermille stereoPosition) in IVolume_SetStereoPosition() argument161 if (!((-1000 <= stereoPosition) && (1000 >= stereoPosition))) { in IVolume_SetStereoPosition()167 if (oldStereoPosition != stereoPosition) { in IVolume_SetStereoPosition()168 thiz->mStereoPosition = stereoPosition; in IVolume_SetStereoPosition()189 SLpermille stereoPosition = thiz->mStereoPosition; in IVolume_GetStereoPosition() local191 *pStereoPosition = stereoPosition; in IVolume_GetStereoPosition()
435 SLpermille stereoPosition = audioPlayer->mVolume.mStereoPosition; in audioPlayerGainUpdate() local455 if (stereoPosition > 0) { in audioPlayerGainUpdate()456 gain *= (1000 - stereoPosition) / 1000.0f; in audioPlayerGainUpdate()460 if (stereoPosition < 0) { in audioPlayerGainUpdate()461 gain *= (1000 + stereoPosition) / 1000.0f; in audioPlayerGainUpdate()
262 SLpermille stereoPosition = ((rand() & 0x7FFFFFFF) % 2001) - 1000; in main() local263 printf("position %d\n", stereoPosition); in main()264 result = (*p->mPlayerVolume)->SetStereoPosition(p->mPlayerVolume, stereoPosition); in main()
1325 SLpermille stereoPosition
939 XApermille stereoPosition