Patent ID: 7483386

Claim:
A method of adaptively determining a threshold for distinguishing between a DTX and an erasure based upon at least one determined guideline value from a histogram of a sample set of recently received frames, comprising the steps of: determining the histogram of the sample set by determining a good frame histogram of the good frames in the sample set and a bad frame histogram of the bad frames in the sample set; arranging each histogram into a plurality of bins each having a bin size based on a range of the corresponding histogram and a number of the plurality of bins; placing each one of the corresponding sample set frames into one of the bins corresponding to an energy value of each frame; selecting a value of one of the bins as an indicator of a desired value of the good frame histogram and the bad frame histogram, respectively; determining a good frame threshold value based on the desired value of the good frame histogram; determining a bad frame threshold value based on the desired value of the bad frame histogram; and selecting the lower of the determined good frame threshold value or the determined bad frame threshold value as the adaptively determined threshold for distinguishing between a DTX and an erasure.