Searched refs:channelID (Results 1 – 3 of 3) sorted by relevance
/frameworks/av/media/libmedia/ |
D | SoundPool.cpp | 186 SoundChannel* SoundPool::findChannel(int channelID) in findChannel() argument 189 if (mChannelPool[i].channelID() == channelID) { in findChannel() 196 SoundChannel* SoundPool::findNextChannel(int channelID) in findNextChannel() argument 199 if (mChannelPool[i].nextChannelID() == channelID) { in findNextChannel() 248 int channelID; in play() local 273 channelID = ++mNextChannelID; in play() 276 channel->play(sample, channelID, leftVolume, rightVolume, priority, loop, rate); in play() 277 return channelID; in play() 320 void SoundPool::pause(int channelID) in pause() argument 322 ALOGV("pause(%d)", channelID); in pause() [all …]
|
/frameworks/av/include/media/ |
D | SoundPool.h | 99 void set(const sp<Sample>& sample, int channelID, float leftVolume, 102 int channelID() { return mChannelID; } in channelID() function 128 void play(const sp<Sample>& sample, int channelID, float leftVolume, float rightVolume, 145 int nextChannelID() { return mNextEvent.channelID(); } in nextChannelID() 177 void pause(int channelID); 179 void resume(int channelID); 181 void stop(int channelID); 182 void setVolume(int channelID, float leftVolume, float rightVolume); 183 void setPriority(int channelID, int priority); 184 void setLoop(int channelID, int loop); [all …]
|
/frameworks/base/media/jni/soundpool/ |
D | android_media_SoundPool_SoundPoolImpl.cpp | 94 android_media_SoundPool_SoundPoolImpl_pause(JNIEnv *env, jobject thiz, jint channelID) in android_media_SoundPool_SoundPoolImpl_pause() argument 99 ap->pause(channelID); in android_media_SoundPool_SoundPoolImpl_pause() 103 android_media_SoundPool_SoundPoolImpl_resume(JNIEnv *env, jobject thiz, jint channelID) in android_media_SoundPool_SoundPoolImpl_resume() argument 108 ap->resume(channelID); in android_media_SoundPool_SoundPoolImpl_resume() 130 android_media_SoundPool_SoundPoolImpl_stop(JNIEnv *env, jobject thiz, jint channelID) in android_media_SoundPool_SoundPoolImpl_stop() argument 135 ap->stop(channelID); in android_media_SoundPool_SoundPoolImpl_stop() 139 android_media_SoundPool_SoundPoolImpl_setVolume(JNIEnv *env, jobject thiz, jint channelID, in android_media_SoundPool_SoundPoolImpl_setVolume() argument 145 ap->setVolume(channelID, (float) leftVolume, (float) rightVolume); in android_media_SoundPool_SoundPoolImpl_setVolume() 149 android_media_SoundPool_SoundPoolImpl_setPriority(JNIEnv *env, jobject thiz, jint channelID, in android_media_SoundPool_SoundPoolImpl_setPriority() argument 155 ap->setPriority(channelID, (int) priority); in android_media_SoundPool_SoundPoolImpl_setPriority() [all …]
|