/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() 514 void SoundChannel::play(const sp<Sample>& sample, int nextChannelID, float leftVolume, 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() 595 mLeftVolume = leftVolume; in play() [all …]
|
D | SoundPool.h | 95 void set(const sp<Sample>& sample, int channelID, float leftVolume, 99 float leftVolume() { return mLeftVolume; } in leftVolume() 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 704 if (leftVolume < getMinVolume()) { in setStereoVolume() 705 leftVolume = getMinVolume(); in setStereoVolume() 707 if (leftVolume > getMaxVolume()) { in setStereoVolume() 708 leftVolume = 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 | 156 LVM_INT16 leftVolume; member 489 if ((pContext->leftVolume != pContext->prevLeftVolume || in process() 493 LVM_INT32 incl = (((LVM_INT32)pContext->leftVolume << 16) - vl) / frameCount; in process() 507 pContext->prevLeftVolume = pContext->leftVolume; in process() 510 if (pContext->leftVolume != REVERB_UNIT_VOLUME || in process() 514 clamp16((LVM_INT32)(pContext->leftVolume * OutFrames16[2*i]) >> 12); in process() 519 pContext->prevLeftVolume = pContext->leftVolume; in process() 723 pContext->leftVolume = REVERB_UNIT_VOLUME; in Reverb_init() 2045 pContext->leftVolume = (LVM_INT16)((*(uint32_t *)pCmdData + (1 << 11)) >> 12); in Reverb_command() 2054 pContext->leftVolume = 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() 499 mLeftVolume = leftVolume; in setVolume() 502 return mPlayer->setVolume(leftVolume, rightVolume); in setVolume()
|
D | IMediaPlayer.cpp | 171 status_t setVolume(float leftVolume, float rightVolume) in setVolume() argument 175 data.writeFloat(leftVolume); in setVolume()
|
/frameworks/base/media/tests/SoundPoolTest/src/com/android/ |
D | SoundPoolTest.java | 310 float leftVolume = (float) Math.sin(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 3104 leftVolume = ((*(uint32_t *)pCmdData)); in Effect_command() 3107 if(leftVolume == 0x1000000){ in Effect_command() 3108 leftVolume -= 1; in Effect_command() 3115 leftdB = android::LVC_Convert_VolToDb(leftVolume); 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()
|