[MPlayer-dev-eng] [PATCH] libbs2b audio filter
Reimar.Doeffinger at gmx.de
Sat Mar 7 13:40:36 CET 2009
On Sat, Mar 07, 2009 at 02:10:17PM +0200, Uoti Urpala wrote:
> I think using a switch to make a "clean" solution would not be too
> cumbersome in this case. It's possible this would worsen performance,
> but that's only because of the existing already ridiculously inefficient
> function-call-per-sample usage. If that main inefficiency is fixed later
> then the switch will have no performance impact either.
Well, there is no (relevant) performance problem if you just duplicate
the loop, too. It's a bit ugly, but on the other hand it gets rid of the
need for that bytes-per-sample calculation.
More information about the MPlayer-dev-eng