Lines Matching full:toggle
767 // The toggle is concatenated with the SoundChannel address and passed to AudioTrack
771 unsigned long toggle = mToggle ^ 1;
772 void *userData = (void *)((unsigned long)this | toggle);
796 // From now on, AudioTrack callbacks received with previous toggle value will be ignored.
797 mToggle = toggle;
863 void SoundChannel::process(int event, void *info, unsigned long toggle)
874 if (mToggle != toggle) {
875 ALOGV("process wrong toggle %p channel %d", this, mChannelID);