Home
last modified time | relevance | path

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

/frameworks/av/media/libmedia/
DSoundPool.cpp182 SoundChannel* SoundPool::findChannel(int channelID) in findChannel() argument
185 if (mChannelPool[i].channelID() == channelID) { in findChannel()
192 SoundChannel* SoundPool::findNextChannel(int channelID) in findNextChannel() argument
195 if (mChannelPool[i].nextChannelID() == channelID) { in findNextChannel()
244 int channelID; in play() local
269 channelID = ++mNextChannelID; in play()
272 channel->play(sample, channelID, leftVolume, rightVolume, priority, loop, rate); in play()
273 return channelID; in play()
316 void SoundPool::pause(int channelID) in pause() argument
318 ALOGV("pause(%d)", channelID); in pause()
[all …]
/frameworks/av/include/media/
DSoundPool.h99 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/
Dandroid_media_SoundPool_SoundPoolImpl.cpp87 android_media_SoundPool_SoundPoolImpl_pause(JNIEnv *env, jobject thiz, jint channelID) in android_media_SoundPool_SoundPoolImpl_pause() argument
92 ap->pause(channelID); in android_media_SoundPool_SoundPoolImpl_pause()
96 android_media_SoundPool_SoundPoolImpl_resume(JNIEnv *env, jobject thiz, jint channelID) in android_media_SoundPool_SoundPoolImpl_resume() argument
101 ap->resume(channelID); in android_media_SoundPool_SoundPoolImpl_resume()
123 android_media_SoundPool_SoundPoolImpl_stop(JNIEnv *env, jobject thiz, jint channelID) in android_media_SoundPool_SoundPoolImpl_stop() argument
128 ap->stop(channelID); in android_media_SoundPool_SoundPoolImpl_stop()
132 android_media_SoundPool_SoundPoolImpl_setVolume(JNIEnv *env, jobject thiz, jint channelID, in android_media_SoundPool_SoundPoolImpl_setVolume() argument
138 ap->setVolume(channelID, leftVolume, rightVolume); in android_media_SoundPool_SoundPoolImpl_setVolume()
142 android_media_SoundPool_SoundPoolImpl_setPriority(JNIEnv *env, jobject thiz, jint channelID, in android_media_SoundPool_SoundPoolImpl_setPriority() argument
148 ap->setPriority(channelID, priority); in android_media_SoundPool_SoundPoolImpl_setPriority()
[all …]