tags 354486 +help -unreproducible thanks
Here's some more info from another user that points to src_sinc as well: ------ I got 'qmake' functional with the g++ -g3--ggdb -p -pg flags, callgrind points to high resource usage(~91% of total lastfm usage) in function 'calc_output' (starting line# 420) in './lastfm-1.1.90/src/libsamplerate/src_sinc.c' see the 'do-while' loops for the right an left channels, start @ line #'s 435 & 454 (for both the right and left channels, 2x~22%) icoeff = filter->coeffs [indx] + fraction * (filter->coeffs [indx + 1] - filter->coeffs [indx]) ; /*and at 2x~9%*/ left += icoeff * filter->buffer [data_index + ch] ; right += icoeff * filter->buffer [data_index + ch] ; Any ideas? without 'callgrind' running 'top' reports lastfm > 30% cpu usage, lastfm has playback problems if I attempt to max out my cpu with another process... With lastfm running in the valgrind/callgrind virtual cpu callgrind grabs 99.9% cpu time, playback is *gone* but terminal output, and continued track submission suggests that the lastfm is functioning normaly, albet slow... The Data that led me to the above info can be found at http://chaboo.casa-z.org/callgrind/callgrind.out.2203 ------