> You might be able to run unpacked_to_packed followed by
> packed_to_unpacked to get what you want.  It's ugly, but you don't
> have to write any code ;)
>
>   pack = gr.unpacked_to_packed_ss(2, gr.GR_MSB_FIRST)
>   unpack = gr.packed_to_unpacked_ss(1, gr.GR_MSB_FIRST)
>
> Eric
>

Aha! Shame on me for not thinking of that. If the number of input
shorts is not a multiple of 8, some will be lost from the end, but I
can live with that.

Thanks Eric.


_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to