summaryrefslogtreecommitdiff
path: root/audio/mpg123/files
diff options
context:
space:
mode:
authorthor <thor@pkgsrc.org>2021-05-25 10:44:22 +0000
committerthor <thor@pkgsrc.org>2021-05-25 10:44:22 +0000
commit4ea590482c11b2021b98bec02c6adf5cafd11e4a (patch)
tree37ed4e2247ef7a0a52760ce9f989025a60e1b7b1 /audio/mpg123/files
parent04deb98174fed35f3513fed225fee1c2885d211c (diff)
downloadpkgsrc-4ea590482c11b2021b98bec02c6adf5cafd11e4a.tar.gz
audio/mpg123*: update to 1.27.2, simplify things
This updates the mpg123 version and also removes packaging cruft. Among that, a never-working patch for madvise and a very old i586 assembly source are gone. The output modules are now installed without libtool files, just as .so (or .dylib). A future update to 1.28 will probably also get rid of the static libraries (upstream fixed the build to work around pkgsrc's wrapped libtool which ignores the autoconf macros to trigger non-static default build). These are the upstream changes: 1.27.2 ------ (Trying some svn tag discipline: 1.27.1 has been tagged before, but not released. Let's increment for any change.) - Removed ports/Xcode, ports/cmake should handle that case. - Ensure debug.h is included last where it matters to avoid conflicts with debug/warning macros in system headers (bug 308). - Fix some debug/printf integer casts for 32 bit platforms (bug 309). 1.27.0 ------ - libmpg123: -- Running on precomputed tables now, no need to call mpg123_init() anymore. That and mpg123_exit() are both just empty shells. You can omit them if you do not care about earlier libmpg123. You can check for MPG123_API_VERSION >= 46. -- Added API that avoids enums, mapped-to by default unless MPG123_ENUM_API is defined. - libout123: -- Added API that avoids enums, mapped-to by default unless MPG123_ENUM_API is defined. -- Added device enumeration for win32, win32_wasapi, alsa, pulse. This increments the output module ABI version to 3. -- You can choose output devices now on Windows. -- Changed default output module order to put pulse before alsa since we now ensure that pulse is not inadvertedly started by the autospawn feature. This improves the experience on desktop systems with pulse where the alsa to pulse use causes glitches. Note that on a modern Linux desktop (Ubuntu), you will not escape an instance of pulseaudio being started, with even the enumeration of the ALSA default device summoning the daemon. If you _want_ sound daemon autospawn behaviour on other platforms, you need to trigger it outside of libout123. - examples: Update for dropped mpg123_init(), more sensible copyright notes. - out123: -- safer limiting of maximum playback rate -- Added --list-devices. - mpg123: -- Fix --continue output to print track_count+1 as continue position after hitting the end of playlist. Makes scripts/conplay go to back to the beginning again (regression in 1.24.0, bug 250). -- Remote control API version 9 with @I { .. @I } wrapping of ID3 and playlist display. -- Added --list-devices. -- Fix console printout on Windows. -- Fix terminal control logic to better handle cases where stdin or stderr is not a terminal, also avoid enabling control if you specify stdin as input file. - Updated debugging/warning/error message macros to include the function name.
Diffstat (limited to 'audio/mpg123/files')
-rw-r--r--audio/mpg123/files/decode_i586_.s320
1 files changed, 0 insertions, 320 deletions
diff --git a/audio/mpg123/files/decode_i586_.s b/audio/mpg123/files/decode_i586_.s
deleted file mode 100644
index a9b2dc7421d..00000000000
--- a/audio/mpg123/files/decode_i586_.s
+++ /dev/null
@@ -1,320 +0,0 @@
-/
-/ synth_1to1 works the same way as the c version of this
-/ file. only two types of changes have been made:
-/ - reordered floating point instructions to
-/ prevent pipline stalls
-/ - made WRITE_SAMPLE use integer instead of
-/ (slower) floating point
-/ all kinds of x86 processors should benefit from these
-/ modifications.
-/
-/ useful sources of information on optimizing x86 code include:
-/
-/ Intel Architecture Optimization Manual
-/ http://www.intel.com/design/pentium/manuals/242816.htm
-/
-/ Cyrix 6x86 Instruction Set Summary
-/ ftp://ftp.cyrix.com/6x86/6x-dbch6.pdf
-/
-/ AMD-K5 Processor Software Development
-/ http://www.amd.com/products/cpg/techdocs/appnotes/20007e.pdf
-/
-/ Stefan Bieschewski <stb@acm.org>
-/
-/ $Id: decode_i586_.s,v 1.2 2005/05/31 22:13:24 rillig Exp $
-/
-.bss
- .comm buffs,4352
-.data
- .align 2
-bo:
- .long 1
-.text
- .align 3
-.LC0:
- .long 0x0,0x40dfffc0
- .align 3
-.LC1:
- .long 0x0,0xc0e00000
-.text
- .align 3
-.globl _synth_1to1_pent
-_synth_1to1_pent:
- subl $12,%esp
- pushl %ebp
- pushl %edi
- pushl %esi
- pushl %ebx
- movl 32(%esp),%eax
- movl 40(%esp),%esi
- xorl %edi,%edi
- movl bo,%ebp
- cmpl %edi,36(%esp)
- jne .L48
- decl %ebp
- andl $15,%ebp
- movl %ebp,bo
- movl $buffs,%ecx
- jmp .L49
-.L48:
- addl $2,%esi
- movl $buffs+2176,%ecx
-.L49:
- testl $1,%ebp
- je .L50
- movl %ecx,%ebx
- movl %ebp,16(%esp)
- pushl %eax
- movl 20(%esp),%edx
- leal (%ebx,%edx,4),%eax
- pushl %eax
- movl 24(%esp),%eax
- incl %eax
- andl $15,%eax
- leal 1088(,%eax,4),%eax
- addl %ebx,%eax
- jmp .L74
-.L50:
- leal 1088(%ecx),%ebx
- leal 1(%ebp),%edx
- movl %edx,16(%esp)
- pushl %eax
- leal 1092(%ecx,%ebp,4),%eax
- pushl %eax
- leal (%ecx,%ebp,4),%eax
-.L74:
- pushl %eax
- call _dct64
- addl $12,%esp
- movl 16(%esp),%edx
- leal 0(,%edx,4),%edx
- movl $_decwin+64,%eax
- movl %eax,%ecx
- subl %edx,%ecx
- movl $16,%ebp
-.L55:
- flds (%ecx)
- fmuls (%ebx)
- flds 4(%ecx)
- fmuls 4(%ebx)
- fxch %st(1)
- flds 8(%ecx)
- fmuls 8(%ebx)
- fxch %st(2)
- fsubrp %st,%st(1)
- flds 12(%ecx)
- fmuls 12(%ebx)
- fxch %st(2)
- faddp %st,%st(1)
- flds 16(%ecx)
- fmuls 16(%ebx)
- fxch %st(2)
- fsubrp %st,%st(1)
- flds 20(%ecx)
- fmuls 20(%ebx)
- fxch %st(2)
- faddp %st,%st(1)
- flds 24(%ecx)
- fmuls 24(%ebx)
- fxch %st(2)
- fsubrp %st,%st(1)
- flds 28(%ecx)
- fmuls 28(%ebx)
- fxch %st(2)
- faddp %st,%st(1)
- flds 32(%ecx)
- fmuls 32(%ebx)
- fxch %st(2)
- fsubrp %st,%st(1)
- flds 36(%ecx)
- fmuls 36(%ebx)
- fxch %st(2)
- faddp %st,%st(1)
- flds 40(%ecx)
- fmuls 40(%ebx)
- fxch %st(2)
- fsubrp %st,%st(1)
- flds 44(%ecx)
- fmuls 44(%ebx)
- fxch %st(2)
- faddp %st,%st(1)
- flds 48(%ecx)
- fmuls 48(%ebx)
- fxch %st(2)
- fsubrp %st,%st(1)
- flds 52(%ecx)
- fmuls 52(%ebx)
- fxch %st(2)
- faddp %st,%st(1)
- flds 56(%ecx)
- fmuls 56(%ebx)
- fxch %st(2)
- fsubrp %st,%st(1)
- flds 60(%ecx)
- fmuls 60(%ebx)
- fxch %st(2)
- subl $4,%esp
- faddp %st,%st(1)
- fxch %st(1)
- fsubrp %st,%st(1)
- fistpl (%esp)
- popl %eax
- cmpl $32767,%eax
- jg 1f
- cmpl $-32768,%eax
- jl 2f
- movw %ax,(%esi)
- jmp 4f
-1: movw $32767,(%esi)
- jmp 3f
-2: movw $-32768,(%esi)
-3: incl %edi
-4:
-.L54:
- addl $64,%ebx
- subl $-128,%ecx
- addl $4,%esi
- decl %ebp
- jnz .L55
- flds (%ecx)
- fmuls (%ebx)
- flds 8(%ecx)
- fmuls 8(%ebx)
- flds 16(%ecx)
- fmuls 16(%ebx)
- fxch %st(2)
- faddp %st,%st(1)
- flds 24(%ecx)
- fmuls 24(%ebx)
- fxch %st(2)
- faddp %st,%st(1)
- flds 32(%ecx)
- fmuls 32(%ebx)
- fxch %st(2)
- faddp %st,%st(1)
- flds 40(%ecx)
- fmuls 40(%ebx)
- fxch %st(2)
- faddp %st,%st(1)
- flds 48(%ecx)
- fmuls 48(%ebx)
- fxch %st(2)
- faddp %st,%st(1)
- flds 56(%ecx)
- fmuls 56(%ebx)
- fxch %st(2)
- subl $4,%esp
- faddp %st,%st(1)
- fxch %st(1)
- faddp %st,%st(1)
- fistpl (%esp)
- popl %eax
- cmpl $32767,%eax
- jg 1f
- cmpl $-32768,%eax
- jl 2f
- movw %ax,(%esi)
- jmp 4f
-1: movw $32767,(%esi)
- jmp 3f
-2: movw $-32768,(%esi)
-3: incl %edi
-4:
-.L62:
- addl $-64,%ebx
- addl $4,%esi
- movl 16(%esp),%edx
- leal -128(%ecx,%edx,8),%ecx
- movl $15,%ebp
-.L68:
- flds -4(%ecx)
- fchs
- fmuls (%ebx)
- flds -8(%ecx)
- fmuls 4(%ebx)
- fxch %st(1)
- flds -12(%ecx)
- fmuls 8(%ebx)
- fxch %st(2)
- fsubrp %st,%st(1)
- flds -16(%ecx)
- fmuls 12(%ebx)
- fxch %st(2)
- fsubrp %st,%st(1)
- flds -20(%ecx)
- fmuls 16(%ebx)
- fxch %st(2)
- fsubrp %st,%st(1)
- flds -24(%ecx)
- fmuls 20(%ebx)
- fxch %st(2)
- fsubrp %st,%st(1)
- flds -28(%ecx)
- fmuls 24(%ebx)
- fxch %st(2)
- fsubrp %st,%st(1)
- flds -32(%ecx)
- fmuls 28(%ebx)
- fxch %st(2)
- fsubrp %st,%st(1)
- flds -36(%ecx)
- fmuls 32(%ebx)
- fxch %st(2)
- fsubrp %st,%st(1)
- flds -40(%ecx)
- fmuls 36(%ebx)
- fxch %st(2)
- fsubrp %st,%st(1)
- flds -44(%ecx)
- fmuls 40(%ebx)
- fxch %st(2)
- fsubrp %st,%st(1)
- flds -48(%ecx)
- fmuls 44(%ebx)
- fxch %st(2)
- fsubrp %st,%st(1)
- flds -52(%ecx)
- fmuls 48(%ebx)
- fxch %st(2)
- fsubrp %st,%st(1)
- flds -56(%ecx)
- fmuls 52(%ebx)
- fxch %st(2)
- fsubrp %st,%st(1)
- flds -60(%ecx)
- fmuls 56(%ebx)
- fxch %st(2)
- fsubrp %st,%st(1)
- flds (%ecx)
- fmuls 60(%ebx)
- fxch %st(2)
- subl $4,%esp
- fsubrp %st,%st(1)
- fxch %st(1)
- fsubrp %st,%st(1)
- fistpl (%esp)
- popl %eax
- cmpl $32767,%eax
- jg 1f
- cmpl $-32768,%eax
- jl 2f
- movw %ax,(%esi)
- jmp 4f
-1: movw $32767,(%esi)
- jmp 3f
-2: movw $-32768,(%esi)
-3: incl %edi
-4:
-.L67:
- addl $-64,%ebx
- addl $-128,%ecx
- addl $4,%esi
- decl %ebp
- jnz .L68
- movl %edi,%eax
- popl %ebx
- popl %esi
- popl %edi
- popl %ebp
- addl $12,%esp
- ret