Lines Matching refs:Sample
210 sp<Sample> sample = new Sample(++mNextSampleID, path);
221 sp<Sample> sample = new Sample(++mNextSampleID, fd, offset, length);
227 void SoundPool::doLoad(sp<Sample>& sample)
246 sp<Sample> sample;
257 if ((sample == 0) || (sample->state() != Sample::READY)) {
453 Sample::Sample(int sampleID, const char* url)
461 Sample::Sample(int sampleID, int fd, int64_t offset, int64_t length)
471 void Sample::init()
484 Sample::~Sample()
486 LOGV("Sample::destructor sampleID=%d, fd=%d", mSampleID, mFd);
495 status_t Sample::doLoad()
518 LOGE("Sample rate (%u) out of range", sampleRate);
523 LOGE("Sample channel count (%d) out of range", numChannels);
547 void SoundChannel::play(const sp<Sample>& sample, int nextChannelID, float leftVolume,
655 sp<Sample> sample;
710 sp<Sample> sample = mSample;
894 void SoundEvent::set(const sp<Sample>& sample, int channelID, float leftVolume,