[PATCH 0/2] ALSA: pcm: add local header for module-local functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

This patchset is a supplement for merged patchset[1].

As I suggested[2], an added helper function is useful to some parts of PCM
core module. Although it's better to replace existent code block with it,
there's an issue to share it with several objects, because there is no
header files for external symbols not exported to kernel space.

This patchset adds a header file for the module-local symbols, then
adds calls of the function in several parts of the module.

[1]  [PATCH 0/7] ALSA: Fix/improve PCM ack callback
http://mailman.alsa-project.org/pipermail/alsa-devel/2017-May/120886.html
[2]  [PATCH 0/7] ALSA: Fix/improve PCM ack callback
http://mailman.alsa-project.org/pipermail/alsa-devel/2017-May/120910.html

Takashi Sakamoto (2):
  ALSA: pcm: add local header file for snd-pcm module
  ALSA: pcm: add arrangement for applying appl_ptr

 include/sound/pcm.h     | 32 -----------------------------
 sound/core/pcm.c        |  2 ++
 sound/core/pcm_lib.c    | 14 +++++++------
 sound/core/pcm_local.h  | 54 +++++++++++++++++++++++++++++++++++++++++++++++++
 sound/core/pcm_misc.c   |  3 +++
 sound/core/pcm_native.c | 13 +++++++-----
 6 files changed, 75 insertions(+), 43 deletions(-)
 create mode 100644 sound/core/pcm_local.h

-- 
2.11.0

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux