-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi BZS, you're mixing concepts here: the FFT len is your FFT size, but noutput is the number of items you are allowed to produce (maximum). Please re-read the writing an out-of-tree module wiki page to understand the difference better :)
Greetings, Marcus On 10.03.2014 03:21, ??????? wrote: > hi, i want deal the data after FFT in my own block,i copy a > fft_len*sizeof(gr_complex) length of data from in to a buffer,then > deal the data ,and copy the dealed data from buffer to the out, in > a FFT blocks,if there is size_t > block_size=output_signature()->sizeof_stream_item(0); when i use > memcpy(out,in,block_size*noutput ); it works normally , but when i > do it like this :memcpy(out,in, fft_len*sizeof(gr_complex) );,it > does not work > > > does the result of block_size*noutput have any relations with > fft_len*sizeof(gr_complex) or some other suggestions thanks, BZS > > > > _______________________________________________ Discuss-gnuradio > mailing list Discuss-gnuradio@gnu.org > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJTHXHJAAoJEBQ6EdjyzlHtlawH/233H779NaA38wcBt3fLL5vF tcCNXQ5sl23atSDU624j+3RLuN1M4GkjcTqECO2yOJMoLYYO6z9Fjtude1lswRmg vTD8acgKMHjRlmJPQm4nowUVIVd9iwfeJ5163Vos+4mo6DPlk73Ab6XzS8MaLwIi o+cjyluAE+nnbHqbQuYGGapc+DeyfKtQ5bUrrBmr3bDy2tbWtBEIZ9Kma8vAv0RN kxf7rnRLtdKr6pMLKQD/nuzTlyIICIbIoacZsu0nvravLXtECXg3QXqbinfew82i ZDI/X1/Kee0NJjyUYmrRllgiIX3HSVI/aSg1+MEKmHwL6eQba2R7fzppsaTkqYY= =JDRr -----END PGP SIGNATURE----- _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio