diff options
author | John Grossman <johngro@google.com> | 2012-04-03 16:37:38 -0700 |
---|---|---|
committer | Simon Wilson <simonwilson@google.com> | 2012-05-04 16:33:59 -0700 |
commit | b6db70a16026bfc226a200a4382d04e2d15d84a1 (patch) | |
tree | 3c48e38fcaa9b0885abe11b530fc13babc2bce8a /include/sound | |
parent | 6a52f2cbad1f191f3f14fbb0da6951ab2e0be5ca (diff) |
pcm: Add PCM_NORESTART flag
Add a flag which can be passed to pcm_open (called PCM_NORESTART).
When set on a playback stream, calls to pcm_write will not
automatically attempt to restart an ALSA device in the case of an
underflow. Instead, it will propagate the first EPIPE error up to the
application to allow it to handle the underflow situation. Subsequent
calls to pcm_write will attempt to start the pipeline.
Diffstat (limited to 'include/sound')
0 files changed, 0 insertions, 0 deletions