/frameworks/base/media/jni/soundpool/ |
D | SoundPool.h | 93 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);
|
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() 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 …]
|
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 235 mLeftVolume = leftVolume; 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 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
|
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 | 171 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/ |
D | SoundPoolTest.java | 321 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/ |
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() 701 mLeftVolume = leftVolume; in setVolume() 704 return mPlayer->setVolume(leftVolume, rightVolume); in setVolume()
|
D | IMediaPlayer.cpp | 365 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/ |
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 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/ |
D | EffectBundle.cpp | 3809 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/ |
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);
|