pkgsrc/audio/tcl-snack/patches/patch-ae
gson 0e22f81ae7 Updated tcl-snack to version 2.2.10. Summary of changes
since 2.2.8:

10/20/04 (new feature) Implementation of data and append commands for
Python (Hinard).

10/26/04 (bug fix) Fixed leak in Windows sound I/O code. (Wilkason)

11/15/04 (new feature) The fade filter can now fade to a minimum level
other than zero.

11/18/04 (bug fix) Corrected memory leak in the pitch command.

11/25/04 (bug fix) Corrected handling of Lin24packed sample encoding.

11/30/04 (new feature) Support for more than 2 channels on Macintosh OS X.

----------------- Released 2.2.9, 12/1/04 -----------------------

1/26/05 (new feature) Added implementation for snack::audio
record_gain command on Windows (DeJong)

1/26/05 (enhancement) Several improvements regarding MP3 format
handling. (Wilkason)

14/12/05 (bug fix) Fixed canvas items to work with later ActiveTcl
releases.

----------------- Released 2.2.10, 14/12/05 -----------------------
2007-05-28 07:29:11 +00:00

21 lines
539 B
Text

$NetBSD: patch-ae,v 1.1 2007/05/28 07:29:12 gson Exp $
--- ../generic/jkFormatMP3.c.orig 2005-12-14 13:29:38.000000000 +0200
+++ ../generic/jkFormatMP3.c
@@ -25,6 +25,7 @@ such, and must be called by a name other
must retain this copyright notice.
*/
+#include <math.h>
#include <stdlib.h>
#include "snack.h"
#include "jkFormatMP3.h"
@@ -1309,8 +1310,6 @@ huffman_decode(int tbl,int *x,int *y)
return len;
}
-#include <math.h>
-
#define PI12 0.261799387f
#define PI36 0.087266462f
#define COSPI3 0.500000000f