Skip to content
Permalink
Browse files

external libs: updated libmpg123, rebuilt

  • Loading branch information
sezero committed Dec 29, 2019
1 parent 5e6d095 commit 2ad9d69a6790d30933eb3d76d1cbe6216cb02ea0
@@ -12,7 +12,7 @@

/* A macro to check at compile time which set of API functions to expect.
This should be incremented at least each time a new symbol is added to the header. */
#define MPG123_API_VERSION 41
#define MPG123_API_VERSION 42

/* These aren't actually in use... seems to work without using libtool. */
#ifdef BUILD_MPG123_DLL
@@ -28,6 +28,7 @@
#endif
#endif

/* This is for Visual Studio, so this header works as distributed in the binary downloads */
#if defined(_MSC_VER) && !defined(MPG123_DEF_SSIZE_T)
#define MPG123_DEF_SSIZE_T
#include <stddef.h>
@@ -85,6 +86,7 @@ typedef ptrdiff_t ssize_t;
#define mpg123_set_index MPG123_LARGENAME(mpg123_set_index)
#define mpg123_position MPG123_LARGENAME(mpg123_position)
#define mpg123_length MPG123_LARGENAME(mpg123_length)
#define mpg123_framelength MPG123_LARGENAME(mpg123_framelength)
#define mpg123_set_filesize MPG123_LARGENAME(mpg123_set_filesize)
#define mpg123_replace_reader MPG123_LARGENAME(mpg123_replace_reader)
#define mpg123_replace_reader_handle MPG123_LARGENAME(mpg123_replace_reader_handle)
@@ -683,6 +685,7 @@ MPG123_EXPORT int mpg123_set_index(mpg123_handle *mh, off_t *offsets, off_t step

/** Get information about current and remaining frames/seconds.
* WARNING: This function is there because of special usage by standalone mpg123 and may be removed in the final version of libmpg123!
* broken for various cases (p.ex. 24 bit output). Do never use.
* You provide an offset (in frames) from now and a number of output bytes
* served by libmpg123 but not yet played. You get the projected current frame
* and seconds, as well as the remaining frames/seconds. This does _not_ care
@@ -811,6 +814,10 @@ MPG123_EXPORT size_t mpg123_safe_buffer(void);
*/
MPG123_EXPORT int mpg123_scan(mpg123_handle *mh);

/** Return, if possible, the full (expected) length of current track in frames.
* \return length >= 0 or MPG123_ERR if there is no length guess possible. */
MPG123_EXPORT off_t mpg123_framelength(mpg123_handle *mh);

/** Return, if possible, the full (expected) length of current track in samples.
* \return length >= 0 or MPG123_ERR if there is no length guess possible. */
MPG123_EXPORT off_t mpg123_length(mpg123_handle *mh);
Binary file not shown.
Binary file not shown.
@@ -12,7 +12,7 @@

/* A macro to check at compile time which set of API functions to expect.
This should be incremented at least each time a new symbol is added to the header. */
#define MPG123_API_VERSION 41
#define MPG123_API_VERSION 42

/* These aren't actually in use... seems to work without using libtool. */
#ifdef BUILD_MPG123_DLL
@@ -28,6 +28,13 @@
#endif
#endif

/* This is for Visual Studio, so this header works as distributed in the binary downloads */
#if defined(_MSC_VER) && !defined(MPG123_DEF_SSIZE_T)
#define MPG123_DEF_SSIZE_T
#include <stddef.h>
typedef ptrdiff_t ssize_t;
#endif

#ifndef MPG123_NO_CONFIGURE /* Enable use of this file without configure. */
#include <stdlib.h>
#include <sys/types.h>
@@ -79,6 +86,7 @@
#define mpg123_set_index MPG123_LARGENAME(mpg123_set_index)
#define mpg123_position MPG123_LARGENAME(mpg123_position)
#define mpg123_length MPG123_LARGENAME(mpg123_length)
#define mpg123_framelength MPG123_LARGENAME(mpg123_framelength)
#define mpg123_set_filesize MPG123_LARGENAME(mpg123_set_filesize)
#define mpg123_replace_reader MPG123_LARGENAME(mpg123_replace_reader)
#define mpg123_replace_reader_handle MPG123_LARGENAME(mpg123_replace_reader_handle)
@@ -677,6 +685,7 @@ MPG123_EXPORT int mpg123_set_index(mpg123_handle *mh, off_t *offsets, off_t step

/** Get information about current and remaining frames/seconds.
* WARNING: This function is there because of special usage by standalone mpg123 and may be removed in the final version of libmpg123!
* broken for various cases (p.ex. 24 bit output). Do never use.
* You provide an offset (in frames) from now and a number of output bytes
* served by libmpg123 but not yet played. You get the projected current frame
* and seconds, as well as the remaining frames/seconds. This does _not_ care
@@ -805,6 +814,10 @@ MPG123_EXPORT size_t mpg123_safe_buffer(void);
*/
MPG123_EXPORT int mpg123_scan(mpg123_handle *mh);

/** Return, if possible, the full (expected) length of current track in frames.
* \return length >= 0 or MPG123_ERR if there is no length guess possible. */
MPG123_EXPORT off_t mpg123_framelength(mpg123_handle *mh);

/** Return, if possible, the full (expected) length of current track in samples.
* \return length >= 0 or MPG123_ERR if there is no length guess possible. */
MPG123_EXPORT off_t mpg123_length(mpg123_handle *mh);
Binary file not shown.
@@ -82,10 +82,9 @@ subdir = .
DIST_COMMON = INSTALL NEWS README AUTHORS ChangeLog \
$(srcdir)/Makefile.in $(srcdir)/Makefile.am \
$(top_srcdir)/configure $(am__configure_deps) \
$(top_srcdir)/build/mkinstalldirs $(srcdir)/libmpg123.pc.in \
COPYING TODO build/compile build/config.guess build/config.sub \
build/depcomp build/install-sh build/missing \
build/mkinstalldirs build/ltmain.sh \
$(srcdir)/libmpg123.pc.in COPYING TODO build/compile \
build/config.guess build/config.sub build/depcomp \
build/install-sh build/missing build/ltmain.sh \
$(top_srcdir)/build/compile $(top_srcdir)/build/config.guess \
$(top_srcdir)/build/config.sub $(top_srcdir)/build/install-sh \
$(top_srcdir)/build/ltmain.sh $(top_srcdir)/build/missing
@@ -98,7 +97,7 @@ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
configure.lineno config.status.lineno
mkinstalldirs = $(SHELL) $(top_srcdir)/build/mkinstalldirs
mkinstalldirs = $(install_sh) -d
CONFIG_HEADER = $(top_builddir)/src/config.h
CONFIG_CLEAN_FILES = libmpg123.pc
CONFIG_CLEAN_VPATH_FILES =
@@ -1,4 +1,4 @@
1.22.x-sezero (libmpg123 updates)
1.22.x-sezero (changes made by sezero)
---
- Added nasm versions of x86 asm sources.
- Open Watcom and MSVC6 compatibility.
@@ -8,6 +8,8 @@

1.22.x-sezero (backports)
---
- Make mpg123_resize_string() terminate the string if shrinking (fill now
limited to new size).
- Reset the flag for having a frame to decode before trying to
parse a new one. This prevents very unkind behaviour (crashes)
when combinging mpg123_scan() with decoding later on for damaged
@@ -1,6 +1,8 @@
Changes in libmpg123 libtool interface versions...

(backports from 42.0.42)
42.0.42
- added mpg123_framelength()
Now mpg123_position() is truly obsolete!
- hardened string API to not crash if given NULL pointers
(except mpg123_init_string())
- equalizer feature optional

This file was deleted.

@@ -2595,8 +2595,8 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
ac_compiler_gnu=$ac_cv_c_compiler_gnu


API_VERSION=41
LIB_PATCHLEVEL=2
API_VERSION=42
LIB_PATCHLEVEL=0
LIBMPG123_VERSION=$API_VERSION:$LIB_PATCHLEVEL:$API_VERSION


@@ -2655,7 +2655,6 @@ fi
MAINT=$MAINTAINER_MODE_TRUE


cflags_save="$CFLAGS"
# Make sure we can run config.sub.
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
@@ -2727,7 +2726,6 @@ IFS=$ac_save_IFS
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac


CFLAGS="$cflags_save"

am__api_version='1.14'

@@ -3367,7 +3365,6 @@ if test "x$all_static" = xyes; then
$as_echo "$as_me: WARNING: Use -static in LDFLAGS for all-static linking! Your compiler may blow up on that -all-static. " >&2;}
fi

cflags_save="$CFLAGS"
DEPDIR="${am__leading_dot}deps"

ac_config_commands="$ac_config_commands depfiles"
@@ -5406,7 +5403,6 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu

CFLAGS="$cflags_save"

{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
@@ -11130,7 +11126,7 @@ _LT_EOF
cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
emximp -o $lib $output_objdir/$libname.def'
old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
enable_shared_with_static_runtimes=yes
file_list_spec='@'
;;
@@ -11985,7 +11981,7 @@ $as_echo "$lt_cv_irix_exported_symbol" >&6; }
cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
emximp -o $lib $output_objdir/$libname.def'
old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
enable_shared_with_static_runtimes=yes
file_list_spec='@'
;;
@@ -15989,13 +15985,6 @@ $as_echo "no" >&6; }
;;
esac

case $host in
x86_64-apple-darwin*)
ADD_CFLAGS="$ADD_CFLAGS -mmacosx-version-min=10.5"
ADD_LDFLAGS="$ADD_LDFLAGS -mmacosx-version-min=10.5"
;;
esac

# Use yasm instead of the default assembler for AVX sources
if test "x$use_yasm_for_avx" = "xyes"; then
case $host_os in

0 comments on commit 2ad9d69

Please sign in to comment.