Displaying 3 results from an estimated 3 matches for "samplefreq".
2005 Jun 05
0
[PATCH] line endings fix
...ll the _good_ programming ;)
- *
- * minor cosmetic tweaks to integrate with FLAC by Josh Coalson
- *
- *
- * For an explanation of the concepts and the basic algorithms involved, go to:
- * http://www.replaygain.org/
- */
-
-/*
- * Here's the deal. Call
- *
- * InitGainAnalysis ( long samplefreq );
- *
- * to initialize everything. Call
- *
- * AnalyzeSamples ( const Float_t* left_samples,
- * const Float_t* right_samples,
- * size_t num_samples,
- * int num_channels );
- *
- * as many times as you want...
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
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...