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

Re: Orca, Speech-dispatcher and power management



>>>>> "Samuel" == Samuel Thibault <sthibault@debian.org> writes:

    Samuel> Hello,
    Samuel> Sam Hartman, on sam. 06 janv. 2018 06:09:44 -0500, wrote:
    >> * Will limiting the number of streams speech-dispatcher opens
    >> have any significant improvement.  Are there actual costs to
    >> having the sd_generic and sd_dummy streams open even when they
    >> are unneeded?

    Samuel> I don't think there is: they remain dormant.

So, this is more of a Pulse question.
We know even dormant streams are sufficient to keep the audio card from
suspending.
I don't know if dormant streams have mixing overhead or impact the
volume algorithms being used.

    >> * Would it be worth the complexity to close the speech dispatcher
    >> streams after a period of inactivity?

    Samuel> That could be useful indeed. I suggest reporting a feature
    Samuel> request on the github speechd repository, so people can
    Samuel> contribute code to implement it (Debian by itself should not
    Samuel> integrate such a patch without it being upstream).

So, I'm happy to implement if it's going to make a significant
difference.
But if it's really true that dormant streams don't hurt, this probably
doesn't negatively impact things.


Reply to: