Lines Matching defs:SoundChannel

72     mChannelPool = new SoundChannel[mMaxChannels];
101 void SoundPool::addToRestartList(SoundChannel* channel)
110 void SoundPool::addToStopList(SoundChannel* channel)
134 SoundChannel* channel;
136 List<SoundChannel* >::iterator iter = mStop.begin();
149 SoundChannel* channel;
151 List<SoundChannel*>::iterator iter = mRestart.begin();
201 SoundChannel* SoundPool::findChannel(int channelID)
211 SoundChannel* SoundPool::findNextChannel(int channelID)
254 SoundChannel* channel;
287 SoundChannel* SoundPool::allocateChannel_l(int priority, int sampleID)
289 List<SoundChannel*>::iterator iter;
290 SoundChannel* channel = NULL;
295 if (sampleID == (*iter)->getPrevSampleID() && (*iter)->state() == SoundChannel::IDLE) {
328 void SoundPool::moveToFront_l(SoundChannel* channel)
330 for (List<SoundChannel*>::iterator iter = mChannels.begin(); iter != mChannels.end(); ++iter) {
343 SoundChannel* channel = findChannel(channelID);
354 SoundChannel* channel = &mChannelPool[i];
363 SoundChannel* channel = findChannel(channelID);
374 SoundChannel* channel = &mChannelPool[i];
383 SoundChannel* channel = findChannel(channelID);
396 SoundChannel* channel = findChannel(channelID);
406 SoundChannel* channel = findChannel(channelID);
416 SoundChannel* channel = findChannel(channelID);
426 SoundChannel* channel = findChannel(channelID);
433 void SoundPool::done_l(SoundChannel* channel)
698 void SoundChannel::init(SoundPool* soundPool)
705 void SoundChannel::play(const sp<Sample>& sample, int nextChannelID, float leftVolume,
715 ALOGV("SoundChannel::play %p: sampleID=%d, channelID=%d, leftVolume=%f, rightVolume=%f,"
767 // The toggle is concatenated with the SoundChannel address and passed to AudioTrack
825 void SoundChannel::nextEvent()
856 void SoundChannel::callback(int event, void* user, void *info)
858 SoundChannel* channel = static_cast<SoundChannel*>((void *)((unsigned long)user & ~1));
863 void SoundChannel::process(int event, void *info, unsigned long toggle)
884 // ALOGV("SoundChannel::process event %d", event);
933 ALOGW("SoundChannel::process unexpected event %d", event);
939 bool SoundChannel::doStop_l()
955 void SoundChannel::stop_l()
963 void SoundChannel::stop()
977 void SoundChannel::pause()
987 void SoundChannel::autoPause()
998 void SoundChannel::resume()
1009 void SoundChannel::autoResume()
1020 void SoundChannel::setRate(float rate)
1031 void SoundChannel::setVolume_l(float leftVolume, float rightVolume)
1039 void SoundChannel::setVolume(float leftVolume, float rightVolume)
1045 void SoundChannel::setLoop(int loop)
1056 SoundChannel::~SoundChannel()
1058 ALOGV("SoundChannel destructor %p", this);
1069 void SoundChannel::dump()