"include/git@repo.buzztime.com:halo/external_tinyalsa.git" did not exist on "673253acf06838bb24d0b0b1a3962bed573855b8"
tinyalsa: Add PCM_NORESTART flag.
John Grossman authored

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.

Change-Id: If17973c6de9079c4227631bac9ff09b218377344
Signed-off-by: default avatarJohn Grossman <johngro@google.com>
673253ac
tinyalsa: a small library to interface with ALSA in the Linux kernel

The aims are:

- Provide a basic pcm and mixer API
- If it's not absolutely needed, don't add it to the API
- Avoid supporting complex and unnecessary operations that could be
  dealt with at a higher level