Import alac_decoder-0.2.0.

alac_decoder is a basic decoder for Apple Lossless Audio Codec files
(ALAC). It is a C implementation of a decoder, written from reverse
engineering the file format. ALAC uses an adaptive FIR prediction
algorithm and stores the error values using a modified rice or golumb
algorithm.

The program located here will not be able to handle all ALAC files, it
can only handle mono or stereo files. ALAC allows up to 8 channels. The
ALAC decoder supports both 16 and 24 bit sample sizes.

The decoder can read an ALAC stream from either a file or from stdin,
and write it as raw PCM data or as a WAV file to either stdout or a
file.

An encoder is not provided.


ok sthen@
This commit is contained in:
bentley 2012-02-28 11:16:18 +00:00
parent 435ba6e65a
commit 5e938ba715
4 changed files with 55 additions and 0 deletions

View File

@ -0,0 +1,33 @@
# $OpenBSD: Makefile,v 1.1.1.1 2012/02/28 11:16:18 bentley Exp $
COMMENT = basic Apple Lossless Audio Codec decoder
DISTNAME = alac_decoder-0.2.0
CATEGORIES = audio
HOMEPAGE = http://crazney.net/programs/itunes/alac.html
# MIT
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB += c
MASTER_SITES = http://crazney.net/programs/itunes/files/
EXTRACT_SUFX = .tgz
NO_REGRESS = Yes
MAKE_FLAGS = CC="${CC}" CFLAGS="${CFLAGS} -Wall"
WRKDIST = ${WRKDIR}/alac_decoder
ALL_TARGET = alac
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/alac ${PREFIX}/bin/
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (alac_decoder-0.2.0.tgz) = zsdcNfAQ02577ZGTW1fy0Q==
RMD160 (alac_decoder-0.2.0.tgz) = cmZN/07v9uSEMU9iX3QzfmC6Ofs=
SHA1 (alac_decoder-0.2.0.tgz) = piD2KT7y2UkJJ9Iew0G77/E+q+g=
SHA256 (alac_decoder-0.2.0.tgz) = f4+XilYZ5t+gPcFAmU/XJVAI14ivhIumrPnPuqPkEi8=
SIZE (alac_decoder-0.2.0.tgz) = 19019

View File

@ -0,0 +1,15 @@
alac_decoder is a basic decoder for Apple Lossless Audio Codec files
(ALAC). It is a C implementation of a decoder, written from reverse
engineering the file format. ALAC uses an adaptive FIR prediction
algorithm and stores the error values using a modified rice or golumb
algorithm.
The program located here will not be able to handle all ALAC files, it
can only handle mono or stereo files. ALAC allows up to 8 channels. The
ALAC decoder supports both 16 and 24 bit sample sizes.
The decoder can read an ALAC stream from either a file or from stdin,
and write it as raw PCM data or as a WAV file to either stdout or a
file.
An encoder is not provided.

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/02/28 11:16:18 bentley Exp $
@bin bin/alac