Searched defs:Sample (Results 1 - 3 of 3) sorted by relevance
/frameworks/base/media/jni/soundpool/ |
H A D | SoundPool.cpp | 175 sp<Sample> sample = new Sample(++mNextSampleID, path); 186 sp<Sample> sample = new Sample(++mNextSampleID, fd, offset, length); 192 void SoundPool::doLoad(sp<Sample>& sample) 211 sp<Sample> sample; 221 if ((sample == 0) || (sample->state() != Sample::READY)) { 384 Sample::Sample(int sampleID, const char* url) function in class:android::Sample 392 Sample function in class:android::Sample [all...] |
H A D | SoundPool.h | 52 class Sample : public RefBase { class in namespace:android 55 Sample(int sampleID, const char* url); 56 Sample(int sampleID, int fd, int64_t offset, int64_t length); 57 ~Sample(); 96 void set(const sp<Sample>& sample, int channelID, float leftVolume, 98 sp<Sample> sample() { return mSample; } 108 sp<Sample> mSample; 124 void play(const sp<Sample>& sample, int channelID, float leftVolume, float rightVolume, 188 void doLoad(sp<Sample>& sample); 192 sp<Sample> findSampl [all...] |
/frameworks/base/media/libmedia/ |
H A D | ToneGenerator.cpp | 1547 long Sample; // current sample local 1568 Sample = ((lA1 * lS1) >> S_Q14) - lS2; 1571 lS1 = Sample; 1572 Sample = ((lAmplitude>>16) * Sample) >> S_Q15; 1573 *(outBuffer++) += (short)Sample; // put result in buffer 1579 Sample = ((lA1 * lS1) >> S_Q14) - lS2; 1582 lS1 = Sample; 1583 Sample = (lAmplitude * Sample) >> S_Q1 [all...] |
Completed in 749 milliseconds