At 08:44 AM 4/25/2006, Frank Brickle wrote:
Robert McGwier wrote:

Couple of typos here.

> The next line would be something like
>
> if (offset < 0) for(i=0;i>offset; --i)
                            ^        ^^^
> ringb_float_write(top.jack.ring.i.l, &zero,1);
> else for(i=0;i<offset;i++) ringb_float_write(top.jack.ring.i.r, &zero,1);
                                                              ^^^
> I think this handles all cases, including offset = 0.  just inside the
> beginning of this scope   float zero = 0.0;

however I think being able to do them independently rather than
exclusively would be useful:

if (offset.left)
   for (i = 0; i < offset.left; i++)
     ringb_float_write(top.jack.ring.i.l, &zero, 1);
if (offset.right)
   for (i = 0; i < offset.right; i++)
     ringb_float_write(top.jack.ring.i.r, &zero, 1);


But doesn't this only deal with integer sample skews? I would think a very common "defect" (or feature) would be that the I and Q come out interleaved. (say, they used one A/D and muxed it)

What about the notional case where Q is sampled 1/2 sample clock behind I?

Jim




Reply via email to