brailcom/speechd

user configuration errors should be papered over

开放

#883 创建于 2024年3月17日

 (0 条评论) (0 个反应) (0 位负责人)C (86 个派生)auto 404
buggood first issuehelp wantedpriority

仓库指标

星标
 (325 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Reported by @albertotirla

Steps to reproduce

Not sure how, just reporting here what was said on matrix.

Obtained behavior

“when the tinyest thing is wrong in sd's configuration, it doesn't just remove that module with a warning, fallback to defaults, any of that, but instead it entirely crashes, leaving the user with absolutely no speech”

Expected behavior

spd should always at least produce speech, whatever configuration error the user may have done.

Of course, it the user directed speech to an audio card whose headphones are not connected, spd can't do much, but there are probably various situations where spd detects an error, and should be able to fallback on something that works.

贡献者指南