From: Eric Niebler (eric_at_[hidden])
Date: 2007-08-01 15:35:19
Hugo Duncan wrote:
>> Let me see if I understand. You want the delay buffer to use the
>> cache_size parameter if it is specified, and if not, check to see if the
>> coefficients parameter is specified, and if so, use the size of the
>> coefficients array. This is possible.
> [cut proposed solution]
> Thanks Eric, that would probably work (as long as I define the
> coefficients named paramter seperately from the filter or the delay).
> Ideally, though, I was looking for a solution that allowed me to reuse
> the delay buffer without modifying it. That way it could be used as a
> lower layer for any algorithm that needed recent time history. Maybe I am
> being over ambitious...
The coupling of the cache_size and the coefficients parameters has to be
expressed in code somewhere. Where do you suggest?
-- Eric Niebler Boost Consulting www.boost-consulting.com The Astoria Seminar ==> http://www.astoriaseminar.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk