sumom****@users*****
sumom****@users*****
2008年 10月 4日 (土) 00:09:28 JST
Index: julius4/libsent/src/wav2mfcc/para.c diff -u julius4/libsent/src/wav2mfcc/para.c:1.6 julius4/libsent/src/wav2mfcc/para.c:1.7 --- julius4/libsent/src/wav2mfcc/para.c:1.6 Tue Jun 17 10:20:51 2008 +++ julius4/libsent/src/wav2mfcc/para.c Sat Oct 4 00:09:28 2008 @@ -16,7 +16,7 @@ * @author Akinobu Lee * @date Fri Oct 27 14:55:00 2006 * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * */ /* @@ -207,6 +207,8 @@ return FALSE; } + srate = 0.0; + while (getl_fp(buf, 512, fp) != NULL) { p = buf; if (*p == 35) { /* skip comment line */ @@ -228,7 +230,6 @@ /* process arguments */ skipped = FALSE; - srate = 0.0; if (strmatch(d, "SOURCERATE")) { /* -smpPeriod */ srate = atof(a); } else if (strmatch(d, "TARGETRATE")) { /* -fshift */