Lines Matching defs:SoundPool

18 #define LOG_TAG "SoundPool"
25 #include <media/SoundPool.h>
38 SoundPool::SoundPool(int maxChannels, audio_stream_type_t streamType, int srcQuality)
40 ALOGV("SoundPool constructor: maxChannels=%d, streamType=%d, srcQuality=%d",
74 SoundPool::~SoundPool()
76 ALOGV("SoundPool destructor");
93 void SoundPool::addToRestartList(SoundChannel* channel)
102 void SoundPool::addToStopList(SoundChannel* channel)
111 int SoundPool::beginThread(void* arg)
113 SoundPool* p = (SoundPool*)arg;
117 int SoundPool::run()
164 void SoundPool::quit()
174 bool SoundPool::startThreads()
176 createThreadEtc(beginThread, this, "SoundPool");
182 SoundChannel* SoundPool::findChannel(int channelID)
192 SoundChannel* SoundPool::findNextChannel(int channelID)
202 int SoundPool::load(const char* path, int priority)
212 int SoundPool::load(int fd, int64_t offset, int64_t length, int priority)
223 void SoundPool::doLoad(sp<Sample>& sample)
230 bool SoundPool::unload(int sampleID)
237 int SoundPool::play(int sampleID, float leftVolume, float rightVolume,
276 SoundChannel* SoundPool::allocateChannel_l(int priority)
305 void SoundPool::moveToFront_l(SoundChannel* channel)
316 void SoundPool::pause(int channelID)
326 void SoundPool::autoPause()
336 void SoundPool::resume(int channelID)
346 void SoundPool::autoResume()
356 void SoundPool::stop(int channelID)
370 void SoundPool::setVolume(int channelID, float leftVolume, float rightVolume)
379 void SoundPool::setPriority(int channelID, int priority)
389 void SoundPool::setLoop(int channelID, int loop)
399 void SoundPool::setRate(int channelID, float rate)
410 void SoundPool::done_l(SoundChannel* channel)
426 void SoundPool::setCallback(SoundPoolCallback* callback, void* user)
433 void SoundPool::notify(SoundPoolEvent event)
441 void SoundPool::dump()
539 void SoundChannel::init(SoundPool* soundPool)