Displaying 3 results from an estimated 3 matches for "max_samples_per_window".
2005 Jun 05
0
[PATCH] line endings fix
...following was originally #defined as:
- * (size_t) (MAX_SAMP_FREQ * RMS_WINDOW_TIME)
- * but that seemed to fail to take into account the ceil() part of the
- * sampleWindow calculation in ResetSampleFrequency(), and was causing
- * buffer overflows for 48kHz analysis, hence the +1.
- */
-#define MAX_SAMPLES_PER_WINDOW (size_t) (MAX_SAMP_FREQ * RMS_WINDOW_TIME + 1.) /* max. Samples per Time slice */
-#define PINK_REF 64.82 /* 298640883795 */ /* calibration value */
-
-static Float_t linprebuf [MAX_ORDER * 2];
-static Float_t* linpre;...
2005 Jun 04
2
[PATCH] line endings fix
The replay gain code has dos line endings in CVS, which causes problems
for the Sun compiler, among others. Attached is a patch for the lazy,
but it's probably easier to fix locally and commit.
-r
2007 Aug 24
0
Fixes to make flac build on Solaris
...ain_analysis.c
>> 2006-11-30 16:05:05.804777000 +0000
>> @@ -122,7 +122,14 @@
>> * sampleWindow calculation in ResetSampleFrequency(), and was
>> causing
>> * buffer overflows for 48kHz analysis, hence the +1.
>> */
>> +#ifndef __sun
>> #define MAX_SAMPLES_PER_WINDOW (size_t) (MAX_SAMP_FREQ *
>> RMS_WINDOW_TIME + 1.) /* max. Samples per Time slice */
>> +#else
>> + /* Different #define for Solaris Forte compiler because it
>> + doesn't like to multiply floats when declaring a variable. */
>> +#define MAX_SAMPLES_PER_WINDO...