From: Steve Harris (S.W.Harris_at_ecs.soton.ac.uk)
Date: 01/05/03 04:42 EST
From: Steve Harris <S.W.Harris@ecs.soton.ac.uk>
Subject: Re: [ardour-dev] latest CVS commit
Message-ID: <20030105094220.GB5607@ecs.soton.ac.uk>
Date: Sun, 5 Jan 2003 09:42:21 +0000
On Sat, Jan 04, 2003 at 11:14:37 -0500, Paul Davis wrote:
> >I'm not sure what the point of putting it in functions is, the actual
> >code is pretty small and it has per channel state, so classic C style
> >functions won't help.
>
> i was thinking of:
>
> state_ptr = xxxxx_dither_and_clamp_init (...);
> while (foo) {
> xxxxxx_dither_and_clamp_process (data, nframes, channel, state_ptr);
> }
> xxxxx_dither_and_clamp_finish (state_ptr);
Yes, thats what I meant by OO overkill, its how I write most of my generic
DSP code anyway though, so one dither.h coming up. Maybe it will be useful
to someone else.
PS I tried the code last night, but ardour exploded when the export
progress got to the end, so I think I messed up somewhere. I didn't have
time to find out why.
- Steve
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
ardour-dev mailing list
ardour-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ardour-dev
This archive was generated by hypermail 2.1.5 : 01/05/03 04:50 EST