/frameworks/base/media/jni/soundpool/ |
D | SoundPool.cpp | 46 bool checkVolume(float *leftVolume, float *rightVolume) in checkVolume() argument 49 *rightVolume != std::clamp(*rightVolume, 0.f, 1.f)) { in checkVolume() 50 ALOGI("volume l=%f r=%f out of (0.f, 1.f) bounds, using 1.f", *leftVolume, *rightVolume); in checkVolume() 52 *leftVolume = *rightVolume = 1.f; in checkVolume() 115 int32_t SoundPool::play(int32_t soundID, float leftVolume, float rightVolume, in play() argument 119 __func__, soundID, leftVolume, rightVolume, priority, loop, rate); in play() 124 if (checkVolume(&leftVolume, &rightVolume) in play() 137 sound, soundID, leftVolume, rightVolume, priority, loop, rate); in play() 191 void SoundPool::setVolume(int32_t streamID, float leftVolume, float rightVolume) in setVolume() argument 193 ALOGV("%s(%d, %f %f)", __func__, streamID, leftVolume, rightVolume); in setVolume() [all …]
|
D | Stream.cpp | 114 void Stream::setVolume_l(float leftVolume, float rightVolume) in setVolume_l() argument 117 mRightVolume = rightVolume; in setVolume_l() 119 mAudioTrack->setVolume(leftVolume, rightVolume); in setVolume_l() 123 void Stream::setVolume(int32_t streamID, float leftVolume, float rightVolume) in setVolume() argument 127 setVolume_l(leftVolume, rightVolume); in setVolume() 155 float leftVolume, float rightVolume, int32_t priority, int32_t loop, float rate) in setPlay() argument 163 mRightVolume = rightVolume; in setPlay() 276 float leftVolume, float rightVolume, int32_t priority, int32_t loop, float rate, in play_l() argument 287 __func__, this, sound->getSoundID(), nextStreamID, leftVolume, rightVolume, in play_l() 355 newTrack->setVolume(leftVolume, rightVolume); in play_l() [all …]
|
D | Stream.h | 98 void setVolume(int32_t streamID, float leftVolume, float rightVolume); 103 float leftVolume, float rightVolume, int32_t priority, int32_t loop, float rate); 127 float leftVolume, float rightVolume, int priority, int loop, float rate, 130 void setVolume_l(float leftVolume, float rightVolume) REQUIRES(mLock);
|
D | SoundPool.h | 38 int32_t play(int32_t soundID, float leftVolume, float rightVolume, int32_t priority, 45 void setVolume(int32_t streamID, float leftVolume, float rightVolume);
|
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()
|
D | StreamManager.cpp | 141 int32_t soundID, float leftVolume, float rightVolume, in queueForPlay() argument 145 __func__, sound.get(), soundID, leftVolume, rightVolume, priority, loop, rate); in queueForPlay() 229 streamID, sound, soundID, leftVolume, rightVolume, priority, loop, rate); in queueForPlay()
|
D | StreamManager.h | 394 int32_t soundID, float leftVolume, float rightVolume,
|
/frameworks/base/media/java/android/media/ |
D | SoundPool.java | 303 public final int play(int soundID, float leftVolume, float rightVolume, in play() argument 306 return _play(soundID, leftVolume, rightVolume, priority, loop, rate); in play() 377 public final void setVolume(int streamID, float leftVolume, float rightVolume) { in setVolume() argument 382 _setVolume(streamID, leftVolume, rightVolume); in setVolume() 398 void playerSetVolume(boolean muting, float leftVolume, float rightVolume) { in playerSetVolume() argument 506 private native final int _play(int soundID, float leftVolume, float rightVolume, in _play() argument 509 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 | 2418 void playerSetVolume(boolean muting, float leftVolume, float rightVolume) { in playerSetVolume() argument 2420 rightVolume = clampGainOrLevel(muting ? 0.0f : rightVolume); in playerSetVolume() 2422 native_setVolume(leftVolume, rightVolume); in playerSetVolume() 4104 private native final void native_setVolume(float leftVolume, float rightVolume); in native_setVolume() argument
|
D | MediaPlayer.java | 2258 public void setVolume(float leftVolume, float rightVolume) { in setVolume() argument 2259 baseSetVolume(leftVolume, rightVolume); in setVolume() 2263 void playerSetVolume(boolean muting, float leftVolume, float rightVolume) { in playerSetVolume() argument 2264 _setVolume(muting ? 0.0f : leftVolume, muting ? 0.0f : rightVolume); in playerSetVolume() 2267 private native void _setVolume(float leftVolume, float rightVolume); in _setVolume() argument
|
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/ |
D | EffectReverb.cpp | 163 LVM_INT16 rightVolume; member 421 pContext->rightVolume != pContext->prevRightVolume) && in process() 428 float incr = (((float)pContext->rightVolume / 4096) - vr) / frameCount; in process() 438 pContext->prevRightVolume = pContext->rightVolume; in process() 441 pContext->rightVolume != REVERB_UNIT_VOLUME) { in process() 444 pContext->OutFrames[FCC_2 * i + 1] *= ((float)pContext->rightVolume / 4096); in process() 448 pContext->prevRightVolume = pContext->rightVolume; in process() 665 pContext->rightVolume = REVERB_UNIT_VOLUME; in Reverb_init() 2036 … pContext->rightVolume = (LVM_INT16)((*((uint32_t *)pCmdData + 1) + (1 << 11)) >> 12); in Reverb_command() 2045 pContext->rightVolume = REVERB_UNIT_VOLUME; in Reverb_command() [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 | 688 status_t MediaPlayer::setVolume(float leftVolume, float rightVolume) in setVolume() argument 690 ALOGV("MediaPlayer::setVolume(%f, %f)", leftVolume, rightVolume); in setVolume() 693 mRightVolume = rightVolume; in setVolume() 695 return mPlayer->setVolume(leftVolume, rightVolume); in setVolume()
|
D | IMediaPlayer.cpp | 362 status_t setVolume(float leftVolume, float rightVolume) in setVolume() argument 367 data.writeFloat(rightVolume); in setVolume() 835 float rightVolume = data.readFloat(); in onTransact() local 836 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/media/libmediaplayerservice/include/ |
D | MediaPlayerInterface.h | 330 virtual status_t setVolume(float leftVolume, float rightVolume) = 0;
|
/frameworks/av/include/media/ |
D | MediaPlayerInterface.h | 330 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 | 3701 uint32_t leftVolume, rightVolume; in Effect_command() local 3721 rightVolume = ((*((uint32_t *)pCmdData + 1))); in Effect_command() 3726 if(rightVolume == 0x1000000){ in Effect_command() 3727 rightVolume -= 1; in Effect_command() 3732 rightdB = android::LVC_Convert_VolToDb(rightVolume); in Effect_command()
|
/frameworks/av/media/libmediaplayerservice/ |
D | MediaPlayerService.h | 341 virtual status_t setVolume(float leftVolume, float rightVolume);
|
D | MediaPlayerService.cpp | 1475 status_t MediaPlayerService::Client::setVolume(float leftVolume, float rightVolume) in setVolume() argument 1477 ALOGV("[%d] setVolume(%f, %f)", mConnId, leftVolume, rightVolume); in setVolume() 1486 return hwp->setVolume(leftVolume, rightVolume); in setVolume() 1488 if (mAudioOutput != 0) mAudioOutput->setVolume(leftVolume, rightVolume); in setVolume()
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |