mirror of
https://git.freebsd.org/ports.git
synced 2025-06-26 23:20:30 -04:00
Rename them to follow the make makepatch naming, and regenerate them. With hat: portmgr Sponsored by: Absolight
22 lines
991 B
C
22 lines
991 B
C
--- 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;
|
|
+ int partition_count; /* keep a count of the partitions */
|
|
+ int cbase; /* current base index for the bark range calculation */
|
|
|
|
/* Allocate memory for all the static variables */
|
|
psycho_4_allocmem();
|
|
@@ -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. */
|
|
- int partition_count = 0; /* keep a count of the partitions */
|
|
- int cbase = 0; /* current base index for the bark range calculation */
|
|
+ partition_count = 0;
|
|
+ cbase = 0;
|
|
for (i=0;i<HBLKSIZE;i++) {
|
|
if ((bark[i] - bark[cbase]) > 0.33) { /* 1/3 critical band? */
|
|
/* this frequency line is too different from the starting line,
|