|
From: | Cameron Wong |
Subject: | Re: How to migrate from module_speak to module_speak_sync? |
Date: | Wed, 17 Nov 2021 09:18:55 +0800 |
Hello,
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.
Samuel
[Prev in Thread] | Current Thread | [Next in Thread] |