Displaying 4 results from an estimated 4 matches for "rms_window_time".
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: application/octet-stream
Size: 581 bytes
Desc: not available
Url : http://lis...
2005 Jun 05
0
[PATCH] line endings fix
...Uint32_t;
-typedef signed int Int32_t;
-
-#define YULE_ORDER 10
-#define BUTTER_ORDER 2
-#define RMS_PERCENTILE 0.95 /* percentile which is louder than the proposed level */
-#define MAX_SAMP_FREQ 48000. /* maximum allowed sample frequency [Hz] */
-#define RMS_WINDOW_TIME 0.050 /* Time slice size [s] */
-#define STEPS_per_dB 100. /* Table entries per dB */
-#define MAX_dB 120. /* Table entries for 0...MAX_dB (normal max. values are 70...80 dB) */
-
-#define MAX_ORDER (BUTTER_ORDER > YULE_ORDER ? BUTTER_ORD...
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
...>> @@ -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_WINDOW (size_t) (2401)
>> +#define UINT32_T_FORTE...