SMctlGrunt
Previous Topic  Next Topic 

Synopsis:

       SMctlGrunt(vox_chan,on_off,latency)


Arguments:

       vox_chan The voice channel

       on_off set to 0 to turn grunt detection off, 1 to turn it on

       latency-  The duration in ms required before a signal is considered to be silent


[(n.b. need min_noise_level and grunt_level to be implemented)]


Description: This function turns on (1) or off (0) grunt detection on the given channel.      The latency can be set to the number of milliseconds required before a signal is considered to be silent.


Returns:  Returns 0 if successful or 01 if bad vox_chan specified.