/frameworks/base/media/java/android/media/ |
SoundPool.java | 224 * @param rightVolume right volume value (range = 0.0 to 1.0) 230 public final int play(int soundID, float leftVolume, float rightVolume, 233 soundID, leftVolume, rightVolume, priority, loop, rate); 312 * @param rightVolume right volume value (range = 0.0 to 1.0) 315 float leftVolume, float rightVolume) { 316 mImpl.setVolume(streamID, leftVolume, rightVolume); 419 int soundID, float leftVolume, float rightVolume, 426 public void setVolume(int streamID, float leftVolume, float rightVolume); 526 public native final int play(int soundID, float leftVolume, float rightVolume, 540 float leftVolume, float rightVolume); [all...] |
AudioTrack.java | [all...] |
MediaPlayer.java | [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
SoundPoolTest.java | 144 float rightVolume = LOUD; 148 int streamID = mSoundPool.play(sampleID, leftVolume, rightVolume, priority, loop, rate); 162 streamID = mSoundPool.play(sampleID, leftVolume, rightVolume, priority, loop, rate); 168 rightVolume = SILENT; 169 mSoundPool.setVolume(streamID, leftVolume, rightVolume); 171 rightVolume = LOUD; 172 mSoundPool.setVolume(streamID, leftVolume, rightVolume);
|
MediaPlayerTestBase.java | 218 final float rightVolume = 0.5f; 265 mMediaPlayer.setVolume(leftVolume, rightVolume);
|
/frameworks/av/include/media/ |
SoundPool.h | 100 float rightVolume, int priority, int loop, float rate); 104 float rightVolume() { return mRightVolume; } 128 void play(const sp<Sample>& sample, int channelID, float leftVolume, float rightVolume, 130 void setVolume_l(float leftVolume, float rightVolume); 131 void setVolume(float leftVolume, float rightVolume); 175 int play(int sampleID, float leftVolume, float rightVolume, int priority, 182 void setVolume(int channelID, float leftVolume, float rightVolume);
|
IMediaPlayer.h | 61 virtual status_t setVolume(float leftVolume, float rightVolume) = 0;
|
mediaplayer.h | 225 status_t setVolume(float leftVolume, float rightVolume);
|
MediaPlayerInterface.h | 246 virtual status_t setVolume(float leftVolume, float rightVolume) = 0;
|
/frameworks/av/media/libmedia/ |
SoundPool.cpp | 237 int SoundPool::play(int sampleID, float leftVolume, float rightVolume, 240 ALOGV("play sampleID=%d, leftVolume=%f, rightVolume=%f, priority=%d, loop=%d, rate=%f", 241 sampleID, leftVolume, rightVolume, priority, loop, rate); 272 channel->play(sample, channelID, leftVolume, rightVolume, priority, loop, rate); 370 void SoundPool::setVolume(int channelID, float leftVolume, float rightVolume) 375 channel->setVolume(leftVolume, rightVolume); 546 float rightVolume, int priority, int loop, float rate) 555 ALOGV("SoundChannel::play %p: sampleID=%d, channelID=%d, leftVolume=%f, rightVolume=%f," 557 this, sample->sampleID(), nextChannelID, leftVolume, rightVolume, 563 mNextEvent.set(sample, nextChannelID, leftVolume, rightVolume, priority, loop, rate) [all...] |
IMediaPlayer.cpp | 221 status_t setVolume(float leftVolume, float rightVolume) 226 data.writeFloat(rightVolume); 458 float rightVolume = data.readFloat(); 459 reply->writeInt32(setVolume(leftVolume, rightVolume));
|
mediaplayer.cpp | 554 status_t MediaPlayer::setVolume(float leftVolume, float rightVolume) 556 ALOGV("MediaPlayer::setVolume(%f, %f)", leftVolume, rightVolume); 559 mRightVolume = rightVolume; 561 return mPlayer->setVolume(leftVolume, rightVolume);
|
/frameworks/base/media/jni/soundpool/ |
android_media_SoundPool_SoundPoolImpl.cpp | 77 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);
|
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/ |
EffectReverb.cpp | 158 LVM_INT16 rightVolume; 491 pContext->rightVolume != pContext->prevRightVolume) && 496 LVM_INT32 incr = (((LVM_INT32)pContext->rightVolume << 16) - vr) / frameCount; 509 pContext->prevRightVolume = pContext->rightVolume; 512 pContext->rightVolume != REVERB_UNIT_VOLUME) { 517 clamp16((LVM_INT32)(pContext->rightVolume * OutFrames16[2*i+1]) >> 12); 521 pContext->prevRightVolume = pContext->rightVolume; 742 pContext->rightVolume = REVERB_UNIT_VOLUME; [all...] |
/frameworks/base/media/tests/SoundPoolTest/src/com/android/ |
SoundPoolTest.java | 322 float rightVolume = (float) Math.cos(radians); 323 mSoundPool.setVolume(id, leftVolume, rightVolume); 324 if (DEBUG) Log.d(LOG_TAG, "Change volume (" + leftVolume + "," + rightVolume + ")");
|
/frameworks/base/media/jni/ |
android_media_MediaPlayer.cpp | 519 android_media_MediaPlayer_setVolume(JNIEnv *env, jobject thiz, float leftVolume, float rightVolume) 521 ALOGV("setVolume: left %f right %f", leftVolume, rightVolume); 527 process_media_player_call( env, thiz, mp->setVolume(leftVolume, rightVolume), NULL, NULL ); [all...] |
/frameworks/av/media/libmediaplayerservice/ |
MediaPlayerService.cpp | 981 status_t MediaPlayerService::Client::setVolume(float leftVolume, float rightVolume) 983 ALOGV("[%d] setVolume(%f, %f)", mConnId, leftVolume, rightVolume); 992 return hwp->setVolume(leftVolume, rightVolume); 994 if (mAudioOutput != 0) mAudioOutput->setVolume(leftVolume, rightVolume); [all...] |
MediaPlayerService.h | 342 virtual status_t setVolume(float leftVolume, float rightVolume);
|
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/ |
EffectBundle.cpp | [all...] |
/prebuilts/sdk/19/ |
android.jar | |
/prebuilts/sdk/current/ |
android.jar | |
/prebuilts/sdk/14/ |
android.jar | |
/prebuilts/sdk/15/ |
android.jar | |
/prebuilts/sdk/18/ |
android.jar | |
/prebuilts/sdk/4/ |
android.jar | |