On 13.02.2014 10:18, David Halls wrote:
My questions is probably stupid, but I want to multiply the payload
symbols by a certain gain, say 'G', but I am not clear how to do it. I
am not clear how to access the items individually to scale them.

As a first step, I tried first replacing the memcpy with

for(int i = 0; i < samples_per_packet; i++) out[i] = in[i];

but that of course doesn't successfully replace the functionality?

Sure, why not? However, it probably be the solution with the best performance. You could stick with the memcpy() and use a VOLK kernel afterwards. But your solution seems correct.

M


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

Reply via email to