Lines Matching refs:priority
221 int SoundPool::load(int fd, int64_t offset, int64_t length, int priority __unused) in load()
224 fd, offset, length, priority); in load()
250 int priority, int loop, float rate) in play() argument
253 sampleID, leftVolume, rightVolume, priority, loop, rate); in play()
272 channel = allocateChannel_l(priority, sampleID); in play()
283 channel->play(sample, channelID, leftVolume, rightVolume, priority, loop, rate); in play()
287 SoundChannel* SoundPool::allocateChannel_l(int priority, int sampleID) in allocateChannel_l() argument
307 if (priority >= (*iter)->priority()) { in allocateChannel_l()
316 channel->setPriority(priority); in allocateChannel_l()
318 if (priority < (*iter)->priority()) { in allocateChannel_l()
402 void SoundPool::setPriority(int channelID, int priority) in setPriority() argument
404 ALOGV("setPriority(%d, %d)", channelID, priority); in setPriority()
408 channel->setPriority(priority); in setPriority()
706 float rightVolume, int priority, int loop, float rate) in play() argument
718 priority, loop, rate); in play()
723 mNextEvent.set(sample, nextChannelID, leftVolume, rightVolume, priority, loop, rate); in play()
806 mPriority = priority; in play()
831 int priority; in nextEvent() local
847 priority = mNextEvent.priority(); in nextEvent()
853 play(sample, nextChannelID, leftVolume, rightVolume, priority, loop, rate); in nextEvent()
1076 float rightVolume, int priority, int loop, float rate) in set() argument
1082 mPriority = priority; in set()