]> git.alsa-project.org Git - alsa-utils.git/commit
axfer: test: use memfd_create() for mapper-test
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Thu, 11 Mar 2021 05:21:42 +0000 (14:21 +0900)
committerJaroslav Kysela <perex@perex.cz>
Thu, 11 Mar 2021 08:30:02 +0000 (09:30 +0100)
commit92004425fc5d260052601dc5c329457eee73e7a3
tree9cfad5ed4a870e84e9ee2f187767203a54c7f842
parent5ab26fbc146bcb1a894970421a10188feed714a2
axfer: test: use memfd_create() for mapper-test

The mapper test program writes audio data frame to files, and read
them from the files, then validate them. For the operations, usage of
any in-memory file is good to shorten time of overall operations.

This commit uses shm by memfd_create().

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
axfer/test/mapper-test.c