Searched defs:sampleID (Results 1 - 4 of 4) sorted by relevance
/frameworks/base/media/jni/soundpool/ |
H A D | SoundPoolThread.cpp | 101 void SoundPoolThread::loadSample(int sampleID) { argument 102 write(SoundPoolMsg(SoundPoolMsg::LOAD_SAMPLE, sampleID)); 105 void SoundPoolThread::doLoadSample(int sampleID) { argument 106 sp <Sample> sample = mSoundPool->findSample(sampleID); 111 mSoundPool->notify(SoundPoolEvent(SoundPoolEvent::SAMPLE_LOADED, sampleID, status));
|
H A D | android_media_SoundPool.cpp | 61 android_media_SoundPool_unload(JNIEnv *env, jobject thiz, jint sampleID) { argument 65 return ap->unload(sampleID) ? JNI_TRUE : JNI_FALSE; 69 android_media_SoundPool_play(JNIEnv *env, jobject thiz, jint sampleID, argument 76 return (jint) ap->play(sampleID, leftVolume, rightVolume, priority, loop, rate);
|
H A D | SoundPool.h | 55 Sample(int sampleID, int fd, int64_t offset, int64_t length); 57 int sampleID() { return mSampleID; } function in class:android::Sample 167 bool unload(int sampleID); 168 int play(int sampleID, float leftVolume, float rightVolume, int priority, 182 void sampleLoaded(int sampleID); 183 sp<Sample> findSample(int sampleID); 195 sp<Sample> findSample_l(int sampleID); 198 SoundChannel* allocateChannel_l(int priority, int sampleID);
|
H A D | SoundPool.cpp | 190 sp<Sample> SoundPool::findSample(int sampleID) argument 193 return findSample_l(sampleID); 196 sp<Sample> SoundPool::findSample_l(int sampleID) argument 198 return mSamples.valueFor(sampleID); 225 int sampleID; local 228 sampleID = ++mNextSampleID; 229 sp<Sample> sample = new Sample(sampleID, fd, offset, length); 230 mSamples.add(sampleID, sample); 238 mDecodeThread->loadSample(sampleID); 239 return sampleID; 242 unload(int sampleID) argument 249 play(int sampleID, float leftVolume, float rightVolume, int priority, int loop, float rate) argument 287 allocateChannel_l(int priority, int sampleID) argument 472 Sample(int sampleID, int fd, int64_t offset, int64_t length) argument [all...] |
Completed in 58 milliseconds