[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] gr_block::set_history()
From: |
Tom Rondeau |
Subject: |
Re: [Discuss-gnuradio] gr_block::set_history() |
Date: |
Fri, 21 Sep 2012 16:04:05 -0400 |
On Fri, Sep 21, 2012 at 1:47 PM, cjpatton <address@hidden> wrote:
> Hello Tom,
>
> Of course, how could I forget? I had to modify your code a bit to get to
> work, however:
>
> const float *in = (const float *) &((const
> float*)input_items[0])[history()-1];
>
> It just needed a type cast in there. My code works now. The suggestion about
> gr_quadrature_demod_cf is very helpful; this will be a good reference moving
> forward on this project. Many thanks
>
> Chris Patton
Yeah, I figured I had gotten something like that wrong. You got the
point, though.
tom