commit | eec87706d21fc0ac4ad10ede86943770b2533564 | [log] [tgz] |
---|---|---|
author | Jean-Michel Trivi <jmtrivi@google.com> | Mon Sep 17 09:59:42 2012 -0700 |
committer | Jean-Michel Trivi <jmtrivi@google.com> | Mon Sep 17 09:59:42 2012 -0700 |
tree | 6bf48dfa69ce7a6aea80de7df8ce8d568021d704 | |
parent | 4fbd199696b088ab9cf1d7696b6885987ba9a913 [diff] |
Remote audio submix: blocking writes and sleeping reads. Change how the remote audio submix is handling piping audio through the pipe: - use a MonoPipe as audio sink for blocking writes, - use a MonoPipeReader as audio source for non blocking reads, and keep track of when recording started to align the time at which the in_read() call should return with the projected time of the recording duration. Change-Id: I8b0f8c56a0486806101e272dfbf9c6d2d1c11112