diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2016-07-26 16:51:15 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2016-07-26 16:51:15 +0000 |
commit | 9fa9eb9ac7bf1d3de825ee25a8f0ae81b7b77896 (patch) | |
tree | 9b071a8105704e992946dcd6b801e9fcb7635142 /audio/toolame | |
parent | 5a20e7990eb544509174d617d359bf0d4ac64737 (diff) | |
download | ports-9fa9eb9ac7bf1d3de825ee25a8f0ae81b7b77896.tar.gz ports-9fa9eb9ac7bf1d3de825ee25a8f0ae81b7b77896.zip |
Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them.
With hat: portmgr
Sponsored by: Absolight
Notes
Notes:
svn path=/head/; revision=419133
Diffstat (limited to 'audio/toolame')
-rw-r--r-- | audio/toolame/files/patch-psycho__3.c (renamed from audio/toolame/files/patch-psycho_3.c) | 14 | ||||
-rw-r--r-- | audio/toolame/files/patch-psycho__4.c (renamed from audio/toolame/files/patch-psycho_4.c) | 8 |
2 files changed, 11 insertions, 11 deletions
diff --git a/audio/toolame/files/patch-psycho_3.c b/audio/toolame/files/patch-psycho__3.c index e602e68edfe0..61dc7b359405 100644 --- a/audio/toolame/files/patch-psycho_3.c +++ b/audio/toolame/files/patch-psycho__3.c @@ -1,6 +1,6 @@ ---- psycho_3.c.orig Thu Mar 27 16:46:02 2003 -+++ psycho_3.c Thu Mar 27 16:51:53 2003 -@@ -131,10 +131,10 @@ +--- psycho_3.c.orig 2003-03-01 09:35:14 UTC ++++ psycho_3.c +@@ -131,10 +131,10 @@ void psycho_3_fft(FLOAT sample[BLKSIZE], int i; static int init = 0; static FLOAT *window; @@ -12,7 +12,7 @@ for (i = 0; i < BLKSIZE; i++) { window[i] = sqrt_8_over_3 * 0.5 * (1 - cos (2.0 * PI * i / (BLKSIZE))) / BLKSIZE; } -@@ -340,6 +340,7 @@ +@@ -340,6 +340,7 @@ void psycho_3_threshold(FLOAT *LTg, int int i,j,k; FLOAT LTtm[SUBSIZE]; FLOAT LTnm[SUBSIZE]; @@ -20,7 +20,7 @@ for (i=0;i<SUBSIZE;i++) { LTtm[i] = DBMIN; -@@ -353,10 +354,9 @@ +@@ -353,10 +354,9 @@ void psycho_3_threshold(FLOAT *LTg, int if (tonelabel[k]==TONE) { for (j=0;j<SUBSIZE;j++) { /* figure out how it masks the levels around it */ @@ -33,7 +33,7 @@ /* masking function for lower & upper slopes */ if (dz < -1) vf = 17 * (dz + 1) - (0.4 * Xtm[k] + 6); -@@ -434,6 +434,7 @@ +@@ -434,6 +434,7 @@ void psycho_3_smr(double *LTmin, double void psycho_3_init(options *glopts) { int i; int cbase = 0; /* current base index for the bark range calculation */ @@ -41,7 +41,7 @@ fft_buf = (D1408 *) mem_alloc ((long) sizeof (D1408) * 2, "fft_buf"); -@@ -441,7 +442,6 @@ +@@ -441,7 +442,6 @@ void psycho_3_init(options *glopts) { psycho_3_init_add_db(); /* For each spectral line calculate the bark and the ATH (in dB) */ diff --git a/audio/toolame/files/patch-psycho_4.c b/audio/toolame/files/patch-psycho__4.c index df557a4cdf30..1facd4e25e51 100644 --- a/audio/toolame/files/patch-psycho_4.c +++ b/audio/toolame/files/patch-psycho__4.c @@ -1,6 +1,6 @@ ---- psycho_4.c.orig Thu Mar 27 16:58:41 2003 -+++ psycho_4.c Thu Mar 27 16:59:20 2003 -@@ -330,6 +330,8 @@ +--- psycho_4.c.orig 2003-03-02 00:50:48 UTC ++++ psycho_4.c +@@ -330,6 +330,8 @@ void psycho_4 (short int *buffer, short void psycho_4_init (double sfreq, options *glopts) { int i, j; @@ -9,7 +9,7 @@ /* Allocate memory for all the static variables */ psycho_4_allocmem(); -@@ -365,8 +367,8 @@ +@@ -365,8 +367,8 @@ void psycho_4_init (double sfreq, option Starting from line 0, all lines within 0.33 of the starting bark are added to the same partition. When a line is greater by 0.33 of a bark, start a new partition. */ |