/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() 557 void SoundChannel::play(const sp<Sample>& sample, int nextChannelID, float leftVolume, 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() 644 mLeftVolume = leftVolume; in play() [all …]
|
D | IMediaPlayer.cpp | 228 status_t setVolume(float leftVolume, float rightVolume) in setVolume() argument 232 data.writeFloat(leftVolume); in setVolume() 472 float leftVolume = 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() 586 mLeftVolume = leftVolume; in setVolume() 589 return mPlayer->setVolume(leftVolume, rightVolume); in setVolume()
|
/frameworks/av/include/media/ |
D | SoundPool.h | 99 void set(const sp<Sample>& sample, int channelID, float leftVolume, 103 float leftVolume() { return mLeftVolume; } in leftVolume() 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 | 159 LVM_INT16 leftVolume; member 492 if ((pContext->leftVolume != pContext->prevLeftVolume || in process() 496 LVM_INT32 incl = (((LVM_INT32)pContext->leftVolume << 16) - vl) / frameCount; in process() 510 pContext->prevLeftVolume = pContext->leftVolume; in process() 513 if (pContext->leftVolume != REVERB_UNIT_VOLUME || in process() 517 clamp16((LVM_INT32)(pContext->leftVolume * OutFrames16[2*i]) >> 12); in process() 522 pContext->prevLeftVolume = pContext->leftVolume; in process() 743 pContext->leftVolume = REVERB_UNIT_VOLUME; in Reverb_init() 2080 pContext->leftVolume = (LVM_INT16)((*(uint32_t *)pCmdData + (1 << 11)) >> 12); in Reverb_command() 2089 pContext->leftVolume = REVERB_UNIT_VOLUME; in Reverb_command() [all …]
|
/frameworks/base/media/tests/SoundPoolTest/src/com/android/ |
D | SoundPoolTest.java | 321 float leftVolume = (float) Math.sin(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 android_media_MediaPlayer_setVolume(JNIEnv *env, jobject thiz, jfloat leftVolume, jfloat rightVolum… 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 3416 leftVolume = ((*(uint32_t *)pCmdData)); in Effect_command() 3419 if(leftVolume == 0x1000000){ in Effect_command() 3420 leftVolume -= 1; in Effect_command() 3427 leftdB = android::LVC_Convert_VolToDb(leftVolume); 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);
|