-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Espeak] say(const std::string& text)
: is/can it be blocking?
#21
Comments
No, it's not blocking but it's good to have a bit delay before muting |
The server is implemented as RPC, so something could be done here, and I believe it should. I think we have two options here:
I like the last option a bit more, but I'm open to opinions. |
I'd advise against the first option. In the future, if not done yet, you might want to implement a |
Sorry, but this statement is false, the |
And it makes no sense to block since we provide pause/resume/stop commands. So I guess it should be unblocked, and a new |
For sure.
Seems like the quick and fast solution. Note that the
No strong opinions in a |
Another point: Edit: YARP does not actually block port callbacks, thus allowing two clients to get their request handled independently at once, but Espeak will not process a queued |
[Espeak]
say(const std::string& text)
: is/can it be blocking?Is it streaming as before or can it now be used as an RPC service?
If so, hard-coded waits such as the following can be refactored: https://github.com/roboticslab-uc3m/follow-me/blob/b462dad42fc243732744ccb276249a341ce9c2d3/programs/followMeDialogueManager/StateMachine.cpp#L131
The text was updated successfully, but these errors were encountered: