On Thu, May 10, 2007 at 03:58:25PM +0100, Steve Harris wrote: > I don't support it unless someone has a representation issue. You're > not like to see if (fs == 44100) anyway, and if you did you'd want to > hedge a bit: if (fs > 44090 && fs < 44110). If you have to write if > (fs_num / fs_denom == 44100) then things are bit dodgy anyway.
Let me state once and for all, even it will not gain me any popularity: Anyone who thinks that writing a range check on a fraction A/B is too difficult is very probably completely incompetent and should not waste his/her time trying to write audio DSP code for a plugin. This is not a reflection on Steve's competences which are beyond doubt. But if the word of Linux Audio wants to accommodate amateurism and ignorance at the expense of professionalism and experience, I will not hesitate a second to say goodbey. I'll feel sad for a few days but not much longer. -- FA Follie! Follie! Delirio vano รจ questo ! _______________________________________________ Linux-audio-dev mailing list [email protected] http://lists.linuxaudio.org/mailman/listinfo.cgi/linux-audio-dev
