GNOME Bugzilla – Bug 499692
[0.11][audioresample] Don't do audioconverts job
Last modified: 2008-10-30 13:47:55 UTC
Hi, currently audioresample converts all input it gets to doubles, does the resampling and then converts them back to the original format (see resample_ref.c:159 and following for example). As this is audioconverts job it would probably be better to let audioresample just support what it can handle internally and let audioconvert do everything else. This would require changing the pad templates so should be postponed until 0.11 :)
Actually, after thinking about it again, this is a good idea as audioresample knows the real input format while a audioconvert after audioresample wouldn't. If audioresample wouldn't convert internally audioconvert would add dithering/noise shaping to the output of audioresample although this is not really needed.