]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: pcm: unify codes to operate application-side position on PCM buffer
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 12 Jun 2017 00:41:44 +0000 (09:41 +0900)
committerTakashi Iwai <tiwai@suse.de>
Mon, 12 Jun 2017 06:49:22 +0000 (08:49 +0200)
commit7fa24fa2abe7b61cefad01f1a9858832008a212a
tree65dc55b37fc54f64f2f005843385270e00e36d19
parent279973382ccca88587406af635c204953f3cccb0
ALSA: pcm: unify codes to operate application-side position on PCM buffer

In a series of recent work, ALSA PCM core got some arrangements to handle
application-side position on PCM buffer. However, relevant codes still
disperse to two translation units

This commit unifies these codes into a helper function.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/pcm_lib.c
sound/core/pcm_local.h
sound/core/pcm_native.c