Searched defs:leftVolume (Results 1 - 12 of 12) sorted by relevance

/frameworks/base/media/java/android/media/
H A DSoundPool.java275 * @param leftVolume left volume value (range = 0.0 to 1.0)
282 public native final int play(int soundID, float leftVolume, float rightVolume, argument
350 * @param leftVolume left volume value (range = 0.0 to 1.0)
354 float leftVolume, float rightVolume);
353 setVolume(int streamID, float leftVolume, float rightVolume) argument
H A DAudioTrack.java750 * @param leftVolume output attenuation for the left channel. A value of 0.0f is silence,
756 public int setStereoVolume(float leftVolume, float rightVolume) { argument
762 if (leftVolume < getMinVolume()) {
763 leftVolume = getMinVolume();
765 if (leftVolume > getMaxVolume()) {
766 leftVolume = getMaxVolume();
775 native_setVolume(leftVolume, rightVolume);
1232 private native final void native_setVolume(float leftVolume, float rightVolume); argument
H A DMediaPlayer.java1367 * @param leftVolume left volume scalar
1370 public native void setVolume(float leftVolume, float rightVolume); argument
/frameworks/base/media/jni/soundpool/
H A Dandroid_media_SoundPool.cpp77 jfloat leftVolume, jfloat rightVolume, jint priority, jint loop,
83 return ap->play(sampleID, leftVolume, rightVolume, priority, loop, rate);
133 float leftVolume, float rightVolume)
138 ap->setVolume(channelID, leftVolume, rightVolume);
76 android_media_SoundPool_play(JNIEnv *env, jobject thiz, jint sampleID, jfloat leftVolume, jfloat rightVolume, jint priority, jint loop, jfloat rate) argument
132 android_media_SoundPool_setVolume(JNIEnv *env, jobject thiz, jint channelID, float leftVolume, float rightVolume) argument
/frameworks/av/include/media/
H A DSoundPool.h94 void set(const sp<Sample>& sample, int channelID, float leftVolume,
98 float leftVolume() { return mLeftVolume; } function in class:android::SoundEvent
123 void play(const sp<Sample>& sample, int channelID, float leftVolume, float rightVolume,
125 void setVolume_l(float leftVolume, float rightVolume);
126 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);
/frameworks/av/media/libmedia/
H A DIMediaPlayer.cpp221 status_t setVolume(float leftVolume, float rightVolume) argument
225 data.writeFloat(leftVolume);
457 float leftVolume = data.readFloat(); local
459 reply->writeInt32(setVolume(leftVolume, rightVolume));
H A DSoundPool.cpp241 int SoundPool::play(int sampleID, float leftVolume, float rightVolume, argument
244 ALOGV("play sampleID=%d, leftVolume=%f, rightVolume=%f, priority=%d, loop=%d, rate=%f",
245 sampleID, leftVolume, rightVolume, priority, loop, rate);
276 channel->play(sample, channelID, leftVolume, rightVolume, priority, loop, rate);
374 void SoundPool::setVolume(int channelID, float leftVolume, float rightVolume) argument
379 channel->setVolume(leftVolume, rightVolume);
547 void SoundChannel::play(const sp<Sample>& sample, int nextChannelID, float leftVolume, argument
557 ALOGV("SoundChannel::play %p: sampleID=%d, channelID=%d, leftVolume=%f, rightVolume=%f,"
559 this, sample->sampleID(), nextChannelID, leftVolume, rightVolume,
565 mNextEvent.set(sample, nextChannelID, leftVolume, rightVolum
658 float leftVolume; local
852 setVolume_l(float leftVolume, float rightVolume) argument
860 setVolume(float leftVolume, float rightVolume) argument
896 set(const sp<Sample>& sample, int channelID, float leftVolume, float rightVolume, int priority, int loop, float rate) argument
[all...]
H A Dmediaplayer.cpp535 status_t MediaPlayer::setVolume(float leftVolume, float rightVolume) argument
537 ALOGV("MediaPlayer::setVolume(%f, %f)", leftVolume, rightVolume);
539 mLeftVolume = leftVolume;
542 return mPlayer->setVolume(leftVolume, rightVolume);
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
H A DEffectBundle.cpp3183 uint32_t leftVolume, rightVolume; local
3203 leftVolume = ((*(uint32_t *)pCmdData));
3206 if(leftVolume == 0x1000000){
3207 leftVolume -= 1;
3214 leftdB = android::LVC_Convert_VolToDb(leftVolume);
3228 //ALOGV("\tEFFECT_CMD_SET_VOLUME: Left is %d, Right is %d", leftVolume, rightVolume);
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
H A DEffectReverb.cpp157 LVM_INT16 leftVolume; member in struct:android::__anon464::ReverbContext
514 if ((pContext->leftVolume != pContext->prevLeftVolume ||
518 LVM_INT32 incl = (((LVM_INT32)pContext->leftVolume << 16) - vl) / frameCount;
532 pContext->prevLeftVolume = pContext->leftVolume;
535 if (pContext->leftVolume != REVERB_UNIT_VOLUME ||
539 clamp16((LVM_INT32)(pContext->leftVolume * OutFrames16[2*i]) >> 12);
544 pContext->prevLeftVolume = pContext->leftVolume;
766 pContext->leftVolume = REVERB_UNIT_VOLUME;
2101 pContext->leftVolume = (LVM_INT16)((*(uint32_t *)pCmdData + (1 << 11)) >> 12);
2110 pContext->leftVolume
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_MediaPlayer.cpp513 android_media_MediaPlayer_setVolume(JNIEnv *env, jobject thiz, float leftVolume, float rightVolume) argument
515 ALOGV("setVolume: left %f right %f", leftVolume, rightVolume);
521 process_media_player_call( env, thiz, mp->setVolume(leftVolume, rightVolume), NULL, NULL );
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp965 status_t MediaPlayerService::Client::setVolume(float leftVolume, float rightVolume) argument
967 ALOGV("[%d] setVolume(%f, %f)", mConnId, leftVolume, rightVolume);
976 return hwp->setVolume(leftVolume, rightVolume);
978 if (mAudioOutput != 0) mAudioOutput->setVolume(leftVolume, rightVolume);

Completed in 95 milliseconds