[alsa-devel] [PATCH 0/3] ALSA: Add the explicit appl_ptr sync support

Takashi Iwai tiwai at suse.de
Tue Jun 20 17:33:49 CEST 2017


Hi,

this is a patchset for the issues we've discussed recently lengthily,
the explicit sync of appl_ptr by disabling the control mmap.
The first patch achieves it for a driver setting the new INFO flag.

The second patch is for a generic ABI extension I wanted to implement
for long time.  It allows user-space reporting its supporting protocol
version, so that the kernel can behave differently.  It's especially
useful for extending the ABI struct to use the reserved bits.

The third patch is the optimization by the second patch; it simply
skips the previous workaround when the user-space declares itself
being new enough to support the feature.

The corresponding alsa-lib patchset will follow in another thread.


thanks,

Takashi

===

Takashi Iwai (3):
  ALSA: pcm: Add the explicit appl_ptr sync support
  ALSA: pcm: Add an ioctl to specify the supported protocol version
  ALSA: pcm: Limit the appl_ptr sync workaround only for old user-space

 include/sound/pcm.h         |  1 +
 include/uapi/sound/asound.h |  4 +++-
 sound/core/pcm_compat.c     |  1 +
 sound/core/pcm_native.c     | 28 ++++++++++++++++++++++++++++
 4 files changed, 33 insertions(+), 1 deletion(-)

-- 
2.13.1



More information about the Alsa-devel mailing list