Searched refs:Sample (Results 1 - 5 of 5) sorted by relevance
/frameworks/base/media/jni/soundpool/ |
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...] |
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 | SoundPoolThread.cpp | 102 sp <Sample> sample = mSoundPool->findSample(sampleID);
|
/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...] |
/frameworks/base/docs/html/resources/ |
H A D | resources_toc.cs | 161 <h2><span class="en">Sample Code</span> 173 <span class="en">List of Sample Apps</span>
|
Completed in 74 milliseconds