7 main(int argc, char **argv)
10 fprintf(stderr, "usage: %s i-val q-val\n", argv[0]);
14 int i_val = strtol(argv[1], 0, 0);
15 int q_val = strtol(argv[2], 0, 0);
17 static const int NSAMPLES = 16384;
19 uint32_t sample[NSAMPLES];
20 sample[0] = ((i_val & 0xffff) << 16) | (q_val & 0xffff);
21 for (int i = 1; i < NSAMPLES; i++)
22 sample[i] = sample[0];
25 write(1, sample, sizeof(sample));