Home
last modified time | relevance | path

Searched refs:state_it (Results 1 – 1 of 1) sorted by relevance

/external/webrtc/talk/session/media/
Dcurrentspeakermonitor.cc107 std::map<uint32_t, SpeakingState>::iterator state_it; in OnAudioMonitor() local
108 for (state_it = ssrc_to_speaking_state_map_.begin(); in OnAudioMonitor()
109 state_it != ssrc_to_speaking_state_map_.end(); ++state_it) { in OnAudioMonitor()
110 bool is_previous_speaker = current_speaker_ssrc_ == state_it->first; in OnAudioMonitor()
117 active_ssrc_to_level_map.find(state_it->first); in OnAudioMonitor()
122 switch (state_it->second) { in OnAudioMonitor()
127 state_it->second = SS_MIGHT_BE_SPEAKING; in OnAudioMonitor()
134 state_it->second = SS_SPEAKING; in OnAudioMonitor()
136 state_it->second = SS_NOT_SPEAKING; in OnAudioMonitor()
143 state_it->second = SS_WAS_SPEAKING_RECENTLY1; in OnAudioMonitor()
[all …]