OSDN Git Service

axfer: add support for a mapper for multiple target
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Tue, 13 Nov 2018 06:41:23 +0000 (15:41 +0900)
committerTakashi Iwai <tiwai@suse.de>
Tue, 13 Nov 2018 11:04:28 +0000 (12:04 +0100)
commit25c8e3bebb536d49f8e4f63e80440304ae7a9125
treec4de21cdb7cfd8d46ab7adf8b5cb9a3532ed25c0
parenta5f21d610d6f03a49820c793b6f91531927b0946
axfer: add support for a mapper for multiple target

This commit adds support of mapper for 'multiple' target. This handles
several files via 'container' functions, and constructs data frame buffer
for playback, or splits data frames from data frame buffer for capture.
When playback source files includes data frames with several channels, the
first channel is used to construct buffer. For capture direction, each of
channel of data frame is stored in one file, thus the file includes one
channel of data frame. When handling non-interleaved buffer, a caller
should use an array of buffer for each of channels with non-interleaved
data frames.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
axfer/Makefile.am
axfer/mapper-multiple.c [new file with mode: 0644]
axfer/mapper.c
axfer/mapper.h