mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] ASoC: SOF: compress: Add support for timestamp on capture
@ 2022-08-22 10:15 Laurentiu Mihalcea
  2022-08-22 10:15 ` [PATCH 1/2] ASoC: SOF: compress: Move sof_compr_copy functionality Laurentiu Mihalcea
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Laurentiu Mihalcea @ 2022-08-22 10:15 UTC (permalink / raw)
  To: alsa-devel, broonie
  Cc: pierre-louis.bossart, lgirdwood, peter.ujfalusi,
	ranjani.sridharan, yung-chuan.liao, kai.vehmanen, linux-kernel,
	Laurentiu Mihalcea

The purpose of this patch series is to add support for
timestamping on capture direction using the compress
API.

This is simply done by splitting sof_compr_copy into 2
functions: sof_compr_copy_playback and sof_compr_copy_capture.
Each of these functions handles one of the possible directions:
capture or playback and is called in sof_compr_copy based on
the stream's direction.

The only difference between sof_compr_copy_playback and
sof_compr_copy_capture is the fact that on playback case
we need to copy data from user space and on capture we
need to copy data to user space.

Laurentiu Mihalcea (2):
  ASoC: SOF: compress: Move sof_compr_copy functionality
  ASoC: SOF: compress: Add copy function for capture case

 sound/soc/sof/compress.c | 47 +++++++++++++++++++++++++++++++++-------
 1 file changed, 39 insertions(+), 8 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2022-08-31 12:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-22 10:15 [PATCH 0/2] ASoC: SOF: compress: Add support for timestamp on capture Laurentiu Mihalcea
2022-08-22 10:15 ` [PATCH 1/2] ASoC: SOF: compress: Move sof_compr_copy functionality Laurentiu Mihalcea
2022-08-22 10:15 ` [PATCH 2/2] ASoC: SOF: compress: Add copy function for capture case Laurentiu Mihalcea
2022-08-31 12:52 ` [PATCH 0/2] ASoC: SOF: compress: Add support for timestamp on capture Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®