[alsa-devel] [PATCH v3 0/2] ALSA: Add PCM USER_PVERSION ioctl

Takashi Iwai tiwai at suse.de
Tue Jun 27 12:29:42 CEST 2017


Hi,

this is a revised patchset that is applied on top of the current
for-next branch, in order to optimize the appl_ptr sync on x86-64,
adapting the alsa-lib side change by Sakamoto-san's patchset.

Basically it adds a new ioctl for receiving the supported PCM protocol
version from user-space side, and change the mmap code to allow only
disabling the PCM status record depending on the supported protocol
version.  The former patch is identical with the previous version,
only the latter one differs.

The corresponding alsa-lib patch will follow.


thanks,

Takashi

===

Takashi Iwai (2):
  ALSA: pcm: Add an ioctl to specify the supported protocol version
  ALSA: pcm: Disable only control mmap for explicit appl_ptr sync

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

-- 
2.13.2



More information about the Alsa-devel mailing list