Lines Matching refs:Sample
50 class Sample : public RefBase {
53 Sample(int sampleID, const char* url);
54 Sample(int sampleID, int fd, int64_t offset, int64_t length);
55 ~Sample();
96 void set(const sp<Sample>& sample, int channelID, float leftVolume,
98 sp<Sample> sample() { return mSample; }
108 sp<Sample> mSample;
125 void play(const sp<Sample>& sample, int channelID, float leftVolume, float rightVolume,
199 void doLoad(sp<Sample>& sample);
200 sp<Sample> findSample(int sampleID) { return mSamples.valueFor(sampleID); }
223 DefaultKeyedVector< int, sp<Sample> > mSamples;