Patent ID: 7739105

Claim:
A method comprising: receiving a first plurality of audio frames; determining a predetermined number of audio frames to achieve a predetermined workload level of a data processor; selecting the predetermined number of audio frames from the first plurality of audio frames to generate a first subset of audio frames, the first subset of audio frames comprising fewer audio frames than the first plurality of audio frames; modifying a first cumulative audio frame signal-to-mask ratio using the first subset of audio frames and a weighting value to generate a second cumulative audio frame signal-to-mask ratio; receiving a second plurality of audio frames after modifying the first cumulative audio frame signal-to-mask ratio; compressing the second plurality of audio frames based upon the second cumulative audio frame signal-to-mask ratio; selecting a predetermined number of audio frames from the second plurality of audio frames to generate a second subset of audio frames, the second subset comprising fewer audio frames than the second plurality of audio frames; modifying the second cumulative audio frame signal-to-mask ratio using the second subset of audio frames and the weighting value to generate a third cumulative audio frame signal-to-mask ratio; receiving a third plurality of audio frames after receiving the second plurality of audio frames; and compressing the third plurality of audio frames based upon the third cumulative audio frame signal-to-mask ratio to generate a compressed audio data.