[Tts-project] Bug#859926: speechd-up: fails to install

Paul Gevers elbrus at debian.org
Sat Oct 17 07:17:09 BST 2020


Hi Dennis, Samuel,

On 02-09-2020 17:46, Dennis Filder wrote:
> I looked into this a bit and came up with the attached patch (written
> against 0.10.1-2), but for further improvement I'd need some feedback.
> 
> The patch adds a new thread that is on the lookout for Pulseaudio
> processes and reconfigures/restarts the output modules accordingly
> once it finds one.  This allows speech-dispatcher (with the correct
> privileges) to transition between ALSA and Pulseaudio without the need
> for a restart (albeit with the loss of the not-yet-spoken messages in
> the module and a pause of about 1-2 seconds).  In my experience it
> works quite nicely.
> 
> I don't doubt that making the output modules do the transition
> themselves without restarting them would be better, but that would
> require changes far more intrusive than the ones in this patch.
> 
> N.B.: For this to fix the original bug during installation of
> speechd-up, the default for AudioOutputMethod would have to be changed
> to "pulse,alsa".

@Dennis, thanks a lot for working on this. Did you send this upstream as
well? If not, can you do it or do you prefer we do it?

@Samuel, what do you think of the patch. It's way to involved for me to
judge, but it claims to solve a long standing RC issue.

Paul

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/tts-project/attachments/20201017/aa25edc8/attachment.sig>


More information about the Tts-project mailing list