Lines Matching refs:channelID
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()
324 SoundChannel* channel = findChannel(channelID); in pause()
340 void SoundPool::resume(int channelID) in resume() argument
342 ALOGV("resume(%d)", channelID); in resume()
344 SoundChannel* channel = findChannel(channelID); in resume()
360 void SoundPool::stop(int channelID) in stop() argument
362 ALOGV("stop(%d)", channelID); in stop()
364 SoundChannel* channel = findChannel(channelID); in stop()
368 channel = findNextChannel(channelID); in stop()
374 void SoundPool::setVolume(int channelID, float leftVolume, float rightVolume) in setVolume() argument
377 SoundChannel* channel = findChannel(channelID); in setVolume()
383 void SoundPool::setPriority(int channelID, int priority) in setPriority() argument
385 ALOGV("setPriority(%d, %d)", channelID, priority); in setPriority()
387 SoundChannel* channel = findChannel(channelID); in setPriority()
393 void SoundPool::setLoop(int channelID, int loop) in setLoop() argument
395 ALOGV("setLoop(%d, %d)", channelID, loop); in setLoop()
397 SoundChannel* channel = findChannel(channelID); in setLoop()
403 void SoundPool::setRate(int channelID, float rate) in setRate() argument
405 ALOGV("setRate(%d, %f)", channelID, rate); in setRate()
407 SoundChannel* channel = findChannel(channelID); in setRate()
416 ALOGV("done_l(%d)", channel->channelID()); in done_l()
574 ALOGV("channel %d stolen - event queued for channel %d", channelID(), nextChannelID); in play()
674 nextChannelID = mNextEvent.channelID(); in nextEvent()
688 ALOGV("Starting stolen channel %d -> %d", channelID(), nextChannelID); in nextEvent()
909 void SoundEvent::set(const sp<Sample>& sample, int channelID, float leftVolume, in set() argument
913 mChannelID = channelID; in set()