All of lore.kernel.org
 help / color / mirror / Atom feed
* [alsa-lib][RFC][PATCH 0/9] pcm: handle status/control mapping independently
@ 2017-06-22 14:43 Takashi Sakamoto
  2017-06-22 14:43 ` [alsa-lib][RFC][PATCH 1/9] pcm: obsolete 'mmap_emulation' parameter of snd_pcm_hw_open_fd() Takashi Sakamoto
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Takashi Sakamoto @ 2017-06-22 14:43 UTC (permalink / raw)
  To: tiwai; +Cc: alsa-devel

Hi,

This RFC patchset is for recent discussion about new version of PCM
protocol/interface (2.0.14). This is accumulated on the below patchset.
http://mailman.alsa-project.org/pipermail/alsa-devel/2017-June/122066.html

In the discussion, we found an advantage to handle page mapping for
status/control data of runtime of PCM substream independently. Aim of
this patchset is a proof-of-concept for alsa-lib.

I tested this patchset with two machines based on x86/armv7a architectures.
This looks work well without any regression. But I've never tested a case
in which mapping is failed for one of the status/control data.

For your information.

Takashi Sakamoto (9):
  pcm: obsolete 'mmap_emulation' parameter of snd_pcm_hw_open_fd()
  pcm: minor code refactoring for ioctl call
  pcm: handle status/control mapping independently
  pcm: add a helper function to query status of PCM substream
  pcm: add a helper function to query hwptr
  pcm: add a helper function to query applptr
  pcm: add a helper function to issue avail_min
  pcm: add a helper function to issue applptr
  pcm: code refactoring to use helper functions

 src/pcm/pcm_direct.c |   2 +-
 src/pcm/pcm_hw.c     | 324 +++++++++++++++++++++++++++++++++------------------
 src/pcm/pcm_local.h  |   3 +-
 3 files changed, 214 insertions(+), 115 deletions(-)

-- 
2.11.0

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-06-22 14:43 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-22 14:43 [alsa-lib][RFC][PATCH 0/9] pcm: handle status/control mapping independently Takashi Sakamoto
2017-06-22 14:43 ` [alsa-lib][RFC][PATCH 1/9] pcm: obsolete 'mmap_emulation' parameter of snd_pcm_hw_open_fd() Takashi Sakamoto
2017-06-22 14:43 ` [alsa-lib][RFC][PATCH 2/9] pcm: minor code refactoring for ioctl call Takashi Sakamoto
2017-06-22 14:43 ` [alsa-lib][RFC][PATCH 3/9] pcm: handle status/control mapping independently Takashi Sakamoto
2017-06-22 14:43 ` [alsa-lib][RFC][PATCH 4/9] pcm: add a helper function to query status of PCM substream Takashi Sakamoto
2017-06-22 14:43 ` [alsa-lib][RFC][PATCH 5/9] pcm: add a helper function to query hwptr Takashi Sakamoto
2017-06-22 14:43 ` [alsa-lib][RFC][PATCH 6/9] pcm: add a helper function to query applptr Takashi Sakamoto
2017-06-22 14:43 ` [alsa-lib][RFC][PATCH 7/9] pcm: add a helper function to issue avail_min Takashi Sakamoto
2017-06-22 14:43 ` [alsa-lib][RFC][PATCH 8/9] pcm: add a helper function to issue applptr Takashi Sakamoto
2017-06-22 14:43 ` [alsa-lib][RFC][PATCH 9/9] pcm: code refactoring to use helper functions Takashi Sakamoto

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.