Initial community commit

This commit is contained in:
Jef 2024-09-24 14:54:57 +02:00
parent 537bcbc862
commit fc06254474
16440 changed files with 4239995 additions and 2 deletions

View file

@ -0,0 +1,44 @@
#define strcasecmp _strcmpi
#define strncasecmp _strnicmp
#define HAVE_STRERROR 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_LIMITS_H 1
#define HAVE_STRDUP
#define HAVE_STDLIB_H
#define HAVE_STDINT_H
#define HAVE_INTTYPES_H
#define HAVE_STRING_H
#ifdef _M_ARM
#define ASMALIGN_ARMASM 1
#else
#define ASMALIGN_BALIGN 1
#endif
/* We want some frame index, eh? */
#define FRAME_INDEX 1
#define INDEX_SIZE 1000
/* also gapless playback! */
#define GAPLESS 1
/* #ifdef GAPLESS
#undef GAPLESS
#endif */
/* #define DEBUG
#define EXTRA_DEBUG */
#define REAL_IS_FLOAT
#define inline __inline
/* we are on win32 */
#define HAVE_WINDOWS_H
/* use the unicode support within libmpg123 */
#define WANT_WIN32_UNICODE
#define OFF_MAX ((off_t)((sizeof(off_t) <= 4) ? ((uint32_t)-1/2) : ((uint64_t)-1/2))) /* OpenMPT */

View file

@ -0,0 +1,49 @@
/*
mpg123_msvc: MPEG Audio Decoder library wrapper header for MS VC++ 2005
copyright 2008 by the mpg123 project - free software under the terms of the LGPL 2.1
initially written by Patrick Dehne and Thomas Orgis.
*/
#ifndef MPG123_MSVC_H
#define MPG123_MSVC_H
#include <tchar.h>
#include <stdlib.h>
#include <sys/types.h>
// Needed for Visual Studio versions before VS 2010.
#if (_MSC_VER < 1600)
typedef __int32 int32_t;
typedef unsigned __int32 uint32_t;
#define PRIiMAX "I64i"
typedef __int64 intmax_t;
#else
#include <stdint.h>
#include <inttypes.h>
#endif
// ftell returns long, _ftelli64 returns __int64
// off_t is long, not __int64, use ftell
#define ftello ftell
#define MPG123_API_VERSION 47 /* OpenMPT */
#define MPG123_NO_CONFIGURE
#define MPG123_NO_LARGENAME /* OpenMPT */
#include <stddef.h> /* OpenMPT */
typedef ptrdiff_t mpg123_ssize_t; /* OpenMPT */
#include "mpg123.h.in" /* Yes, .h.in; we include the configure template! */
#ifdef __cplusplus
extern "C" {
#endif
// Wrapper around mpg123_open that supports path names with unicode
// characters
MPG123_EXPORT int mpg123_topen(mpg123_handle *fr, const _TCHAR *path);
MPG123_EXPORT int mpg123_tclose(mpg123_handle *fr);
#ifdef __cplusplus
}
#endif
#endif

View file

