/frameworks/base/media/jni/soundpool/ |
D | SoundPool.h | 94 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);
|
D | SoundPool.cpp | 247 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 …]
|
D | android_media_SoundPool.cpp | 70 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/ |
D | SoundPool.java | 311 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
|
D | PlayerBase.java | 233 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
|
D | HwAudioSource.java | 66 void playerSetVolume(boolean muting, float leftVolume, float rightVolume) { in playerSetVolume() argument
|
D | AudioTrack.java | 2018 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
|
D | MediaPlayer.java | 2257 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/ |
D | EffectReverb.cpp | 172 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/ |
D | SoundPoolTest.java | 322 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/ |
D | mediaplayer.cpp | 697 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()
|
D | IMediaPlayer.cpp | 365 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/ |
D | IMediaPlayer.h | 86 virtual status_t setVolume(float leftVolume, float rightVolume) = 0;
|
D | mediaplayer.h | 250 status_t setVolume(float leftVolume, float rightVolume);
|
/frameworks/av/include/media/ |
D | IMediaPlayer.h | 86 virtual status_t setVolume(float leftVolume, float rightVolume) = 0;
|
D | mediaplayer.h | 250 status_t setVolume(float leftVolume, float rightVolume);
|
D | MediaPlayerInterface.h | 331 virtual status_t setVolume(float leftVolume, float rightVolume) = 0;
|
/frameworks/av/media/libmediaplayerservice/include/ |
D | MediaPlayerInterface.h | 331 virtual status_t setVolume(float leftVolume, float rightVolume) = 0;
|
/frameworks/base/media/jni/ |
D | android_media_MediaPlayer.cpp | 802 …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/ |
D | EffectBundle.cpp | 3809 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/ |
D | MediaPlayerService.cpp | 1303 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()
|
D | MediaPlayerService.h | 339 virtual status_t setVolume(float leftVolume, float rightVolume);
|