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

/frameworks/base/media/java/android/media/
H A DPlayerBase.java109 void baseSetVolume(float leftVolume, float rightVolume) { argument
111 mLeftVolume = leftVolume;
117 playerSetVolume(leftVolume, rightVolume);
191 abstract void playerSetVolume(float leftVolume, float rightVolume); argument
H A DSoundPool.java327 * @param leftVolume left volume value (range = 0.0 to 1.0)
334 public final int play(int soundID, float leftVolume, float rightVolume, argument
337 leftVolume = rightVolume = 0;
339 return _play(soundID, leftVolume, rightVolume, priority, loop, rate);
407 * @param leftVolume left volume value (range = 0.0 to 1.0)
410 public final void setVolume(int streamID, float leftVolume, float rightVolume) { argument
414 _setVolume(streamID, leftVolume, rightVolume);
547 private native final int _play(int soundID, float leftVolume, float rightVolume, argument
550 private native final void _setVolume(int streamID, float leftVolume, float rightVolume); argument
H A DAudioTrack.java1516 void playerSetVolume(float leftVolume, float rightVolume) { argument
1517 leftVolume = clampGainOrLevel(leftVolume);
1520 native_setVolume(leftVolume, rightVolume);
2806 private native final void native_setVolume(float leftVolume, float rightVolume); argument
H A DMediaPlayer.java1811 * @param leftVolume left volume scalar
1819 public void setVolume(float leftVolume, float rightVolume) { argument
1820 baseSetVolume(leftVolume, rightVolume);
1824 void playerSetVolume(float leftVolume, float rightVolume) { argument
1825 _setVolume(leftVolume, rightVolume);
1828 private native void _setVolume(float leftVolume, float rightVolume); argument
/frameworks/base/media/jni/soundpool/
H A DSoundPool.h91 void set(const sp<Sample>& sample, int channelID, float leftVolume,
95 float leftVolume() { return mLeftVolume; } function in class:android::SoundEvent
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);
H A DSoundPool.cpp249 int SoundPool::play(int sampleID, float leftVolume, float rightVolume, argument
252 ALOGV("play sampleID=%d, leftVolume=%f, rightVolume=%f, priority=%d, loop=%d, rate=%f",
253 sampleID, leftVolume, rightVolume, priority, loop, rate);
283 channel->play(sample, channelID, leftVolume, rightVolume, priority, loop, rate);
393 void SoundPool::setVolume(int channelID, float leftVolume, float rightVolume) argument
398 channel->setVolume(leftVolume, rightVolume);
705 void SoundChannel::play(const sp<Sample>& sample, int nextChannelID, float leftVolume, argument
715 ALOGV("SoundChannel::play %p: sampleID=%d, channelID=%d, leftVolume=%f, rightVolume=%f,"
717 this, sample->sampleID(), nextChannelID, leftVolume, rightVolume,
723 mNextEvent.set(sample, nextChannelID, leftVolume, rightVolum
829 float leftVolume; local
1031 setVolume_l(float leftVolume, float rightVolume) argument
1039 setVolume(float leftVolume, float rightVolume) argument
1075 set(const sp<Sample>& sample, int channelID, float leftVolume, float rightVolume, int priority, int loop, float rate) argument
[all...]
H A Dandroid_media_SoundPool.cpp70 jfloat leftVolume, jfloat rightVolume, jint priority, jint loop,
76 return (jint) ap->play(sampleID, leftVolume, rightVolume, priority, loop, rate);
126 jfloat leftVolume, jfloat rightVolume)
131 ap->setVolume(channelID, (float) leftVolume, (float) rightVolume);
69 android_media_SoundPool_play(JNIEnv *env, jobject thiz, jint sampleID, jfloat leftVolume, jfloat rightVolume, jint priority, jint loop, jfloat rate) argument
125 android_media_SoundPool_setVolume(JNIEnv *env, jobject thiz, jint channelID, jfloat leftVolume, jfloat rightVolume) argument
/frameworks/av/include/media/
H A DIMediaPlayer.h74 virtual status_t setVolume(float leftVolume, float rightVolume) = 0;
H A DMediaPlayerInterface.h297 virtual status_t setVolume(float leftVolume, float rightVolume) = 0;
H A Dmediaplayer.h244 status_t setVolume(float leftVolume, float rightVolume);
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
H A DEffectReverb.cpp159 LVM_INT16 leftVolume; member in struct:android::__anon243::ReverbContext
492 if ((pContext->leftVolume != pContext->prevLeftVolume ||
496 LVM_INT32 incl = (((LVM_INT32)pContext->leftVolume << 16) - vl) / frameCount;
510 pContext->prevLeftVolume = pContext->leftVolume;
513 if (pContext->leftVolume != REVERB_UNIT_VOLUME ||
517 clamp16((LVM_INT32)(pContext->leftVolume * OutFrames16[2*i]) >> 12);
522 pContext->prevLeftVolume = pContext->leftVolume;
743 pContext->leftVolume = REVERB_UNIT_VOLUME;
2081 pContext->leftVolume = (LVM_INT16)((*(uint32_t *)pCmdData + (1 << 11)) >> 12);
2090 pContext->leftVolume
[all...]
/frameworks/base/media/tests/SoundPoolTest/src/com/android/
H A DSoundPoolTest.java321 float leftVolume = (float) Math.sin(radians);
323 mSoundPool.setVolume(id, leftVolume, rightVolume);
324 if (DEBUG) Log.d(LOG_TAG, "Change volume (" + leftVolume + "," + rightVolume + ")");
/frameworks/av/media/libmedia/
H A DIMediaPlayer.cpp302 status_t setVolume(float leftVolume, float rightVolume) argument
306 data.writeFloat(leftVolume);
612 float leftVolume = data.readFloat(); local
614 reply->writeInt32(setVolume(leftVolume, rightVolume));
H A Dmediaplayer.cpp651 status_t MediaPlayer::setVolume(float leftVolume, float rightVolume) argument
653 ALOGV("MediaPlayer::setVolume(%f, %f)", leftVolume, rightVolume);
655 mLeftVolume = leftVolume;
658 return mPlayer->setVolume(leftVolume, rightVolume);
/frameworks/base/media/jni/
H A Dandroid_media_MediaPlayer.cpp736 android_media_MediaPlayer_setVolume(JNIEnv *env, jobject thiz, jfloat leftVolume, jfloat rightVolume) argument
738 ALOGV("setVolume: left %f right %f", (float) leftVolume, (float) rightVolume);
744 process_media_player_call( env, thiz, mp->setVolume((float) leftVolume, (float) rightVolume), NULL, NULL );
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.h305 virtual status_t setVolume(float leftVolume, float rightVolume);
H A DMediaPlayerService.cpp1159 status_t MediaPlayerService::Client::setVolume(float leftVolume, float rightVolume) argument
1161 ALOGV("[%d] setVolume(%f, %f)", mConnId, leftVolume, rightVolume);
1170 return hwp->setVolume(leftVolume, rightVolume);
1172 if (mAudioOutput != 0) mAudioOutput->setVolume(leftVolume, rightVolume);
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
H A DEffectBundle.cpp3389 uint32_t leftVolume, rightVolume; local
3409 leftVolume = ((*(uint32_t *)pCmdData));
3412 if(leftVolume == 0x1000000){
3413 leftVolume -= 1;
3420 leftdB = android::LVC_Convert_VolToDb(leftVolume);
3434 //ALOGV("\tEFFECT_CMD_SET_VOLUME: Left is %d, Right is %d", leftVolume, rightVolume);

Completed in 335 milliseconds