@ -0,0 +1,206 @@
#include "TargetConditionals.h"
#if TARGET_IPHONE_SIMULATOR
#define DEFAULT_OUTPUT_MODULE "dummy"
/* #undef HAVE_AUDIOTOOLBOX_AUDIOTOOLBOX_H */
/* #undef HAVE_AUDIOUNIT_AUDIOUNIT_H */
/* #undef HAVE_CORESERVICES_CORESERVICES_H */
/* #undef HAVE_OPENAL_ALC_H */
/* #undef HAVE_OPENAL_AL_H */
#define ABI_ALIGN_FUN 1
#define HAVE_GAI_ADDRCONFIG 1
#define LFS_ALIAS_BITS 32
/* #undef HAVE_LIBMX */
#define HAVE_MMAP 1
#define IEEE_FLOAT 1
#define SIZEOF_INT32_T 4
#define SIZEOF_LONG 4
#define SIZEOF_OFF_T 8
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#if 0 /* OpenMPT */
#define OPT_GENERIC
#endif /* OpenMPT */
#elif TARGET_OS_IPHONE
#define DEFAULT_OUTPUT_MODULE "dummy"
/* #undef HAVE_AUDIOTOOLBOX_AUDIOTOOLBOX_H */
/* #undef HAVE_AUDIOUNIT_AUDIOUNIT_H */
/* #undef HAVE_CORESERVICES_CORESERVICES_H */
/* #undef HAVE_OPENAL_ALC_H */
/* #undef HAVE_OPENAL_AL_H */
/* #undef ABI_ALIGN_FUN */
/* #undef HAVE_GAI_ADDRCONFIG */
#define LFS_ALIAS_BITS 32
/* #undef HAVE_LIBMX */
/* #undef HAVE_MMAP */
/* #undef IEEE_FLOAT */
#define SIZEOF_INT32_T 4
#define SIZEOF_LONG 4
#define SIZEOF_OFF_T 8
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#if 0 /* OpenMPT */
#define OPT_NEON
#endif /* OpenMPT */
#elif TARGET_OS_MAC
#define DEFAULT_OUTPUT_MODULE "coreaudio"
#define HAVE_AUDIOTOOLBOX_AUDIOTOOLBOX_H 1
#define HAVE_AUDIOUNIT_AUDIOUNIT_H 1
#define HAVE_CORESERVICES_CORESERVICES_H 1
#define HAVE_OPENAL_ALC_H 1
#define HAVE_OPENAL_AL_H 1
/* #undef ABI_ALIGN_FUN */
#define HAVE_GAI_ADDRCONFIG 1
#define LFS_ALIAS_BITS 64
#define HAVE_LIBMX 1
#define HAVE_MMAP 1
#define IEEE_FLOAT 1
#define SIZEOF_INT32_T 4
#define SIZEOF_LONG 8
#define SIZEOF_OFF_T 8
#define SIZEOF_SIZE_T 8
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#if 0 /* OpenMPT */
#define OPT_GENERIC
#endif /* OpenMPT */
#else
#error "Unknown target."
#endif
/* #undef ACCURATE_ROUNDING */
/* #undef AC_APPLE_UNIVERSAL_BUILD */
#define ASMALIGN_EXP 1
#define CCALIGN 1
/* #undef DEBUG */
/* #undef DYNAMIC_BUILD */
#define FIFO 1
#define FRAME_INDEX 1
#define GAPLESS 1
/* #undef HAVE_ALC_H */
/* #undef HAVE_ALIB_H */
/* #undef HAVE_AL_ALC_H */
/* #undef HAVE_AL_AL_H */
/* #undef HAVE_AL_H */
#define HAVE_ARPA_INET_H 1
/* #undef HAVE_ASM_AUDIOIO_H */
#define HAVE_ATOLL 1
/* #undef HAVE_AUDIOS_H */
/* #undef HAVE_CULIB_H */
#define HAVE_DLFCN_H 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETUID 1
#define HAVE_INTTYPES_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBM 1
#define HAVE_LIMITS_H 1
/* #undef HAVE_LINUX_SOUNDCARD_H */
#define HAVE_LOCALE_H 1
/* #undef HAVE_LTDL */
/* #undef HAVE_MACHINE_SOUNDCARD_H */
#define HAVE_MEMORY_H 1
#define HAVE_MKFIFO 1
#define HAVE_NETDB_H 1
#define HAVE_NETINET_IN_H 1
/* #undef HAVE_NETINET_TCP_H */
#define HAVE_NL_LANGINFO 1
/* #undef HAVE_OS2ME_H */
/* #undef HAVE_OS2_H */
#define HAVE_RANDOM 1
#define HAVE_SCHED_H 1
/* #undef HAVE_SCHED_SETSCHEDULER */
#define HAVE_SETLOCALE 1
#define HAVE_SETPRIORITY 1
#define HAVE_SETUID 1
#define HAVE_SIGNAL_H 1
/* #undef HAVE_SNDIO_H */
#define HAVE_STDINT_H 1
#define HAVE_STDIO_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRDUP 1
#define HAVE_STRERROR 1
#define HAVE_STRINGS_H 1
#define HAVE_STRING_H 1
/* #undef HAVE_SUN_AUDIOIO_H */
/* #undef HAVE_SYS_AUDIOIO_H */
/* #undef HAVE_SYS_AUDIO_H */
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SIGNAL_H 1
#define HAVE_SYS_SOCKET_H 1
/* #undef HAVE_SYS_SOUNDCARD_H */
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_TERMIOS 1
#define HAVE_UNISTD_H 1
/* #undef HAVE_WINDOWS_H */
/* #undef HAVE_WS2TCPIP_H */
#define INDEX_SIZE 1000
#define IPV6 1
#define LT_OBJDIR ".libs/"
#define MODULE_FILE_SUFFIX ".la"
#define NETWORK 1
/* #undef NO_16BIT */
/* #undef NO_32BIT */
/* #undef NO_8BIT */
/* #undef NO_DOWNSAMPLE */
/* #undef NO_ERETURN */
/* #undef NO_ERRORMSG */
/* #undef NO_FEEDER */
/* #undef NO_ICY */
/* #undef NO_ID3V2 */
/* #undef NO_LAYER1 */
/* #undef NO_LAYER2 */
/* #undef NO_LAYER3 */
/* #undef NO_NTOM */
/* #undef NO_REAL */
/* #undef NO_STRING */
/* #undef NO_WARNING */
#define PACKAGE "mpg123"
#define PACKAGE_BUGREPORT "mpg123-devel@lists.sourceforge.net"
#define PACKAGE_NAME "mpg123"
#define PACKAGE_STRING "mpg123 1.14.0"
#define PACKAGE_TARNAME "mpg123"
#define PACKAGE_URL ""
#define PACKAGE_VERSION "1.14.0"
/* #undef PORTAUDIO18 */
#define STDC_HEADERS 1
/* #undef USE_MODULES */
#define VERSION "1.14.0"
/* #undef WANT_WIN32_FIFO */
/* #undef WANT_WIN32_SOCKETS */
/* #undef WANT_WIN32_UNICODE */
/* #undef WINVER */
#if defined AC_APPLE_UNIVERSAL_BUILD
# if defined __BIG_ENDIAN__
# define WORDS_BIGENDIAN 1
# endif
#else
# ifndef WORDS_BIGENDIAN
/* # undef WORDS_BIGENDIAN */
# endif
#endif
/* #undef _FILE_OFFSET_BITS */
/* #undef _LARGE_FILES */
/* #undef _WIN32_WINNT */
/* #undef const */
#ifndef __cplusplus
/* #undef inline */
#endif
/* #undef int16_t */
/* #undef int32_t */
/* #undef off_t */
/* #undef size_t */
/* #undef ssize_t */
/* #undef uint16_t */
/* #undef uint32_t */
/* #undef uintptr_t */
#define REAL_IS_FLOAT
#define HAVE_DIRENT_H /* OpenMPT */

