discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] two inputs/outputs of different data types


From: Charles Swiger
Subject: [Discuss-gnuradio] two inputs/outputs of different data types
Date: Wed, 26 Apr 2006 11:50:39 -0400

How do you declare two inputs of different data types?

Several atsc blocks pass a stream of 'float' and also 'syminfo'
(a struct of 4 ints).

>From what I can tell, gr_sync_block allows many inputs and outputs,
but only of the same type(?).

gr_block::gr_block (const std::string &name,
                    gr_io_signature_sptr input_signature,
                    gr_io_signature_sptr output_signature)

where

gr_io_signature (int min_streams, int max_streams, size_t
sizeof_stream_item)



tia
--Chuck






reply via email to

[Prev in Thread] Current Thread [Next in Thread]