Limited support
This feature is only present in Portal 2: Community Edition and Portal: Revolution.CPlayerVoiceListener
GetPlayerSpeechDuration
Returns the number of seconds the player has been continuously speaking.
float CPlayerVoiceListener::GetPlayerSpeechDuration(int)
IsPlayerSpeaking
Returns whether the player specified is speaking.
bool CPlayerVoiceListener::IsPlayerSpeaking(int)