[RFC PATCH] softvolume: implement fast volume translation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2011/10/18 Maarten Bosmans <mkbosmans at gmail.com>:
>> 2011/10/18 Wang Xingchao <xingchao.wang at intel.com>:
>>> if all channels have same volume setting, use fast way to
>>> do volume change. this patch intended to work for two formats:
>>> s16ne/s16re.
>
> I did some work to optimize svolume already, see my branch on github:
> https://github.com/mkbosmans/pulseaudio/compare/master...orcify
>
> After a few pending patches that I have already sent to the list are
> pulled, I plan to submit this branch in parts. (the branch needs to be
> rebased after the pending patches are committed)
>
> For testing correctness of your volume implementation (and
> performance, as Tanu suggested) you can use the svolume-test program
> added in this commit:
> https://github.com/mkbosmans/pulseaudio/commit/cf0c5c9ad47ba0434b0518ca79ca802d0e62153a
>
> The Orc svolume implementation currently only handles 1ch s16ne (the
> orcify branch also adds 1ch float), so I added a similar test for
> identical channel volumes for the Orc case:
> https://github.com/mkbosmans/pulseaudio/commit/8659d08f22ccaba0c1ca18c0b29744318bf4fe08
> I like that way (only using one extra variable) a bit better than
> yours (with both same_vol and fast_vol added), but that is not really
> important.
>
>
hi Maarten,

Oh, glad to know you have done similar work, i will first refer to
that and provide performance benchmark later.

Tanu, i've not done much performance test, do you have some tools for
svolume test? All suggestions are appreciated.

--xingchao


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux