Home
last modified time | relevance | path

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

/frameworks/wilhelm/tests/examples/
DslesTestSawtoothBufferQueue.cpp158 (void*)&volumeItf); CheckErr(res); in TestPlaySawtoothBufferQueue()
222 res = (*volumeItf)->SetVolumeLevel(volumeItf, -300); CheckErr(res); in TestPlaySawtoothBufferQueue()
/frameworks/wilhelm/src/android/
DAudioPlayer_to_android.cpp308 void android_player_volumeUpdate(float *pVolumes /*[2]*/, const IVolume *volumeItf, unsigned in android_player_volumeUpdate() argument
312 assert(volumeItf != NULL); in android_player_volumeUpdate()
322 if (volumeItf->mMute) { in android_player_volumeUpdate()
337 float amplFromVolLevel = sles_to_android_amplification(volumeItf->mLevel); in android_player_volumeUpdate()
343 if (volumeItf->mEnableStereoPosition) { in android_player_volumeUpdate()
349 double theta = (1000+volumeItf->mStereoPosition)*M_PI_4/1000.0f; // 0 <= theta <= Pi/2 in android_player_volumeUpdate()
355 if (volumeItf->mStereoPosition > 0) { in android_player_volumeUpdate()
356 amplFromStereoPos[0] = (1000-volumeItf->mStereoPosition)/1000.0f; in android_player_volumeUpdate()
360 amplFromStereoPos[1] = (1000+volumeItf->mStereoPosition)/1000.0f; in android_player_volumeUpdate()
Dandroid_GenericPlayer.h232 extern void android_player_volumeUpdate(float *pVolumes /*[2]*/, const IVolume *volumeItf,