Displaying 4 results from an estimated 4 matches for "samplewindow".
2015 Jul 04
1
[PATCH] unnecessary assignment
another small bug: in src\share\replaygain_analysis\replaygain_analysis.c
there are two assignments to sampleWindow:
sampleWindow = (int) ceil ((double)samplefreq * (double)RMS_WINDOW_TIME / 1000.0);
sampleWindow =
(replaygainfilter->rate * RMS_WINDOW_TIME + 1000-1) / 1000;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rg_analysis_assignment.patch
Type...
2005 Jun 05
0
[PATCH] line endings fix
...x. values are 70...80 dB) */
-
-#define MAX_ORDER (BUTTER_ORDER > YULE_ORDER ? BUTTER_ORDER : YULE_ORDER)
-/* [JEC] the 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 */...
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
...tf8(FLAC__uint16 ucs2,
>> FLAC__byte *utf8)
>> {
>> if (ucs2 < 0x080) {
>> utf8[0] = (FLAC__byte)ucs2;
>> +++ flac-1.1.3/src/share/replaygain_analysis/replaygain_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 *...