]> 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)
commit15f1c2d4612b7a27846849c49618b7d750e7d21a
tree65dc55b37fc54f64f2f005843385270e00e36d19
parent0c7a6b51d85042ba53222d3d88b4fbf4e62dde9d
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