Home
last modified time | relevance | path

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

/frameworks/base/media/jni/soundpool/
DSoundPool.h91 void set(const sp<Sample>& sample, int channelID, float leftVolume,
94 int channelID() { return mChannelID; } in channelID() function
120 void play(const sp<Sample>& sample, int channelID, float leftVolume, float rightVolume,
138 int nextChannelID() { return mNextEvent.channelID(); } in nextChannelID()
172 void pause(int channelID);
175 void resume(int channelID);
177 void stop(int channelID);
178 void setVolume(int channelID, float leftVolume, float rightVolume);
179 void setPriority(int channelID, int priority);
180 void setLoop(int channelID, int loop);
[all …]
DSoundPool.cpp202 SoundChannel* SoundPool::findChannel(int channelID) in findChannel() argument
205 if (mChannelPool[i].channelID() == channelID) { in findChannel()
212 SoundChannel* SoundPool::findNextChannel(int channelID) in findNextChannel() argument
215 if (mChannelPool[i].nextChannelID() == channelID) { in findNextChannel()
256 int channelID; in play() local
281 channelID = ++mNextChannelID; in play()
284 channel->play(sample, channelID, leftVolume, rightVolume, priority, loop, rate); in play()
285 return channelID; in play()
340 void SoundPool::pause(int channelID) in pause() argument
342 ALOGV("pause(%d)", channelID); in pause()
[all …]
Dandroid_media_SoundPool.cpp80 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 …]