project-spiel / libspiel

Speech synthesis client library
https://project-spiel.org/libspiel
GNU Lesser General Public License v2.1
39 stars 4 forks source link

speaker: error check pipeline setup #40

Closed andyholmes closed 6 months ago

andyholmes commented 6 months ago

Tighten up the pipeline setup with some more thorough error checking.

closes #39

andyholmes commented 6 months ago

So with your testcase do you see failures in the pipeline creation? Is there something we should do to remedy them?

I can cause a properly reported GError, but the crash and criticals are gone.

I was debugging Orca's build with a fresh container and build dependencies, but not gstreamer1-plugins-good. So the broken assumption was that autoaudiosink plugin was available.

Honestly I think it's probably rare for users to be missing that, but I mentioned it in the error message since that's the most likely failure. It should be good now.