Lines Matching refs:cache
1218 sp<AudioCache> cache = new AudioCache(url);
1219 player = android::createPlayer(playerType, cache.get(), cache->notify);
1223 static_cast<MediaPlayerInterface*>(player.get())->setAudioSink(cache);
1232 if (cache->wait() != NO_ERROR) goto Exit;
1238 if (cache->wait() != NO_ERROR) goto Exit;
1240 mem = new MemoryBase(cache->getHeap(), 0, cache->size());
1241 *pSampleRate = cache->sampleRate();
1242 *pNumChannels = cache->channelCount();
1243 *pFormat = cache->format();
1261 sp<AudioCache> cache = new AudioCache("decode_fd");
1262 player = android::createPlayer(playerType, cache.get(), cache->notify);
1266 static_cast<MediaPlayerInterface*>(player.get())->setAudioSink(cache);
1275 if (cache->wait() != NO_ERROR) goto Exit;
1281 if (cache->wait() != NO_ERROR) goto Exit;
1283 mem = new MemoryBase(cache->getHeap(), 0, cache->size());
1284 *pSampleRate = cache->sampleRate();
1285 *pNumChannels = cache->channelCount();
1286 *pFormat = cache->format();