Lines Matching refs:SoundPool
18 #define LOG_TAG "SoundPool"
31 #include "SoundPool.h"
42 SoundPool::SoundPool(int maxChannels, int streamType, int srcQuality)
44 LOGV("SoundPool constructor: maxChannels=%d, streamType=%d, srcQuality=%d",
78 SoundPool::~SoundPool()
80 LOGV("SoundPool destructor");
97 void SoundPool::addToRestartList(SoundChannel* channel)
106 void SoundPool::addToStopList(SoundChannel* channel)
115 int SoundPool::beginThread(void* arg)
117 SoundPool* p = (SoundPool*)arg;
121 int SoundPool::run()
168 void SoundPool::quit()
178 bool SoundPool::startThreads()
180 createThreadEtc(beginThread, this, "SoundPool");
186 SoundChannel* SoundPool::findChannel(int channelID)
196 SoundChannel* SoundPool::findNextChannel(int channelID)
206 int SoundPool::load(const char* path, int priority)
216 int SoundPool::load(int fd, int64_t offset, int64_t length, int priority)
227 void SoundPool::doLoad(sp<Sample>& sample)
234 bool SoundPool::unload(int sampleID)
241 int SoundPool::play(int sampleID, float leftVolume, float rightVolume,
280 SoundChannel* SoundPool::allocateChannel_l(int priority)
309 void SoundPool::moveToFront_l(SoundChannel* channel)
320 void SoundPool::pause(int channelID)
330 void SoundPool::autoPause()
340 void SoundPool::resume(int channelID)
350 void SoundPool::autoResume()
360 void SoundPool::stop(int channelID)
374 void SoundPool::setVolume(int channelID, float leftVolume, float rightVolume)
383 void SoundPool::setPriority(int channelID, int priority)
393 void SoundPool::setLoop(int channelID, int loop)
403 void SoundPool::setRate(int channelID, float rate)
414 void SoundPool::done_l(SoundChannel* channel)
430 void SoundPool::setCallback(SoundPoolCallback* callback, void* user)
437 void SoundPool::notify(SoundPoolEvent event)
445 void SoundPool::dump()
541 void SoundChannel::init(SoundPool* soundPool)
543 mSoundPool = soundPool;