From 59209710e56c47e141c39708408384125afe8e43 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 15 Feb 2010 19:59:58 +0100 Subject: don't try to set buffer size, since it is not really necessary --- dbverify.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/dbverify.c b/dbverify.c index cb20956..7403de2 100644 --- a/dbverify.c +++ b/dbverify.c @@ -314,11 +314,14 @@ int main(int argc, char *argv[]) { goto finish; } + printf("Mixer set, sleeping 0.5s\n"); + usleep(500000ULL); + if (play_pcm(pcm, signal1, rate) < 0) goto finish; - printf("Sleeping 1s...\n"); - sleep(1); + printf("Sleeping 0.5s...\n"); + usleep(500000ULL); printf("Playing 1s of audio at amplitude %0.4f, mixer set to %li (%0.2f dB).\n", amplitude*attenuation, step2, step2_dB); @@ -327,11 +330,14 @@ int main(int argc, char *argv[]) { goto finish; } + printf("Mixer set, sleeping 0.5s\n"); + usleep(500000ULL); + if (play_pcm(pcm, signal2, rate) < 0) goto finish; - printf("Sleeping 1s...\n"); - sleep(1); + printf("Sleeping 0.5s...\n"); + usleep(500000ULL); printf("Looping. Press C-c to quit.\n"); } -- cgit