30 #define SAMPLE_RATE 44100 32 int16_t quiet[SAMPLE_RATE],
40 for (
int i = 0; i < SAMPLE_RATE; i++)
45 audio_start (44100, 2);
47 for (
int i = 0; i < 10; i++)
49 audio_write (noisy, SAMPLE_RATE);
50 printf (
"=================================\n");
51 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.