Lines Matching refs:rate
242 int priority, int loop, float rate)
244 LOGV("play sampleID=%d, leftVolume=%f, rightVolume=%f, priority=%d, loop=%d, rate=%f",
245 sampleID, leftVolume, rightVolume, priority, loop, rate);
276 channel->play(sample, channelID, leftVolume, rightVolume, priority, loop, rate);
403 void SoundPool::setRate(int channelID, float rate)
405 LOGV("setRate(%d, %f)", channelID, rate);
409 channel->setRate(rate);
518 LOGE("Sample rate (%u) out of range", sampleRate);
548 float rightVolume, int priority, int loop, float rate)
558 " priority=%d, loop=%d, rate=%f",
560 priority, loop, rate);
565 mNextEvent.set(sample, nextChannelID, leftVolume, rightVolume, priority, loop, rate);
581 uint32_t sampleRate = uint32_t(float(sample->sampleRate()) * rate + 0.5);
637 mRate = rate;
661 float rate;
677 rate = mNextEvent.rate();
681 play(sample, nextChannelID, leftVolume, rightVolume, priority, loop, rate);
840 void SoundChannel::setRate(float rate)
844 uint32_t sampleRate = uint32_t(float(mSample->sampleRate()) * rate + 0.5);
846 mRate = rate;
895 float rightVolume, int priority, int loop, float rate)
903 mRate =rate;