Home
last modified time | relevance | path

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

/frameworks/base/media/jni/soundpool/
DSoundPool.cpp186 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 LOGV("pause(%d)", channelID); in pause()
[all …]
DSoundPool.h94 void set(const sp<Sample>& sample, int channelID, float leftVolume,
97 int channelID() { return mChannelID; } in channelID() function
123 void play(const sp<Sample>& sample, int channelID, float leftVolume, float rightVolume,
140 int nextChannelID() { return mNextEvent.channelID(); } in nextChannelID()
172 void pause(int channelID);
174 void resume(int channelID);
176 void stop(int channelID);
177 void setVolume(int channelID, float leftVolume, float rightVolume);
178 void setPriority(int channelID, int priority);
179 void setLoop(int channelID, int loop);
[all …]
Dandroid_media_SoundPool.cpp87 android_media_SoundPool_pause(JNIEnv *env, jobject thiz, jint channelID) in android_media_SoundPool_pause() argument
92 ap->pause(channelID); in android_media_SoundPool_pause()
96 android_media_SoundPool_resume(JNIEnv *env, jobject thiz, jint channelID) in android_media_SoundPool_resume() argument
101 ap->resume(channelID); in android_media_SoundPool_resume()
123 android_media_SoundPool_stop(JNIEnv *env, jobject thiz, jint channelID) in android_media_SoundPool_stop() argument
128 ap->stop(channelID); in android_media_SoundPool_stop()
132 android_media_SoundPool_setVolume(JNIEnv *env, jobject thiz, jint channelID, in android_media_SoundPool_setVolume() argument
138 ap->setVolume(channelID, leftVolume, rightVolume); in android_media_SoundPool_setVolume()
142 android_media_SoundPool_setPriority(JNIEnv *env, jobject thiz, jint channelID, in android_media_SoundPool_setPriority() argument
148 ap->setPriority(channelID, priority); in android_media_SoundPool_setPriority()
[all …]