Lines Matching refs:priority
219 int SoundPool::load(int fd, int64_t offset, int64_t length, int priority __unused) in load()
222 fd, offset, length, priority); in load()
248 int priority, int loop, float rate) in play() argument
251 sampleID, leftVolume, rightVolume, priority, loop, rate); in play()
270 channel = allocateChannel_l(priority, sampleID); in play()
281 channel->play(sample, channelID, leftVolume, rightVolume, priority, loop, rate); in play()
285 SoundChannel* SoundPool::allocateChannel_l(int priority, int sampleID) in allocateChannel_l() argument
305 if (priority >= (*iter)->priority()) { in allocateChannel_l()
314 channel->setPriority(priority); in allocateChannel_l()
316 if (priority < (*iter)->priority()) { in allocateChannel_l()
413 void SoundPool::setPriority(int channelID, int priority) in setPriority() argument
415 ALOGV("setPriority(%d, %d)", channelID, priority); in setPriority()
419 channel->setPriority(priority); in setPriority()
724 float rightVolume, int priority, int loop, float rate) in play() argument
736 priority, loop, rate); in play()
741 mNextEvent.set(sample, nextChannelID, leftVolume, rightVolume, priority, loop, rate); in play()
833 mPriority = priority; in play()
858 int priority; in nextEvent() local
874 priority = mNextEvent.priority(); in nextEvent()
880 play(sample, nextChannelID, leftVolume, rightVolume, priority, loop, rate); in nextEvent()
1128 float rightVolume, int priority, int loop, float rate) in set() argument
1134 mPriority = priority; in set()