Home
last modified time | relevance | path

Searched refs:leftVolume (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/media/jni/soundpool/
DSoundPool.h91 void set(const sp<Sample>& sample, int channelID, float leftVolume,
95 float leftVolume() { return mLeftVolume; } in leftVolume() function
120 void play(const sp<Sample>& sample, int channelID, float leftVolume, float rightVolume,
122 void setVolume_l(float leftVolume, float rightVolume);
123 void setVolume(float leftVolume, float rightVolume);
168 int play(int sampleID, float leftVolume, float rightVolume, int priority,
175 void setVolume(int channelID, float leftVolume, float rightVolume);
DSoundPool.cpp249 int SoundPool::play(int sampleID, float leftVolume, float rightVolume, in play() argument
253 sampleID, leftVolume, rightVolume, priority, loop, rate); in play()
283 channel->play(sample, channelID, leftVolume, rightVolume, priority, loop, rate); in play()
393 void SoundPool::setVolume(int channelID, float leftVolume, float rightVolume) in setVolume() argument
398 channel->setVolume(leftVolume, rightVolume); in setVolume()
705 void SoundChannel::play(const sp<Sample>& sample, int nextChannelID, float leftVolume, in play() argument
717 this, sample->sampleID(), nextChannelID, leftVolume, rightVolume, in play()
723 mNextEvent.set(sample, nextChannelID, leftVolume, rightVolume, priority, loop, rate); in play()
801 newTrack->setVolume(leftVolume, rightVolume); in play()
808 mLeftVolume = leftVolume; 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/
DPlayerBase.java109 void baseSetVolume(float leftVolume, float rightVolume) { in baseSetVolume() argument
111 mLeftVolume = leftVolume; in baseSetVolume()
117 playerSetVolume(leftVolume, rightVolume); in baseSetVolume()
191 abstract void playerSetVolume(float leftVolume, float rightVolume); in playerSetVolume() argument
DSoundPool.java334 public final int play(int soundID, float leftVolume, float rightVolume, in play() argument
337 leftVolume = rightVolume = 0; in play()
339 return _play(soundID, leftVolume, rightVolume, priority, loop, rate); in play()
410 public final void setVolume(int streamID, float leftVolume, float rightVolume) { in setVolume() argument
414 _setVolume(streamID, leftVolume, rightVolume); in setVolume()
547 private native final int _play(int soundID, float leftVolume, float rightVolume, in _play() argument
550 private native final void _setVolume(int streamID, float leftVolume, float rightVolume); in _setVolume() argument
DAudioTrack.java1516 void playerSetVolume(float leftVolume, float rightVolume) { in playerSetVolume() argument
1517 leftVolume = clampGainOrLevel(leftVolume); in playerSetVolume()
1520 native_setVolume(leftVolume, rightVolume); in playerSetVolume()
2806 private native final void native_setVolume(float leftVolume, float rightVolume); in native_setVolume() argument
DMediaPlayer.java1819 public void setVolume(float leftVolume, float rightVolume) { in setVolume() argument
1820 baseSetVolume(leftVolume, rightVolume); in setVolume()
1824 void playerSetVolume(float leftVolume, float rightVolume) { in playerSetVolume() argument
1825 _setVolume(leftVolume, rightVolume); in playerSetVolume()
1828 private native void _setVolume(float leftVolume, float rightVolume); in _setVolume() argument
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
DEffectReverb.cpp159 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()
2081 pContext->leftVolume = (LVM_INT16)((*(uint32_t *)pCmdData + (1 << 11)) >> 12); in Reverb_command()
2090 pContext->leftVolume = REVERB_UNIT_VOLUME; in Reverb_command()
[all …]
/frameworks/base/media/tests/SoundPoolTest/src/com/android/
DSoundPoolTest.java321 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/av/media/libmedia/
Dmediaplayer.cpp651 status_t MediaPlayer::setVolume(float leftVolume, float rightVolume) in setVolume() argument
653 ALOGV("MediaPlayer::setVolume(%f, %f)", leftVolume, rightVolume); in setVolume()
655 mLeftVolume = leftVolume; in setVolume()
658 return mPlayer->setVolume(leftVolume, rightVolume); in setVolume()
DIMediaPlayer.cpp302 status_t setVolume(float leftVolume, float rightVolume) in setVolume() argument
306 data.writeFloat(leftVolume); in setVolume()
612 float leftVolume = data.readFloat(); in onTransact() local
614 reply->writeInt32(setVolume(leftVolume, rightVolume)); in onTransact()
/frameworks/av/include/media/
DIMediaPlayer.h74 virtual status_t setVolume(float leftVolume, float rightVolume) = 0;
Dmediaplayer.h244 status_t setVolume(float leftVolume, float rightVolume);
DMediaPlayerInterface.h297 virtual status_t setVolume(float leftVolume, float rightVolume) = 0;
/frameworks/base/media/jni/
Dandroid_media_MediaPlayer.cpp736 android_media_MediaPlayer_setVolume(JNIEnv *env, jobject thiz, jfloat leftVolume, jfloat rightVolum… in android_media_MediaPlayer_setVolume() argument
738 ALOGV("setVolume: left %f right %f", (float) leftVolume, (float) rightVolume); in android_media_MediaPlayer_setVolume()
744 …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.cpp3389 uint32_t leftVolume, rightVolume; in Effect_command() local
3409 leftVolume = ((*(uint32_t *)pCmdData)); in Effect_command()
3412 if(leftVolume == 0x1000000){ in Effect_command()
3413 leftVolume -= 1; in Effect_command()
3420 leftdB = android::LVC_Convert_VolToDb(leftVolume); in Effect_command()
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.h305 virtual status_t setVolume(float leftVolume, float rightVolume);
DMediaPlayerService.cpp1159 status_t MediaPlayerService::Client::setVolume(float leftVolume, float rightVolume) in setVolume() argument
1161 ALOGV("[%d] setVolume(%f, %f)", mConnId, leftVolume, rightVolume); in setVolume()
1170 return hwp->setVolume(leftVolume, rightVolume); in setVolume()
1172 if (mAudioOutput != 0) mAudioOutput->setVolume(leftVolume, rightVolume); in setVolume()