Searched refs:channelID (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/media/jni/soundpool/
H A DSoundPool.cpp151 SoundChannel* SoundPool::findChannel(int channelID) argument
154 if (mChannelPool[i].channelID() == channelID) {
161 SoundChannel* SoundPool::findNextChannel(int channelID) argument
164 if (mChannelPool[i].nextChannelID() == channelID) {
213 int channelID; local
237 channelID = ++mNextChannelID;
241 channel->play(sample, channelID, leftVolume, rightVolume, priority, loop, rate);
242 return channelID;
285 void SoundPool::pause(int channelID) argument
295 resume(int channelID) argument
305 stop(int channelID) argument
319 setVolume(int channelID, float leftVolume, float rightVolume) argument
328 setPriority(int channelID, int priority) argument
338 setLoop(int channelID, int loop) argument
348 setRate(int channelID, float rate) argument
756 set(const sp<Sample>& sample, int channelID, float leftVolume, float rightVolume, int priority, int loop, float rate) argument
[all...]
H A Dandroid_media_SoundPool.cpp86 android_media_SoundPool_pause(JNIEnv *env, jobject thiz, jint channelID) argument
91 ap->pause(channelID);
95 android_media_SoundPool_resume(JNIEnv *env, jobject thiz, jint channelID) argument
100 ap->resume(channelID);
104 android_media_SoundPool_stop(JNIEnv *env, jobject thiz, jint channelID) argument
109 ap->stop(channelID);
113 android_media_SoundPool_setVolume(JNIEnv *env, jobject thiz, jint channelID, argument
119 ap->setVolume(channelID, leftVolume, rightVolume);
123 android_media_SoundPool_setPriority(JNIEnv *env, jobject thiz, jint channelID, argument
129 ap->setPriority(channelID, priorit
133 android_media_SoundPool_setLoop(JNIEnv *env, jobject thiz, jint channelID, int loop) argument
143 android_media_SoundPool_setRate(JNIEnv *env, jobject thiz, jint channelID, float rate) argument
[all...]
H A DSoundPool.h96 void set(const sp<Sample>& sample, int channelID, float leftVolume,
99 int channelID() { return mChannelID; } function in class:android::SoundEvent
124 void play(const sp<Sample>& sample, int channelID, float leftVolume, float rightVolume,
139 int nextChannelID() { return mNextEvent.channelID(); }
169 void pause(int channelID);
170 void resume(int channelID);
171 void stop(int channelID);
172 void setVolume(int channelID, float leftVolume, float rightVolume);
173 void setPriority(int channelID, int priority);
174 void setLoop(int channelID, in
[all...]

Completed in 100 milliseconds