HomeSort by relevance Sort by last modified time
    Searched refs:sampleID (Results 1 - 7 of 7) sorted by null

  /frameworks/base/media/jni/soundpool/
SoundPoolThread.cpp 101 void SoundPoolThread::loadSample(int sampleID) {
102 write(SoundPoolMsg(SoundPoolMsg::LOAD_SAMPLE, sampleID));
105 void SoundPoolThread::doLoadSample(int sampleID) {
106 sp <Sample> sample = mSoundPool->findSample(sampleID);
111 mSoundPool->notify(SoundPoolEvent(SoundPoolEvent::SAMPLE_LOADED, sampleID, status));
SoundPoolThread.h 45 void loadSample(int sampleID);
54 void doLoadSample(int sampleID);
SoundPool.h 55 Sample(int sampleID, int fd, int64_t offset, int64_t length);
57 int sampleID() { return mSampleID; }
169 bool unload(int sampleID);
170 int play(int sampleID, float leftVolume, float rightVolume, int priority,
185 void sampleLoaded(int sampleID);
186 sp<Sample> findSample(int sampleID);
198 sp<Sample> findSample_l(int sampleID);
201 SoundChannel* allocateChannel_l(int priority, int sampleID);
SoundPool.cpp 188 sp<Sample> SoundPool::findSample(int sampleID)
191 return findSample_l(sampleID);
194 sp<Sample> SoundPool::findSample_l(int sampleID)
196 return mSamples.valueFor(sampleID);
223 int sampleID;
226 sampleID = ++mNextSampleID;
227 sp<Sample> sample = new Sample(sampleID, fd, offset, length);
228 mSamples.add(sampleID, sample);
236 mDecodeThread->loadSample(sampleID);
237 return sampleID;
    [all...]
android_media_SoundPool.cpp 61 android_media_SoundPool_unload(JNIEnv *env, jobject thiz, jint sampleID) {
65 return ap->unload(sampleID) ? JNI_TRUE : JNI_FALSE;
69 android_media_SoundPool_play(JNIEnv *env, jobject thiz, jint sampleID,
76 return (jint) ap->play(sampleID, leftVolume, rightVolume, priority, loop, rate);
  /cts/tests/tests/media/src/android/media/cts/
SoundPoolTest.java 145 int sampleID = loadSampleSync(getSoundA(), PRIORITY);
153 int streamID = mSoundPool.play(sampleID, leftVolume, rightVolume, priority, loop, rate);
167 streamID = mSoundPool.play(sampleID, leftVolume, rightVolume, priority, loop, rate);
182 mSoundPool.unload(sampleID);
265 public void onLoadComplete(SoundPool pool, int sampleId, int status) {
269 loadIds[loaded[0]++] = sampleId;
342 private int loadSampleSync(int sampleId, int prio) throws InterruptedException {
343 int sample = mSoundPool.load(mContext, sampleId, prio);
350 * @param sampleId The sample ID.
353 private void waitUntilLoaded(int sampleId) throws InterruptedException
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/pipeline/
vktPipelineMultisampleShaderBuiltInTests.cpp 238 const deUint32 sampleID = dataPerSample[sampleNdx].getPixelUint(x, y, z).x();
240 if (sampleID != sampleNdx)
    [all...]

Completed in 249 milliseconds