]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit66e01a5cf63f2b132059d0d3d78ed737207489f2
tree65dc55b37fc54f64f2f005843385270e00e36d19
parent82e7d5012f73e51209305876bed2aac53b62cde3
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