On Mar 4, 2013, at 6:11 PM, Josh Blum <j...@ettus.com> wrote:

> On 03/04/2013 03:07 PM, mepard wrote:
>> 
>> 
>> One thing I forgot is that I'd like to convert complex<sint16> to a single 
>> sint16 with just the "real" part, like I can convert complex<float> to 
>> single float. It doesn't look like there is the equivalent of Complex To 
>> Real for integers.
>> 
>> Is there an alternative to converting to floating point and back?
> 
> you could vector to streams, and null sink the second stream.
> 
> * 1 input stream of vec length 2 and item size short
> * 2 output streams of item size short

This works well. Thanks!

-Marc


_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to