Home | History | Annotate | Download | only in media

Lines Matching defs: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();
94 void set(const sp<Sample>& sample, int channelID, float leftVolume,
96 sp<Sample> sample() { return mSample; }
106 sp<Sample> mSample;
123 void play(const sp<Sample>& sample, int channelID, float leftVolume, float rightVolume,
197 void doLoad(sp<Sample>& sample);
198 sp<Sample> findSample(int sampleID) { return mSamples.valueFor(sampleID); }
221 DefaultKeyedVector< int, sp<Sample> > mSamples;