diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-02-15 19:59:58 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-02-15 19:59:58 +0100 |
commit | 59209710e56c47e141c39708408384125afe8e43 (patch) | |
tree | 86555529ecfdc69870023f5eda125be43f76e6ce | |
parent | 803b0c227f423240f9114107ca4786bdd539a459 (diff) |
don't try to set buffer size, since it is not really necessary
-rw-r--r-- | dbverify.c | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -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"); } |