DescriptionUse O_NONBLOCK when opening audio pipe on linux.
By default open() blocks when opening a fifo until the writer also
opens the fifo. In the past AudioPipeReader was using O_NONBLOCK
when opening the pipe for reading, but that was changed in r277315,
and may result in host hanging if pulseaudio doesn't open the pipe
for some reason. Fixed AudioPipeReader to always pass O_NONBLOCK
to open().
BUG=420090
R=lambroslambrou@chromium.org
Committed: https://chromium.googlesource.com/chromium/src/+/2456707799f5ee29ccd0ccf7ba530d205115803c
Patch Set 1 : #
Messages
Total messages: 10 (4 generated)
|