added print_wave printf

pull/28/head
alanbjohnston 6 years ago committed by GitHub
parent 5f3b63c18a
commit e79742f90c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1210,6 +1210,7 @@ void write_wave(int i, short int *buffer)
// buffer[ctr++] = 0.1 * phase * (ctr - flip_ctr) / smaller;
// else
buffer[ctr++] = 0.25 * amplitude * phase;
printf("*** buffer[%d] = %d \n", ctr - 1, buffer[ctr - 1]);
}
else
{

Loading…
Cancel
Save

Powered by TurnKey Linux.