Home
last modified time | relevance | path

Searched refs:rightVolume (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/media/jni/soundpool/
DSoundPool.h94 float rightVolume, int priority, int loop, float rate);
98 float rightVolume() { return mRightVolume; } in rightVolume() function
122 void play(const sp<Sample>& sample, int channelID, float leftVolume, float rightVolume,
124 void setVolume_l(float leftVolume, float rightVolume);
125 void setVolume(float leftVolume, float rightVolume);
172 int play(int sampleID, float leftVolume, float rightVolume, int priority,
180 void setVolume(int channelID, float leftVolume, float rightVolume);
DSoundPool.cpp247 int SoundPool::play(int sampleID, float leftVolume, float rightVolume, in play() argument
251 sampleID, leftVolume, rightVolume, priority, loop, rate); in play()
281 channel->play(sample, channelID, leftVolume, rightVolume, priority, loop, rate); in play()
404 void SoundPool::setVolume(int channelID, float leftVolume, float rightVolume) in setVolume() argument
409 channel->setVolume(leftVolume, rightVolume); in setVolume()
724 float rightVolume, int priority, int loop, float rate) in play() argument
735 this, sample->sampleID(), nextChannelID, leftVolume, rightVolume, in play()
741 mNextEvent.set(sample, nextChannelID, leftVolume, rightVolume, priority, loop, rate); in play()
827 newTrack->setVolume(leftVolume, rightVolume); in play()
836 mRightVolume = rightVolume; in play()
[all …]
Dandroid_media_SoundPool.cpp70 jfloat leftVolume, jfloat rightVolume, jint priority, jint loop, in android_media_SoundPool_play() argument
76 return (jint) ap->play(sampleID, leftVolume, rightVolume, priority, loop, rate); in android_media_SoundPool_play()
126 jfloat leftVolume, jfloat rightVolume) in android_media_SoundPool_setVolume() argument
131 ap->setVolume(channelID, (float) leftVolume, (float) rightVolume); in android_media_SoundPool_setVolume()
/frameworks/base/media/java/android/media/
DSoundPool.java311 public final int play(int soundID, float leftVolume, float rightVolume, in play() argument
314 return _play(soundID, leftVolume, rightVolume, priority, loop, rate); in play()
385 public final void setVolume(int streamID, float leftVolume, float rightVolume) { in setVolume() argument
390 _setVolume(streamID, leftVolume, rightVolume); in setVolume()
406 void playerSetVolume(boolean muting, float leftVolume, float rightVolume) { in playerSetVolume() argument
517 private native final int _play(int soundID, float leftVolume, float rightVolume, in _play() argument
520 private native final void _setVolume(int streamID, float leftVolume, float rightVolume); in _setVolume() argument
DPlayerBase.java233 void baseSetVolume(float leftVolume, float rightVolume) { in baseSetVolume() argument
236 mRightVolume = rightVolume; in baseSetVolume()
398 abstract void playerSetVolume(boolean muting, float leftVolume, float rightVolume); in playerSetVolume() argument
DHwAudioSource.java66 void playerSetVolume(boolean muting, float leftVolume, float rightVolume) { in playerSetVolume() argument
DAudioTrack.java2018 void playerSetVolume(boolean muting, float leftVolume, float rightVolume) { in playerSetVolume() argument
2020 rightVolume = clampGainOrLevel(muting ? 0.0f : rightVolume); in playerSetVolume()
2022 native_setVolume(leftVolume, rightVolume); in playerSetVolume()
3630 private native final void native_setVolume(float leftVolume, float rightVolume); in native_setVolume() argument
DMediaPlayer.java2257 public void setVolume(float leftVolume, float rightVolume) { in setVolume() argument
2258 baseSetVolume(leftVolume, rightVolume); in setVolume()
2262 void playerSetVolume(boolean muting, float leftVolume, float rightVolume) { in playerSetVolume() argument
2263 _setVolume(muting ? 0.0f : leftVolume, muting ? 0.0f : rightVolume); in playerSetVolume()
2266 private native void _setVolume(float leftVolume, float rightVolume); in _setVolume() argument
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
DEffectReverb.cpp172 LVM_INT16 rightVolume; member
508 pContext->rightVolume != pContext->prevRightVolume) && in process()
516 float incr = (((float)pContext->rightVolume / 4096) - vr) / frameCount; in process()
529 LVM_INT32 incr = (((LVM_INT32)pContext->rightVolume << 16) - vr) / frameCount; in process()
542 pContext->prevRightVolume = pContext->rightVolume; in process()
545 pContext->rightVolume != REVERB_UNIT_VOLUME) { in process()
549 pContext->OutFrames[FCC_2 * i + 1] *= ((float)pContext->rightVolume / 4096); in process()
554 clamp16((LVM_INT32)(pContext->rightVolume * OutFrames16[2*i+1]) >> 12); in process()
559 pContext->prevRightVolume = pContext->rightVolume; in process()
788 pContext->rightVolume = REVERB_UNIT_VOLUME; in Reverb_init()
[all …]
/frameworks/base/media/tests/SoundPoolTest/src/com/android/
DSoundPoolTest.java322 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/av/media/libmedia/
Dmediaplayer.cpp697 status_t MediaPlayer::setVolume(float leftVolume, float rightVolume) in setVolume() argument
699 ALOGV("MediaPlayer::setVolume(%f, %f)", leftVolume, rightVolume); in setVolume()
702 mRightVolume = rightVolume; in setVolume()
704 return mPlayer->setVolume(leftVolume, rightVolume); in setVolume()
DIMediaPlayer.cpp365 status_t setVolume(float leftVolume, float rightVolume) in setVolume() argument
370 data.writeFloat(rightVolume); in setVolume()
838 float rightVolume = data.readFloat(); in onTransact() local
839 reply->writeInt32(setVolume(leftVolume, rightVolume)); in onTransact()
/frameworks/av/media/libmedia/include/media/
DIMediaPlayer.h86 virtual status_t setVolume(float leftVolume, float rightVolume) = 0;
Dmediaplayer.h250 status_t setVolume(float leftVolume, float rightVolume);
/frameworks/av/include/media/
DIMediaPlayer.h86 virtual status_t setVolume(float leftVolume, float rightVolume) = 0;
Dmediaplayer.h250 status_t setVolume(float leftVolume, float rightVolume);
DMediaPlayerInterface.h331 virtual status_t setVolume(float leftVolume, float rightVolume) = 0;
/frameworks/av/media/libmediaplayerservice/include/
DMediaPlayerInterface.h331 virtual status_t setVolume(float leftVolume, float rightVolume) = 0;
/frameworks/base/media/jni/
Dandroid_media_MediaPlayer.cpp802 …droid_media_MediaPlayer_setVolume(JNIEnv *env, jobject thiz, jfloat leftVolume, jfloat rightVolume) in android_media_MediaPlayer_setVolume() argument
804 ALOGV("setVolume: left %f right %f", (float) leftVolume, (float) rightVolume); in android_media_MediaPlayer_setVolume()
810 …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/
DEffectBundle.cpp3809 uint32_t leftVolume, rightVolume; in Effect_command() local
3829 rightVolume = ((*((uint32_t *)pCmdData + 1))); in Effect_command()
3834 if(rightVolume == 0x1000000){ in Effect_command()
3835 rightVolume -= 1; in Effect_command()
3840 rightdB = android::LVC_Convert_VolToDb(rightVolume); in Effect_command()
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp1303 status_t MediaPlayerService::Client::setVolume(float leftVolume, float rightVolume) in setVolume() argument
1305 ALOGV("[%d] setVolume(%f, %f)", mConnId, leftVolume, rightVolume); in setVolume()
1314 return hwp->setVolume(leftVolume, rightVolume); in setVolume()
1316 if (mAudioOutput != 0) mAudioOutput->setVolume(leftVolume, rightVolume); in setVolume()
DMediaPlayerService.h339 virtual status_t setVolume(float leftVolume, float rightVolume);