]> git.alsa-project.org Git - alsa-utils.git/commit
axfer: add a common interface to handle a file with audio-specific data format
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Tue, 13 Nov 2018 06:41:15 +0000 (15:41 +0900)
committerTakashi Iwai <tiwai@suse.de>
Tue, 13 Nov 2018 11:04:21 +0000 (12:04 +0100)
commitf330d920bfee4b121daf865d69492050cfb38ec1
tree7259066c25a47cc4be66f65a4c640c447799ba5b
parente88216ba64da85b66e8f3a800ca3421de8e80c3d
axfer: add a common interface to handle a file with audio-specific data format

Current aplay supports several types of data format for file; Microsoft/IBM
RIFF/Wave (.wav), Sparc AU (.au) and Creative Tech. voice (.voc). These
formats were designed to handle audio-related data with interleaved frame
alignment.

This commit adds a common interface to handle the file format, named as
'container' module. This includes several functions to build/parse
the format data from any file descriptors. Furthermore, this includes
several helper functions for implementations of each builder/parser.

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