/frameworks/base/media/jni/soundpool/ |
D | SoundPool.cpp | 208 int SoundPool::play(int sampleID, float leftVolume, float rightVolume, in play() argument 212 sampleID, leftVolume, rightVolume, priority, loop, rate); in play() 243 channel->play(sample, channelID, leftVolume, rightVolume, priority, loop, rate); in play() 341 void SoundPool::setVolume(int channelID, float leftVolume, float rightVolume) in setVolume() argument 346 channel->setVolume(leftVolume, rightVolume); in setVolume() 515 float rightVolume, int priority, int loop, float rate) in play() argument 520 this, sample->sampleID(), nextChannelID, leftVolume, rightVolume, priority, loop, rate); in play() 525 mNextEvent.set(sample, nextChannelID, leftVolume, rightVolume, priority, loop, rate); in play() 581 newTrack->setVolume(leftVolume, rightVolume); in play() 596 mRightVolume = rightVolume; in play() [all …]
|
D | SoundPool.h | 96 float rightVolume, int priority, int loop, float rate); 100 float rightVolume() { return mRightVolume; } in rightVolume() function 124 void play(const sp<Sample>& sample, int channelID, float leftVolume, float rightVolume, 126 void setVolume_l(float leftVolume, float rightVolume); 127 void setVolume(float leftVolume, float rightVolume); 170 int play(int sampleID, float leftVolume, float rightVolume, int priority, 177 void setVolume(int channelID, float leftVolume, float rightVolume);
|
D | android_media_SoundPool.cpp | 77 jfloat leftVolume, jfloat rightVolume, jint priority, jint loop, in android_media_SoundPool_play() argument 83 return ap->play(sampleID, leftVolume, rightVolume, priority, loop, rate); in android_media_SoundPool_play() 133 float leftVolume, float rightVolume) in android_media_SoundPool_setVolume() argument 138 ap->setVolume(channelID, leftVolume, rightVolume); in android_media_SoundPool_setVolume()
|
/frameworks/base/media/java/android/media/ |
D | AudioTrack.java | 698 public int setStereoVolume(float leftVolume, float rightVolume) { in setStereoVolume() argument 710 if (rightVolume < getMinVolume()) { in setStereoVolume() 711 rightVolume = getMinVolume(); in setStereoVolume() 713 if (rightVolume > getMaxVolume()) { in setStereoVolume() 714 rightVolume = getMaxVolume(); in setStereoVolume() 717 native_setVolume(leftVolume, rightVolume); in setStereoVolume() 1156 private native final void native_setVolume(float leftVolume, float rightVolume); in native_setVolume() argument
|
D | SoundPool.java | 295 public native final int play(int soundID, float leftVolume, float rightVolume, in play() argument 367 float leftVolume, float rightVolume); in setVolume() argument
|
D | MediaPlayer.java | 1173 public native void setVolume(float leftVolume, float rightVolume); in setVolume() argument
|
/frameworks/base/media/libeffects/lvm/wrapper/Reverb/ |
D | EffectReverb.cpp | 157 LVM_INT16 rightVolume; member 490 pContext->rightVolume != pContext->prevRightVolume) && in process() 495 LVM_INT32 incr = (((LVM_INT32)pContext->rightVolume << 16) - vr) / frameCount; in process() 508 pContext->prevRightVolume = pContext->rightVolume; in process() 511 pContext->rightVolume != REVERB_UNIT_VOLUME) { in process() 516 clamp16((LVM_INT32)(pContext->rightVolume * OutFrames16[2*i+1]) >> 12); in process() 520 pContext->prevRightVolume = pContext->rightVolume; in process() 724 pContext->rightVolume = REVERB_UNIT_VOLUME; in Reverb_init() 2046 … pContext->rightVolume = (LVM_INT16)((*((uint32_t *)pCmdData + 1) + (1 << 11)) >> 12); in Reverb_command() 2055 pContext->rightVolume = REVERB_UNIT_VOLUME; in Reverb_command() [all …]
|
/frameworks/base/include/media/ |
D | IMediaPlayer.h | 48 virtual status_t setVolume(float leftVolume, float rightVolume) = 0;
|
D | mediaplayer.h | 165 status_t setVolume(float leftVolume, float rightVolume);
|
D | MediaPlayerInterface.h | 171 virtual status_t setVolume(float leftVolume, float rightVolume) = 0;
|
/frameworks/base/media/libmedia/ |
D | mediaplayer.cpp | 495 status_t MediaPlayer::setVolume(float leftVolume, float rightVolume) in setVolume() argument 497 LOGV("MediaPlayer::setVolume(%f, %f)", leftVolume, rightVolume); in setVolume() 500 mRightVolume = rightVolume; in setVolume() 502 return mPlayer->setVolume(leftVolume, rightVolume); in setVolume()
|
D | IMediaPlayer.cpp | 171 status_t setVolume(float leftVolume, float rightVolume) in setVolume() argument 176 data.writeFloat(rightVolume); in setVolume()
|
/frameworks/base/media/tests/SoundPoolTest/src/com/android/ |
D | SoundPoolTest.java | 311 float rightVolume = (float) Math.cos(radians); in TestVolume() local 312 mSoundPool.setVolume(id, leftVolume, rightVolume); in TestVolume() 313 if (DEBUG) Log.d(LOG_TAG, "Change volume (" + leftVolume + "," + rightVolume + ")"); in TestVolume()
|
/frameworks/base/media/jni/ |
D | android_media_MediaPlayer.cpp | 515 android_media_MediaPlayer_setVolume(JNIEnv *env, jobject thiz, float leftVolume, float rightVolume) in android_media_MediaPlayer_setVolume() argument 517 LOGV("setVolume: left %f right %f", leftVolume, rightVolume); in android_media_MediaPlayer_setVolume() 523 process_media_player_call( env, thiz, mp->setVolume(leftVolume, rightVolume), NULL, NULL ); in android_media_MediaPlayer_setVolume()
|
/frameworks/base/media/libeffects/lvm/wrapper/Bundle/ |
D | EffectBundle.cpp | 3084 uint32_t leftVolume, rightVolume; in Effect_command() local 3105 rightVolume = ((*((uint32_t *)pCmdData + 1))); in Effect_command() 3110 if(rightVolume == 0x1000000){ in Effect_command() 3111 rightVolume -= 1; in Effect_command() 3116 rightdB = android::LVC_Convert_VolToDb(rightVolume); in Effect_command()
|
/frameworks/base/media/libmediaplayerservice/ |
D | MediaPlayerService.h | 221 virtual status_t setVolume(float leftVolume, float rightVolume);
|
D | MediaPlayerService.cpp | 1093 status_t MediaPlayerService::Client::setVolume(float leftVolume, float rightVolume) in setVolume() argument 1095 LOGV("[%d] setVolume(%f, %f)", mConnId, leftVolume, rightVolume); in setVolume() 1098 if (mAudioOutput != 0) mAudioOutput->setVolume(leftVolume, rightVolume); in setVolume()
|