Skip to content

ALSA: Add the explicit appl_ptr sync support

Takashi Iwai alsa-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 2 repliesIn review
  2. v14 patches 1 replySuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ALSA: pcm: Add the explicit appl_ptr sync supportinclude/uapi/sound/asound.h sound/core/pcm_native.c+22 -22 replies
2/3ALSA: pcm: Add an ioctl to specify the supported protocol versioninclude/sound/pcm.h include/uapi/sound/asound.h sound/core/pcm_compat.c +1 more+11 -10 replies
3/3ALSA: pcm: Limit the appl_ptr sync workaround only for old user-spacesound/core/pcm_native.c+5 -10 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchTakashi Sakamoto
1/3R-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] ALSA: Add the explicit appl_ptr sync support

Hi,

this is a revised patchset for supporting the explicit appl_ptr update. Since the protocol version from user-space needs to be stored locally for each opened file, the check of status/control mmap was slightly changed as well. But the basic strategy is same as the previous patchset.

Note that this patchset doesn't solve the issue that appl_ptr update isn't properly notified to ack ops as Sakamoto-san pointed out previously. We'll still need to sort it out. But the hack I introduced here doesn't basically conflict with it, and it'll even make it easier to solve later, by the new USER_PVERSION ioctl.

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     | 34 ++++++++++++++++++++++++++++++++--
 4 files changed, 37 insertions(+), 3 deletions(-)
Signature · 1 line
2.13.1