/frameworks/base/media/jni/soundpool/ |
SoundPool.h | 95 float rightVolume, int priority, int loop, float rate); 99 float rightVolume() { return mRightVolume; } 123 void play(const sp<Sample>& sample, int channelID, float leftVolume, float rightVolume, 125 void setVolume_l(float leftVolume, float rightVolume); 126 void setVolume(float leftVolume, float rightVolume); 170 int play(int sampleID, float leftVolume, float rightVolume, int priority, 177 void setVolume(int channelID, float leftVolume, float rightVolume);
|
SoundPool.cpp | 241 int SoundPool::play(int sampleID, float leftVolume, float rightVolume, 244 LOGV("play sampleID=%d, leftVolume=%f, rightVolume=%f, priority=%d, loop=%d, rate=%f", 245 sampleID, leftVolume, rightVolume, priority, loop, rate); 276 channel->play(sample, channelID, leftVolume, rightVolume, priority, loop, rate); 374 void SoundPool::setVolume(int channelID, float leftVolume, float rightVolume) 379 channel->setVolume(leftVolume, rightVolume); 548 float rightVolume, int priority, int loop, float rate) 557 LOGV("SoundChannel::play %p: sampleID=%d, channelID=%d, leftVolume=%f, rightVolume=%f," 559 this, sample->sampleID(), nextChannelID, leftVolume, rightVolume, 565 mNextEvent.set(sample, nextChannelID, leftVolume, rightVolume, priority, loop, rate) [all...] |
android_media_SoundPool.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);
|
/cts/tests/tests/media/src/android/media/cts/ |
SoundPoolTest.java | 218 float rightVolume = LOUD; 222 int streamID = mSoundPool.play(sampleID, leftVolume, rightVolume, priority, loop, rate); 236 streamID = mSoundPool.play(sampleID, leftVolume, rightVolume, priority, loop, rate); 242 rightVolume = SILENT; 243 mSoundPool.setVolume(streamID, leftVolume, rightVolume); 245 rightVolume = LOUD; 246 mSoundPool.setVolume(streamID, leftVolume, rightVolume);
|
MediaPlayerTestBase.java | 149 final float rightVolume = 0.5f; 181 mMediaPlayer.setVolume(leftVolume, rightVolume);
|
/frameworks/base/media/java/android/media/ |
AudioTrack.java | 697 * @param rightVolume output attenuation for the right channel 701 public int setStereoVolume(float leftVolume, float rightVolume) { 713 if (rightVolume < getMinVolume()) { 714 rightVolume = getMinVolume(); 716 if (rightVolume > getMaxVolume()) { 717 rightVolume = getMaxVolume(); 720 native_setVolume(leftVolume, rightVolume); [all...] |
SoundPool.java | 278 * @param rightVolume right volume value (range = 0.0 to 1.0) 284 public native final int play(int soundID, float leftVolume, float rightVolume, 353 * @param rightVolume right volume value (range = 0.0 to 1.0) 356 float leftVolume, float rightVolume);
|
MediaPlayer.java | [all...] |
/frameworks/base/include/media/ |
IMediaPlayer.h | 57 virtual status_t setVolume(float leftVolume, float rightVolume) = 0;
|
MediaPlayerInterface.h | 204 virtual status_t setVolume(float leftVolume, float rightVolume) = 0;
|
mediaplayer.h | 192 status_t setVolume(float leftVolume, float rightVolume);
|
/frameworks/base/media/libeffects/lvm/wrapper/Reverb/ |
EffectReverb.cpp | 157 LVM_INT16 rightVolume; 513 pContext->rightVolume != pContext->prevRightVolume) && 518 LVM_INT32 incr = (((LVM_INT32)pContext->rightVolume << 16) - vr) / frameCount; 531 pContext->prevRightVolume = pContext->rightVolume; 534 pContext->rightVolume != REVERB_UNIT_VOLUME) { 539 clamp16((LVM_INT32)(pContext->rightVolume * OutFrames16[2*i+1]) >> 12); 543 pContext->prevRightVolume = pContext->rightVolume; 747 pContext->rightVolume = REVERB_UNIT_VOLUME; [all...] |
/frameworks/base/media/tests/SoundPoolTest/src/com/android/ |
SoundPoolTest.java | 310 float rightVolume = (float) Math.cos(radians); 311 mSoundPool.setVolume(id, leftVolume, rightVolume); 312 if (DEBUG) Log.d(LOG_TAG, "Change volume (" + leftVolume + "," + rightVolume + ")");
|
/frameworks/base/media/libmedia/ |
IMediaPlayer.cpp | 230 status_t setVolume(float leftVolume, float rightVolume) 235 data.writeFloat(rightVolume); 428 float rightVolume = data.readFloat(); 429 reply->writeInt32(setVolume(leftVolume, rightVolume));
|
mediaplayer.cpp | 526 status_t MediaPlayer::setVolume(float leftVolume, float rightVolume) 528 LOGV("MediaPlayer::setVolume(%f, %f)", leftVolume, rightVolume); 531 mRightVolume = rightVolume; 533 return mPlayer->setVolume(leftVolume, rightVolume);
|
/frameworks/base/media/libmediaplayerservice/ |
MediaPlayerService.h | 265 virtual status_t setVolume(float leftVolume, float rightVolume);
|
MediaPlayerService.cpp | 1035 status_t MediaPlayerService::Client::setVolume(float leftVolume, float rightVolume) 1037 LOGV("[%d] setVolume(%f, %f)", mConnId, leftVolume, rightVolume); 1040 if (mAudioOutput != 0) mAudioOutput->setVolume(leftVolume, rightVolume); [all...] |
/frameworks/base/media/jni/ |
android_media_MediaPlayer.cpp | 510 android_media_MediaPlayer_setVolume(JNIEnv *env, jobject thiz, float leftVolume, float rightVolume) 512 LOGV("setVolume: left %f right %f", leftVolume, rightVolume); 518 process_media_player_call( env, thiz, mp->setVolume(leftVolume, rightVolume), NULL, NULL );
|
/frameworks/base/media/libeffects/lvm/wrapper/Bundle/ |
EffectBundle.cpp | [all...] |
/prebuilt/sdk/14/ |
android.jar | |
/prebuilt/sdk/4/ |
android.jar | |
/prebuilt/sdk/5/ |
android.jar | |
/prebuilt/sdk/6/ |
android.jar | |
/prebuilt/sdk/8/ |
android.jar | |