parent
e10f3df3db
commit
f7532ed7ac
@ -1,36 +0,0 @@ |
|||||||
/* File format: AIFF-C (see aiff.c) (c) 2007-8 SoX contributors
|
|
||||||
* |
|
||||||
* This library is free software; you can redistribute it and/or modify it |
|
||||||
* under the terms of the GNU Lesser General Public License as published by |
|
||||||
* the Free Software Foundation; either version 2.1 of the License, or (at |
|
||||||
* your option) any later version. |
|
||||||
* |
|
||||||
* This library is distributed in the hope that it will be useful, but |
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of |
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser |
|
||||||
* General Public License for more details. |
|
||||||
* |
|
||||||
* You should have received a copy of the GNU Lesser General Public License |
|
||||||
* along with this library; if not, write to the Free Software Foundation, |
|
||||||
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
|
||||||
*/ |
|
||||||
|
|
||||||
#include "sox_i.h" |
|
||||||
#include "aiff.h" |
|
||||||
|
|
||||||
LSX_FORMAT_HANDLER(aifc) |
|
||||||
{ |
|
||||||
static char const * const names[] = {"aifc", "aiffc", NULL}; |
|
||||||
static unsigned const write_encodings[] = { |
|
||||||
SOX_ENCODING_SIGN2, 32, 24, 16, 8, 0, |
|
||||||
SOX_ENCODING_FLOAT, 32, 64, 0, |
|
||||||
0}; |
|
||||||
static sox_format_handler_t const sox_aifc_format = {SOX_LIB_VERSION_CODE, |
|
||||||
"AIFF-C (not compressed), defined in DAVIC 1.4 Part 9 Annex B", |
|
||||||
names, SOX_FILE_BIG_END, |
|
||||||
lsx_aiffstartread, lsx_rawread, lsx_aiffstopread, |
|
||||||
lsx_aifcstartwrite, lsx_rawwrite, lsx_aifcstopwrite, |
|
||||||
lsx_rawseek, write_encodings, NULL, 0 |
|
||||||
}; |
|
||||||
return &sox_aifc_format; |
|
||||||
} |
|
@ -1,33 +0,0 @@ |
|||||||
/* File format: AIFF (see aiff.c) (c) 2007-8 SoX contributors
|
|
||||||
* |
|
||||||
* This library is free software; you can redistribute it and/or modify it |
|
||||||
* under the terms of the GNU Lesser General Public License as published by |
|
||||||
* the Free Software Foundation; either version 2.1 of the License, or (at |
|
||||||
* your option) any later version. |
|
||||||
* |
|
||||||
* This library is distributed in the hope that it will be useful, but |
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of |
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser |
|
||||||
* General Public License for more details. |
|
||||||
* |
|
||||||
* You should have received a copy of the GNU Lesser General Public License |
|
||||||
* along with this library; if not, write to the Free Software Foundation, |
|
||||||
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
|
||||||
*/ |
|
||||||
|
|
||||||
#include "sox_i.h" |
|
||||||
#include "aiff.h" |
|
||||||
|
|
||||||
LSX_FORMAT_HANDLER(aiff) |
|
||||||
{ |
|
||||||
static char const * const names[] = {"aiff", "aif", NULL}; |
|
||||||
static unsigned const write_encodings[] = { |
|
||||||
SOX_ENCODING_SIGN2, 32, 24, 16, 8, 0, 0}; |
|
||||||
static sox_format_handler_t const sox_aiff_format = {SOX_LIB_VERSION_CODE, |
|
||||||
"AIFF files used on Apple IIc/IIgs and SGI", names, SOX_FILE_BIG_END, |
|
||||||
lsx_aiffstartread, lsx_rawread, lsx_aiffstopread, |
|
||||||
lsx_aiffstartwrite, lsx_rawwrite, lsx_aiffstopwrite, |
|
||||||
lsx_rawseek, write_encodings, NULL, 0 |
|
||||||
}; |
|
||||||
return &sox_aiff_format; |
|
||||||
} |
|
File diff suppressed because it is too large
Load Diff
@ -1,22 +0,0 @@ |
|||||||
/* 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.) |
|
||||||
*/ |
|
||||||
|
|
||||||
int lsx_aiffstartread(sox_format_t * ft); |
|
||||||
int lsx_aiffstopread(sox_format_t * ft); |
|
||||||
int lsx_aiffstartwrite(sox_format_t * ft); |
|
||||||
int lsx_aiffstopwrite(sox_format_t * ft); |
|
||||||
int lsx_aifcstartwrite(sox_format_t * ft); |
|
||||||
int lsx_aifcstopwrite(sox_format_t * ft); |
|
Loading…
Reference in new issue