From 4b200479437dc5583c242ce70b930dc5165e45ba Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Fri, 3 Oct 2014 11:59:20 +0200 Subject: New aiorecord/aioplay stub programs. --- src/sink.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sink.cc b/src/sink.cc index a22f25e..d8079a4 100644 --- a/src/sink.cc +++ b/src/sink.cc @@ -49,6 +49,7 @@ int Sink::writeSamples(const char *pcm, size_t size) if(rc == -EPIPE) { // EPIPE means overrun snd_pcm_prepare(handle); + usleep(1000); return 0;//-2; } else if (rc < 0) { return -1; // Read Error -- cgit v1.2.3