mpg123-1.32.5
This commit is contained in:
@@ -1327,7 +1327,7 @@ MPG123_EXPORT int mpg123_volume_change(mpg123_handle *mh, double change);
|
||||
|
||||
/** Adjust output volume including the RVA setting by chosen amount
|
||||
* \param mh handle
|
||||
* \param change volume adjustment in decibels (limited to +/- 60 dB)
|
||||
* \param db volume adjustment in decibels (limited to +/- 60 dB)
|
||||
* \return MPG123_OK on success
|
||||
*/
|
||||
MPG123_EXPORT int mpg123_volume_change_db(mpg123_handle *mh, double db);
|
||||
|
||||
@@ -1,11 +1,17 @@
|
||||
/*
|
||||
getcpuflags_arm: get cpuflags for ARM
|
||||
|
||||
copyright 1995-2014 by the mpg123 project - free software under the terms of the LGPL 2.1
|
||||
copyright 1995-2024 by the mpg123 project - free software under the terms of the LGPL 2.1
|
||||
see COPYING and AUTHORS files in distribution or http://mpg123.org
|
||||
initially written by Taihei Momma
|
||||
*/
|
||||
|
||||
// For sigsetjmp, we need POSIX 2001
|
||||
#define _POSIX_C_SOURCE 200112L
|
||||
// For SA_RESTART, XSI is needed (or POSIX 2008).
|
||||
// This here should include the above, keeping that for clarity.
|
||||
#define _XOPEN_SOURCE 600
|
||||
|
||||
#include <setjmp.h>
|
||||
#include <signal.h>
|
||||
#include "mpg123lib_intern.h"
|
||||
|
||||
@@ -1466,7 +1466,7 @@ static void INT123_dct36(real *inbuf,real *o1,real *o2,const real *wintab,real *
|
||||
#define DCT36_WRAP(asmfunc) \
|
||||
static void asmfunc ## _wrap(real *inbuf,real *o1,real *o2,const real *wintab,real *tsbuf) \
|
||||
{ \
|
||||
return asmfunc(inbuf, o1, o2, wintab, tsbuf); \
|
||||
asmfunc(inbuf, o1, o2, wintab, tsbuf); \
|
||||
}
|
||||
|
||||
#ifdef OPT_SSE
|
||||
@@ -1529,22 +1529,22 @@ void INT123_dct36_choose(mpg123_handle *fr)
|
||||
#endif
|
||||
#ifdef OPT_AVX
|
||||
case avx:
|
||||
fr->cpu_opts.the_dct36 = INT123_dct36_avx;
|
||||
fr->cpu_opts.the_dct36 = INT123_dct36_avx_wrap;
|
||||
break;
|
||||
#endif
|
||||
#ifdef OPT_X86_64
|
||||
case x86_64:
|
||||
fr->cpu_opts.the_dct36 = INT123_dct36_x86_64;
|
||||
fr->cpu_opts.the_dct36 = INT123_dct36_x86_64_wrap;
|
||||
break;
|
||||
#endif
|
||||
#ifdef OPT_NEON
|
||||
case neon:
|
||||
fr->cpu_opts.the_dct36 = INT123_dct36_neon;
|
||||
fr->cpu_opts.the_dct36 = INT123_dct36_neon_wrap;
|
||||
break;
|
||||
#endif
|
||||
#ifdef OPT_NEON64
|
||||
case neon:
|
||||
fr->cpu_opts.the_dct36 = INT123_dct36_neon64;
|
||||
fr->cpu_opts.the_dct36 = INT123_dct36_neon64_wrap;
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
|
||||
@@ -648,9 +648,10 @@ int attribute_align_arg mpg123_open_handle(mpg123_handle *mh, void *iohandle)
|
||||
#ifndef PORTABLE_API
|
||||
ret = INT123_wrap_open( mh, iohandle, NULL, -1
|
||||
, mh->p.timeout, mh->p.flags & MPG123_QUIET );
|
||||
iohandle = ret == LFS_WRAP_NONE ? iohandle : mh->wrapperdata;
|
||||
if(ret >= 0)
|
||||
#endif
|
||||
ret = INT123_open_stream_handle(mh, ret == LFS_WRAP_NONE ? iohandle : mh->wrapperdata);
|
||||
ret = INT123_open_stream_handle(mh, iohandle);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
// only single spaces as separator to ease parsing by build scripts
|
||||
#define MPG123_MAJOR 1
|
||||
#define MPG123_MINOR 32
|
||||
#define MPG123_PATCH 4
|
||||
#define MPG123_PATCH 5
|
||||
// Don't get too wild with that to avoid confusing m4. No brackets.
|
||||
// Also, it should fit well into a sane file name for the tarball.
|
||||
#define MPG123_SUFFIX ""
|
||||
|
||||
Reference in New Issue
Block a user