On Tue, Jul 06, 2010 at 11:35:28AM -0700, Troy Kisky wrote: > Indeed, your algorithm may produce more accurate results for the specific rate > that you tested for. However, that seems more luck than anything. How do you > know that a frame size of 33 will always give more accurate results than a > frame > size of 32? If your going to loop, you need to calculate the error and > minimize that > and not just stop when framesize finally reaches your minimum size of 33.
Yes, this is pretty much the algorithm I was trying to suggest earlier. Iterate up until you hit either an exact match or decide that the frame size is getting too big. _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