View file

@ -0,0 +1,21 @@
/*
mpg123.h: MPEG Audio Decoder library wrapper header for Xcode
copyright 2012 by the mpg123 project - free software under the terms of the LGPL 2.1
initially written by Patrick Dehne.
*/
#ifndef MPG123_XCODE_H
#define MPG123_XCODE_H
#include <stdlib.h>
#include <sys/types.h>
#define MPG123_API_VERSION 47 /* OpenMPT */
#define MPG123_NO_CONFIGURE
#define MPG123_NO_LARGENAME /* OpenMPT */
#include <stddef.h> /* OpenMPT */
typedef ssize_t mpg123_ssize_t; /* OpenMPT */
#include "../../src/libmpg123/mpg123.h.in" /* Yes, .h.in; we include the configure template! */
#endif

View file

@ -0,0 +1,44 @@
#define HAVE_STRERROR 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_LIMITS_H 1
#define HAVE_STRDUP 1
#define HAVE_STDLIB_H 1
#define HAVE_STDINT_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STRING_H 1
#define HAVE_DIRENT_H 1
#define HAVE_UNISTD_H 1
#if !defined(__DJGPP__)
#define HAVE_SYS_SIGNAL_H 1
#endif
#define HAVE_SYS_TIME_H 1
#define HAVE_STRINGS_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
/*
#ifdef HAVE_STDLIB_H
#ifdef HAVE_SIGNAL_H
#ifdef HAVE_SYS_SIGNAL_H
#ifdef HAVE_UNISTD_H
#ifdef HAVE_SYS_TYPES_H
#ifdef HAVE_INTTYPES_H
#ifdef HAVE_STDINT_H
#ifdef HAVE_LIMITS_H
#ifdef HAVE_STRING_H
#ifdef HAVE_STRINGS_H
#ifdef HAVE_SYS_TIME_H
#ifdef HAVE_SYS_SELECT_H
*/
#define GAPLESS 1
#define REAL_IS_FLOAT
#define inline __inline
#define OFF_MAX ((off_t)((sizeof(off_t) <= 4) ? ((uint32_t)-1/2) : ((uint64_t)-1/2))) /* OpenMPT */

View file

@ -0,0 +1,18 @@
#ifndef MPG123_MAKEFILE_H
#define MPG123_MAKEFILE_H
#include <stdlib.h>
#include <sys/types.h>
#include <stdint.h>
#include <inttypes.h>
#define MPG123_API_VERSION 47
#define MPG123_NO_CONFIGURE
#define MPG123_NO_LARGENAME
#include <stddef.h>
typedef ssize_t mpg123_ssize_t;
#include "mpg123.h.in"
#endif