/frameworks/base/media/java/android/media/ |
D | SoundPool.java | 300 public final int play(int soundID, float leftVolume, float rightVolume, in play() argument 303 soundID, leftVolume, rightVolume, priority, loop, rate); in play() 385 float leftVolume, float rightVolume) { in setVolume() argument 386 mImpl.setVolume(streamID, leftVolume, rightVolume); in setVolume() 489 int soundID, float leftVolume, float rightVolume, in play() argument 496 public void setVolume(int streamID, float leftVolume, float rightVolume); in setVolume() argument 601 public final int play(int soundID, float leftVolume, float rightVolume, in play() argument 604 leftVolume = rightVolume = 0; in play() 606 return _play(soundID, leftVolume, rightVolume, priority, loop, rate); in play() 609 public native final int _play(int soundID, float leftVolume, float rightVolume, in _play() argument [all …]
|
D | MediaPlayer.java | 1600 public void setVolume(float leftVolume, float rightVolume) { in setVolume() argument 1604 _setVolume(leftVolume, rightVolume); in setVolume() 1607 private native void _setVolume(float leftVolume, float rightVolume); in _setVolume() argument
|
D | AudioTrack.java | 1669 private native final void native_setVolume(float leftVolume, float rightVolume); in native_setVolume() argument
|
/frameworks/av/media/libmedia/ |
D | SoundPool.cpp | 241 int SoundPool::play(int sampleID, float leftVolume, float rightVolume, in play() argument 245 sampleID, leftVolume, rightVolume, priority, loop, rate); in play() 276 channel->play(sample, channelID, leftVolume, rightVolume, priority, loop, rate); in play() 374 void SoundPool::setVolume(int channelID, float leftVolume, float rightVolume) in setVolume() argument 379 channel->setVolume(leftVolume, rightVolume); in setVolume() 558 float rightVolume, int priority, int loop, float rate) in play() argument 569 this, sample->sampleID(), nextChannelID, leftVolume, rightVolume, in play() 575 mNextEvent.set(sample, nextChannelID, leftVolume, rightVolume, priority, loop, rate); in play() 633 newTrack->setVolume(leftVolume, rightVolume); in play() 645 mRightVolume = rightVolume; in play() [all …]
|
D | IMediaPlayer.cpp | 228 status_t setVolume(float leftVolume, float rightVolume) in setVolume() argument 233 data.writeFloat(rightVolume); in setVolume() 473 float rightVolume = data.readFloat(); in onTransact() local 474 reply->writeInt32(setVolume(leftVolume, rightVolume)); in onTransact()
|
D | mediaplayer.cpp | 582 status_t MediaPlayer::setVolume(float leftVolume, float rightVolume) in setVolume() argument 584 ALOGV("MediaPlayer::setVolume(%f, %f)", leftVolume, rightVolume); in setVolume() 587 mRightVolume = rightVolume; in setVolume() 589 return mPlayer->setVolume(leftVolume, rightVolume); in setVolume()
|
/frameworks/av/include/media/ |
D | SoundPool.h | 100 float rightVolume, int priority, int loop, float rate); 104 float rightVolume() { return mRightVolume; } in rightVolume() function 128 void play(const sp<Sample>& sample, int channelID, float leftVolume, float rightVolume, 130 void setVolume_l(float leftVolume, float rightVolume); 131 void setVolume(float leftVolume, float rightVolume); 175 int play(int sampleID, float leftVolume, float rightVolume, int priority, 182 void setVolume(int channelID, float leftVolume, float rightVolume);
|
D | IMediaPlayer.h | 65 virtual status_t setVolume(float leftVolume, float rightVolume) = 0;
|
D | mediaplayer.h | 233 status_t setVolume(float leftVolume, float rightVolume);
|
D | MediaPlayerInterface.h | 251 virtual status_t setVolume(float leftVolume, float rightVolume) = 0;
|
/frameworks/base/media/jni/soundpool/ |
D | android_media_SoundPool_SoundPoolImpl.cpp | 84 jfloat leftVolume, jfloat rightVolume, jint priority, jint loop, in android_media_SoundPool_SoundPoolImpl_play() argument 90 return (jint) ap->play(sampleID, leftVolume, rightVolume, priority, loop, rate); in android_media_SoundPool_SoundPoolImpl_play() 140 jfloat leftVolume, jfloat rightVolume) in android_media_SoundPool_SoundPoolImpl_setVolume() argument 145 ap->setVolume(channelID, (float) leftVolume, (float) rightVolume); in android_media_SoundPool_SoundPoolImpl_setVolume()
|
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/ |
D | EffectReverb.cpp | 160 LVM_INT16 rightVolume; member 493 pContext->rightVolume != pContext->prevRightVolume) && in process() 498 LVM_INT32 incr = (((LVM_INT32)pContext->rightVolume << 16) - vr) / frameCount; in process() 511 pContext->prevRightVolume = pContext->rightVolume; in process() 514 pContext->rightVolume != REVERB_UNIT_VOLUME) { in process() 519 clamp16((LVM_INT32)(pContext->rightVolume * OutFrames16[2*i+1]) >> 12); in process() 523 pContext->prevRightVolume = pContext->rightVolume; in process() 744 pContext->rightVolume = REVERB_UNIT_VOLUME; in Reverb_init() 2081 … pContext->rightVolume = (LVM_INT16)((*((uint32_t *)pCmdData + 1) + (1 << 11)) >> 12); in Reverb_command() 2090 pContext->rightVolume = REVERB_UNIT_VOLUME; in Reverb_command() [all …]
|
/frameworks/base/media/tests/SoundPoolTest/src/com/android/ |
D | SoundPoolTest.java | 322 float rightVolume = (float) Math.cos(radians); in TestVolume() local 323 mSoundPool.setVolume(id, leftVolume, rightVolume); in TestVolume() 324 if (DEBUG) Log.d(LOG_TAG, "Change volume (" + leftVolume + "," + rightVolume + ")"); in TestVolume()
|
/frameworks/base/media/jni/ |
D | android_media_MediaPlayer.cpp | 561 …droid_media_MediaPlayer_setVolume(JNIEnv *env, jobject thiz, jfloat leftVolume, jfloat rightVolume) in android_media_MediaPlayer_setVolume() argument 563 ALOGV("setVolume: left %f right %f", (float) leftVolume, (float) rightVolume); in android_media_MediaPlayer_setVolume() 569 …process_media_player_call( env, thiz, mp->setVolume((float) leftVolume, (float) rightVolume), NULL… in android_media_MediaPlayer_setVolume()
|
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/ |
D | EffectBundle.cpp | 3396 uint32_t leftVolume, rightVolume; in Effect_command() local 3417 rightVolume = ((*((uint32_t *)pCmdData + 1))); in Effect_command() 3422 if(rightVolume == 0x1000000){ in Effect_command() 3423 rightVolume -= 1; in Effect_command() 3428 rightdB = android::LVC_Convert_VolToDb(rightVolume); in Effect_command()
|
/frameworks/av/media/libmediaplayerservice/ |
D | MediaPlayerService.cpp | 1078 status_t MediaPlayerService::Client::setVolume(float leftVolume, float rightVolume) in setVolume() argument 1080 ALOGV("[%d] setVolume(%f, %f)", mConnId, leftVolume, rightVolume); in setVolume() 1089 return hwp->setVolume(leftVolume, rightVolume); in setVolume() 1091 if (mAudioOutput != 0) mAudioOutput->setVolume(leftVolume, rightVolume); in setVolume()
|
D | MediaPlayerService.h | 353 virtual status_t setVolume(float leftVolume, float rightVolume);
|