[Top][All Lists]

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

Re: How to migrate from module_speak to module_speak_sync?

From: Samuel Thibault
Subject: Re: How to migrate from module_speak to module_speak_sync?
Date: Tue, 16 Nov 2021 13:35:07 +0100
User-agent: NeoMutt/20170609 (1.8.3)


Cameron Wong, le mar. 16 nov. 2021 12:23:50 +0800, a ecrit:
> When I did the migration, I noticed that a main change in API was that
> module_speak was replaced by module_speak_sync. I think this is where I did 
> the
> wrong implementation.

Mmm, it is not replaced, module_speak as it was before should continue
to work just fine, you shouldn't have to change anything. If something
broke we want to fix it, not circumvent the issue.

What happens if you just keep your module unchanged as it was for speech
dispatcher 0.10, and recompile it against 0.11?

> I mainly implemented my code basing on espeak.c. Is there a document or sample
> module that tells me how to implement module_speak_sync?

There are the src/modules/skeleton*.c examples.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]