Home
last modified time | relevance | path

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

/frameworks/base/media/jni/soundpool/
DSoundPool.h93 void set(const sp<Sample>& sample, int channelID, float leftVolume,
97 float leftVolume() { return mLeftVolume; } in leftVolume() 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()
723 void SoundChannel::play(const sp<Sample>& sample, int nextChannelID, float leftVolume, 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()
835 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/
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
235 mLeftVolume = leftVolume; 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
2019 leftVolume = clampGainOrLevel(muting ? 0.0f : leftVolume); 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.cpp171 LVM_INT16 leftVolume; member
507 if ((pContext->leftVolume != pContext->prevLeftVolume || in process()
514 float incl = (((float)pContext->leftVolume / 4096) - vl) / frameCount; in process()
527 LVM_INT32 incl = (((LVM_INT32)pContext->leftVolume << 16) - vl) / frameCount; in process()
541 pContext->prevLeftVolume = pContext->leftVolume; in process()
544 if (pContext->leftVolume != REVERB_UNIT_VOLUME || in process()
548 pContext->OutFrames[FCC_2 * i] *= ((float)pContext->leftVolume / 4096); in process()
552 clamp16((LVM_INT32)(pContext->leftVolume * OutFrames16[2*i]) >> 12); in process()
558 pContext->prevLeftVolume = pContext->leftVolume; in process()
787 pContext->leftVolume = REVERB_UNIT_VOLUME; in Reverb_init()
[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.cpp697 status_t MediaPlayer::setVolume(float leftVolume, float rightVolume) in setVolume() argument
699 ALOGV("MediaPlayer::setVolume(%f, %f)", leftVolume, rightVolume); in setVolume()
701 mLeftVolume = leftVolume; in setVolume()
704 return mPlayer->setVolume(leftVolume, rightVolume); in setVolume()
DIMediaPlayer.cpp365 status_t setVolume(float leftVolume, float rightVolume) in setVolume() argument
369 data.writeFloat(leftVolume); in setVolume()
837 float leftVolume = 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 android_media_MediaPlayer_setVolume(JNIEnv *env, jobject thiz, jfloat leftVolume, jfloat rightVolum… 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
3828 leftVolume = ((*(uint32_t *)pCmdData)); in Effect_command()
3831 if(leftVolume == 0x1000000){ in Effect_command()
3832 leftVolume -= 1; in Effect_command()
3839 leftdB = android::LVC_Convert_VolToDb(leftVolume); 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);