Displaying 3 results from an estimated 3 matches for "curleft".
2005 Jun 05
0
[PATCH] line endings fix
...;
-
- memset ( B, 0, sizeof(B) );
-
- return INIT_GAIN_ANALYSIS_OK;
-}
-
-/* returns GAIN_ANALYSIS_OK if successful, GAIN_ANALYSIS_ERROR if not */
-
-int
-AnalyzeSamples ( const Float_t* left_samples, const Float_t* right_samples, size_t num_samples, int num_channels )
-{
- const Float_t* curleft;
- const Float_t* curright;
- long batchsamples;
- long cursamples;
- long cursamplepos;
- int i;
-
- if ( num_samples == 0 )
- return GAIN_ANALYSIS_OK;
-
- cursamplepos = 0;
- batchsamples = num_samples;
-
- switch ( n...
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
2006 Nov 28
11
Extending Element with getTop, getWidth, getLeft problem
...lement);
var curtop = 0;
if (element.offsetParent) {
while (element.offsetParent) {
curtop += element.offsetTop
element = element.offsetParent;
}
}
else if (element.y)
curtop += element.y;
return curtop;
},
getLeft: function(element) {
element = $(element);
var curleft = 0;
if (element.offsetParent) {
while (element.offsetParent) {
curleft += element.offsetLeft
element = element.offsetParent;
}
}
else if (element.x)
curleft += element.x;
return curleft;
}
});
----------------------------------------------------
I''ve done this t...