Update to 0.14.0b. Changes since 0.13.0b:
* Added a new ID3 tag manipulation library (libid3). * Fixed a possible segmentation fault due to mmap() abuse. * Added a 64-bit FPM negation operation to improve performance of subband synthesis on some platforms. * Added rounding to Layer III requantization for slightly better accuracy * Modified the PCM dithering routine for better dithered output. * Added TTY controls and new --tty-control and --no-tty-control options to `madplay'. TTY control keys: `P' pause, `S' stop, `Q' quit, `F' forward, `B' backward. [We already had patches for that in pkgsrc] * New time/time-remaining modes with --verbose --tty-control (select by pressing `T'.)
This commit is contained in:
parent
783b4399f5
commit
ee9546fe72
4 changed files with 34 additions and 14 deletions
|
@ -1,14 +1,11 @@
|
||||||
# $NetBSD: Makefile,v 1.2 2001/09/27 23:17:45 jlam Exp $
|
# $NetBSD: Makefile,v 1.3 2001/10/20 14:53:29 wiz Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
DISTNAME= mad-0.13.0b
|
DISTNAME= mad-0.14.0b
|
||||||
CATEGORIES= audio
|
CATEGORIES= audio
|
||||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mad/} \
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mad/} \
|
||||||
ftp://ftp.mars.org/pub/mpeg/
|
ftp://ftp.mars.org/pub/mpeg/
|
||||||
|
|
||||||
PATCH_SITES= ftp://ftp.mars.org/pub/mpeg/testing/
|
|
||||||
PATCHFILES= tty-0.13.0b.patch
|
|
||||||
|
|
||||||
MAINTAINER= simonb@netbsd.org
|
MAINTAINER= simonb@netbsd.org
|
||||||
HOMEPAGE= http://sourceforge.net/projects/mad/
|
HOMEPAGE= http://sourceforge.net/projects/mad/
|
||||||
COMMENT= High-quality MPEG audio decoder
|
COMMENT= High-quality MPEG audio decoder
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
$NetBSD: distinfo,v 1.1.1.1 2001/04/19 10:26:20 wiz Exp $
|
$NetBSD: distinfo,v 1.2 2001/10/20 14:53:29 wiz Exp $
|
||||||
|
|
||||||
SHA1 (mad-0.13.0b.tar.gz) = f0f64ee35e9ed013b78b7903d752ac5d57d6011c
|
SHA1 (mad-0.14.0b.tar.gz) = ecf2658e963b9a1c89aafc089f6659c3cdb858b6
|
||||||
Size (mad-0.13.0b.tar.gz) = 552379 bytes
|
Size (mad-0.14.0b.tar.gz) = 703852 bytes
|
||||||
SHA1 (tty-0.13.0b.patch) = a1d7f7e5e3ac5df6e7cfbf954bfebd280f671023
|
SHA1 (patch-aa) = 3d5744dac1a5ee499aaaafa1dd0696d960bc0180
|
||||||
Size (tty-0.13.0b.patch) = 22572 bytes
|
SHA1 (patch-ab) = c573fdb2d0353352db40be773d8e5292fc1d26b3
|
||||||
SHA1 (patch-aa) = 3bf70a97e7adbc7cffd457bb93bfdd68b94aeeeb
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
$NetBSD: patch-aa,v 1.1.1.1 2001/04/19 10:26:20 wiz Exp $
|
$NetBSD: patch-aa,v 1.2 2001/10/20 14:53:29 wiz Exp $
|
||||||
|
|
||||||
--- libmad/Makefile.in.orig Mon Dec 4 17:38:24 2000
|
--- libmad/Makefile.in.orig Fri Oct 19 01:47:47 2001
|
||||||
+++ libmad/Makefile.in
|
+++ libmad/Makefile.in
|
||||||
@@ -110,7 +110,7 @@
|
@@ -108,7 +108,7 @@
|
||||||
# The API for MAD is not yet stable enough to use versioning, so we use
|
# The API for MAD is not yet stable enough to use versioning, so we use
|
||||||
# release numbering instead.
|
# release numbering instead.
|
||||||
|
|
||||||
|
|
24
audio/mad/patches/patch-ab
Normal file
24
audio/mad/patches/patch-ab
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
$NetBSD: patch-ab,v 1.1 2001/10/20 14:53:29 wiz Exp $
|
||||||
|
|
||||||
|
--- audio_sun.c.orig Fri Oct 19 00:36:54 2001
|
||||||
|
+++ audio_sun.c
|
||||||
|
@@ -32,8 +32,10 @@
|
||||||
|
# include <string.h>
|
||||||
|
# include <errno.h>
|
||||||
|
# include <sys/types.h>
|
||||||
|
+#ifndef __NetBSD__
|
||||||
|
# include <stropts.h>
|
||||||
|
# include <sys/conf.h>
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
# include "mad.h"
|
||||||
|
# include "audio.h"
|
||||||
|
@@ -159,7 +161,7 @@
|
||||||
|
result = set_pause(1);
|
||||||
|
|
||||||
|
if (stop->flush &&
|
||||||
|
- ioctl(sfd, I_FLUSH, FLUSHW) == -1 && result == 0) {
|
||||||
|
+ ioctl(sfd, AUDIO_FLUSH, NULL) == -1 && result == 0) {
|
||||||
|
audio_error = ":ioctl(I_FLUSH)";
|
||||||
|
result = -1;
|
||||||
|
}
|
Loading…
Reference in a new issue