faac.h | faac.h | |||
---|---|---|---|---|
skipping to change at line 19 | skipping to change at line 19 | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 US A | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 US A | |||
* | * | |||
* $Id: faac.h,v 1.32 2003/11/24 18:10:32 knik Exp $ | * $Id: faac.h,v 1.33 2004/07/04 12:12:05 corrados Exp $ | |||
*/ | */ | |||
#ifndef _FAAC_H_ | #ifndef _FAAC_H_ | |||
#define _FAAC_H_ | #define _FAAC_H_ | |||
#ifdef __cplusplus | #ifdef __cplusplus | |||
extern "C" { | extern "C" { | |||
#endif /* __cplusplus */ | #endif /* __cplusplus */ | |||
#ifdef WIN32 | #ifdef WIN32 | |||
skipping to change at line 51 | skipping to change at line 51 | |||
typedef struct { | typedef struct { | |||
void *ptr; | void *ptr; | |||
char *name; | char *name; | |||
} | } | |||
psymodellist_t; | psymodellist_t; | |||
#include "faaccfg.h" | #include "faaccfg.h" | |||
typedef void *faacEncHandle; | typedef void *faacEncHandle; | |||
#ifndef HAVE_INT32_T | ||||
typedef int int32_t; | ||||
#endif | ||||
/* | /* | |||
Allows an application to get FAAC version info. This is intended | Allows an application to get FAAC version info. This is intended | |||
purely for informative purposes. | purely for informative purposes. | |||
Returns FAAC_CFG_VERSION. | Returns FAAC_CFG_VERSION. | |||
*/ | */ | |||
int FAACAPI faacEncGetVersion(char **faac_id_string, | int FAACAPI faacEncGetVersion(char **faac_id_string, | |||
char **faac_copyright_string); | char **faac_copyright_string); | |||
faacEncConfigurationPtr FAACAPI | faacEncConfigurationPtr FAACAPI | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 5 lines changed or added | |||
faaccfg.h | faaccfg.h | |||
---|---|---|---|---|
skipping to change at line 19 | skipping to change at line 19 | |||
* | * | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 US A | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 US A | |||
* | * | |||
* $Id: faaccfg.h,v 1.2 2003/10/29 10:31:24 stux Exp $ | * $Id: faaccfg.h,v 1.3 2004/07/04 12:12:05 corrados Exp $ | |||
*/ | */ | |||
#ifndef _FAACCFG_H_ | #ifndef _FAACCFG_H_ | |||
#define _FAACCFG_H_ | #define _FAACCFG_H_ | |||
#define FAAC_CFG_VERSION 104 | #define FAAC_CFG_VERSION 104 | |||
/* MPEG ID's */ | /* MPEG ID's */ | |||
#define MPEG2 1 | #define MPEG2 1 | |||
#define MPEG4 0 | #define MPEG4 0 | |||
/* AAC object types */ | /* AAC object types */ | |||
#define MAIN 0 | #define MAIN 1 | |||
#define LOW 1 | #define LOW 2 | |||
#define SSR 2 | #define SSR 3 | |||
#define LTP 3 | #define LTP 4 | |||
/* Input Formats */ | /* Input Formats */ | |||
#define FAAC_INPUT_NULL 0 | #define FAAC_INPUT_NULL 0 | |||
#define FAAC_INPUT_16BIT 1 | #define FAAC_INPUT_16BIT 1 | |||
#define FAAC_INPUT_24BIT 2 | #define FAAC_INPUT_24BIT 2 | |||
#define FAAC_INPUT_32BIT 3 | #define FAAC_INPUT_32BIT 3 | |||
#define FAAC_INPUT_FLOAT 4 | #define FAAC_INPUT_FLOAT 4 | |||
#define SHORTCTL_NORMAL 0 | #define SHORTCTL_NORMAL 0 | |||
#define SHORTCTL_NOSHORT 1 | #define SHORTCTL_NOSHORT 1 | |||
End of changes. 2 change blocks. | ||||
5 lines changed or deleted | 5 lines changed or added | |||