39 #define SAMPLE_RATE 44100 41 int16_t quiet[SAMPLE_RATE],
49 for (
int i = 0; i < SAMPLE_RATE; i++)
54 audio_start (44100, 2);
56 for (
int i = 0; i < 10; i++)
58 audio_write (noisy, SAMPLE_RATE);
59 printf (
"=================================\n");
60 audio_write (quiet, SAMPLE_RATE);
int main(int argc, const char *argv[])
run all tests or any single test specified in the first command line argument.
Interfacing to ALSA sound output.