Searched refs:channelID (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/media/jni/soundpool/ |
D | SoundPool.h | 93 void set(const sp<Sample>& sample, int channelID, float leftVolume, 96 int channelID() { return mChannelID; } in channelID() function 122 void play(const sp<Sample>& sample, int channelID, float leftVolume, float rightVolume, 140 int nextChannelID() { return mNextEvent.channelID(); } in nextChannelID() 174 void pause(int channelID); 177 void resume(int channelID); 179 void stop(int channelID); 180 void setVolume(int channelID, float leftVolume, float rightVolume); 181 void setPriority(int channelID, int priority); 182 void setLoop(int channelID, int loop); [all …]
|
D | SoundPool.cpp | 199 SoundChannel* SoundPool::findChannel(int channelID) in findChannel() argument 202 if (mChannelPool[i].channelID() == channelID) { in findChannel() 209 SoundChannel* SoundPool::findNextChannel(int channelID) in findNextChannel() argument 212 if (mChannelPool[i].nextChannelID() == channelID) { in findNextChannel() 253 int channelID; in play() local 278 channelID = ++mNextChannelID; in play() 281 channel->play(sample, channelID, leftVolume, rightVolume, priority, loop, rate); in play() 282 return channelID; in play() 337 void SoundPool::pause(int channelID) in pause() argument 339 ALOGV("pause(%d)", channelID); in pause() [all …]
|
D | android_media_SoundPool.cpp | 80 android_media_SoundPool_pause(JNIEnv *env, jobject thiz, jint channelID) in android_media_SoundPool_pause() argument 85 ap->pause(channelID); in android_media_SoundPool_pause() 89 android_media_SoundPool_resume(JNIEnv *env, jobject thiz, jint channelID) in android_media_SoundPool_resume() argument 94 ap->resume(channelID); in android_media_SoundPool_resume() 116 android_media_SoundPool_stop(JNIEnv *env, jobject thiz, jint channelID) in android_media_SoundPool_stop() argument 121 ap->stop(channelID); in android_media_SoundPool_stop() 125 android_media_SoundPool_setVolume(JNIEnv *env, jobject thiz, jint channelID, in android_media_SoundPool_setVolume() argument 131 ap->setVolume(channelID, (float) leftVolume, (float) rightVolume); in android_media_SoundPool_setVolume() 144 android_media_SoundPool_setPriority(JNIEnv *env, jobject thiz, jint channelID, in android_media_SoundPool_setPriority() argument 150 ap->setPriority(channelID, (int) priority); in android_media_SoundPool_setPriority() [all …]
|