Lines Matching defs:SoundChannel
68 mChannelPool = new SoundChannel[mMaxChannels];
97 void SoundPool::addToRestartList(SoundChannel* channel)
106 void SoundPool::addToStopList(SoundChannel* channel)
130 SoundChannel* channel;
132 List<SoundChannel* >::iterator iter = mStop.begin();
145 SoundChannel* channel;
147 List<SoundChannel*>::iterator iter = mRestart.begin();
186 SoundChannel* SoundPool::findChannel(int channelID)
196 SoundChannel* SoundPool::findNextChannel(int channelID)
247 SoundChannel* channel;
280 SoundChannel* SoundPool::allocateChannel_l(int priority)
282 List<SoundChannel*>::iterator iter;
283 SoundChannel* channel = NULL;
309 void SoundPool::moveToFront_l(SoundChannel* channel)
311 for (List<SoundChannel*>::iterator iter = mChannels.begin(); iter != mChannels.end(); ++iter) {
324 SoundChannel* channel = findChannel(channelID);
335 SoundChannel* channel = &mChannelPool[i];
344 SoundChannel* channel = findChannel(channelID);
355 SoundChannel* channel = &mChannelPool[i];
364 SoundChannel* channel = findChannel(channelID);
377 SoundChannel* channel = findChannel(channelID);
387 SoundChannel* channel = findChannel(channelID);
397 SoundChannel* channel = findChannel(channelID);
407 SoundChannel* channel = findChannel(channelID);
414 void SoundPool::done_l(SoundChannel* channel)
541 void SoundChannel::init(SoundPool* soundPool)
547 void SoundChannel::play(const sp<Sample>& sample, int nextChannelID, float leftVolume,
557 LOGV("SoundChannel::play %p: sampleID=%d, channelID=%d, leftVolume=%f, rightVolume=%f,"
599 // The toggle is concatenated with the SoundChannel address and passed to AudioTrack
653 void SoundChannel::nextEvent()
684 void SoundChannel::callback(int event, void* user, void *info)
686 SoundChannel* channel = static_cast<SoundChannel*>((void *)((unsigned long)user & ~1));
691 void SoundChannel::process(int event, void *info, unsigned long toggle)
712 // LOGV("SoundChannel::process event %d", event);
760 bool SoundChannel::doStop_l()
775 void SoundChannel::stop_l()
783 void SoundChannel::stop()
797 void SoundChannel::pause()
807 void SoundChannel::autoPause()
818 void SoundChannel::resume()
829 void SoundChannel::autoResume()
840 void SoundChannel::setRate(float rate)
851 void SoundChannel::setVolume_l(float leftVolume, float rightVolume)
858 void SoundChannel::setVolume(float leftVolume, float rightVolume)
864 void SoundChannel::setLoop(int loop)
875 SoundChannel::~SoundChannel()
877 LOGV("SoundChannel destructor %p", this);
888 void SoundChannel::dump()