diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-10-03 11:59:20 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-10-03 11:59:20 +0200 |
commit | 4b200479437dc5583c242ce70b930dc5165e45ba (patch) | |
tree | d80519e13a01b287ef2326126ec834d68eeea52f /src | |
parent | f1999f27ac3fd4bb494f8d4d330ad18a4bbcf283 (diff) |
New aiorecord/aioplay stub programs.
Diffstat (limited to 'src')
-rw-r--r-- | src/sink.cc | 1 |
1 files changed, 1 insertions, 0 deletions
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 |