Lines Matching full:priority
202 int SoundPool::load(const char* path, int priority)
204 ALOGV("load: path=%s, priority=%d", path, priority);
212 int SoundPool::load(int fd, int64_t offset, int64_t length, int priority)
214 ALOGV("load: fd=%d, offset=%lld, length=%lld, priority=%d",
215 fd, offset, length, priority);
238 int priority, int loop, float rate)
240 ALOGV("play sampleID=%d, leftVolume=%f, rightVolume=%f, priority=%d, loop=%d, rate=%f",
241 sampleID, leftVolume, rightVolume, priority, loop, rate);
261 channel = allocateChannel_l(priority);
272 channel->play(sample, channelID, leftVolume, rightVolume, priority, loop, rate);
276 SoundChannel* SoundPool::allocateChannel_l(int priority)
284 if (priority >= (*iter)->priority()) {
291 // update priority and put it back in the list
293 channel->setPriority(priority);
295 if (priority < (*iter)->priority()) {
379 void SoundPool::setPriority(int channelID, int priority)
381 ALOGV("setPriority(%d, %d)", channelID, priority);
385 channel->setPriority(priority);
546 float rightVolume, int priority, int loop, float rate)
556 " priority=%d, loop=%d, rate=%f",
558 priority, loop, rate);
563 mNextEvent.set(sample, nextChannelID, leftVolume, rightVolume, priority, loop, rate);
631 mPriority = priority;
656 int priority;
672 priority = mNextEvent.priority();
678 play(sample, nextChannelID, leftVolume, rightVolume, priority, loop, rate);
898 float rightVolume, int priority, int loop, float rate)
904 mPriority = priority;