Home | History | Annotate | Download | only in soundpool

Lines Matching full:samplerate

497     uint32_t sampleRate;
503 p = MediaPlayer::decode(mUrl, &sampleRate, &numChannels, &format);
505 p = MediaPlayer::decode(mFd, mOffset, mLength, &sampleRate, &numChannels, &format);
514 LOGV("pointer = %p, size = %u, sampleRate = %u, numChannels = %d",
515 p->pointer(), p->size(), sampleRate, numChannels);
517 if (sampleRate > kMaxSampleRate) {
518 LOGE("Sample rate (%u) out of range", sampleRate);
533 mSampleRate = sampleRate;
581 uint32_t sampleRate = uint32_t(float(sample->sampleRate()) * rate + 0.5);
582 uint32_t totalFrames = (kDefaultBufferCount * afFrameCount * sampleRate) / afSampleRate;
610 newTrack = new AudioTrack(streamType, sampleRate, sample->format(),
613 newTrack = new AudioTrack(streamType, sampleRate
844 uint32_t sampleRate = uint32_t(float(mSample->sampleRate()) * rate + 0.5);
845 mAudioTrack->setSampleRate(sampleRate);