ref: 546452fba192387faad314496c6e5d990b6b1564
dir: /src/aiff.h/
/* libSoX SGI/Amiga AIFF format. * Copyright 1991-2007 Guido van Rossum And Sundry Contributors * * This source code is freely redistributable and may be used for * any purpose. This copyright notice must be maintained. * Guido van Rossum And Sundry Contributors are not responsible for * the consequences of using this software. * * Used by SGI on 4D/35 and Indigo. * This is a subformat of the EA-IFF-85 format. * This is related to the IFF format used by the Amiga. * But, apparently, not the same. * Also AIFF-C format output that is defined in DAVIC 1.4 Part 9 Annex B * (usable for japanese-data-broadcasting, specified by ARIB STD-B24.) */ typedef struct { size_t nsamples; /* number of 1-channel samples read or written */ /* Decrements for read increments for write */ size_t dataStart; /* need to for seeking */ } aiff_priv_t; int lsx_aiffseek(sox_format_t * ft, uint64_t offset); int lsx_aiffstartread(sox_format_t * ft); size_t lsx_aiffread(sox_format_t * ft, sox_sample_t *buf, size_t len); int lsx_aiffstopread(sox_format_t * ft); int lsx_aiffstartwrite(sox_format_t * ft); size_t lsx_aiffwrite(sox_format_t * ft, const sox_sample_t *buf, size_t len); int lsx_aiffstopwrite(sox_format_t * ft); int lsx_aifcstartwrite(sox_format_t * ft); int lsx_aifcstopwrite(sox_format_t * ft);