Lines Matching refs:rate
238 int priority, int loop, float rate) in play() argument
241 sampleID, leftVolume, rightVolume, priority, loop, rate); in play()
272 channel->play(sample, channelID, leftVolume, rightVolume, priority, loop, rate); in play()
399 void SoundPool::setRate(int channelID, float rate) in setRate() argument
401 ALOGV("setRate(%d, %f)", channelID, rate); in setRate()
405 channel->setRate(rate); in setRate()
546 float rightVolume, int priority, int loop, float rate) in play() argument
558 priority, loop, rate); in play()
563 mNextEvent.set(sample, nextChannelID, leftVolume, rightVolume, priority, loop, rate); in play()
579 uint32_t sampleRate = uint32_t(float(sample->sampleRate()) * rate + 0.5); in play()
636 mRate = rate; in play()
658 float rate; in nextEvent() local
674 rate = mNextEvent.rate(); in nextEvent()
678 play(sample, nextChannelID, leftVolume, rightVolume, priority, loop, rate); in nextEvent()
842 void SoundChannel::setRate(float rate) in setRate() argument
846 uint32_t sampleRate = uint32_t(float(mSample->sampleRate()) * rate + 0.5); in setRate()
848 mRate = rate; in setRate()
898 float rightVolume, int priority, int loop, float rate) in set() argument
906 mRate =rate; in set()