speechd-discuss
[Top][All Lists]
Advanced

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

Re: C API: Query regarding Speech Dispatcher Callbacks and State Managem


From: Samuel Thibault
Subject: Re: C API: Query regarding Speech Dispatcher Callbacks and State Management
Date: Sat, 16 Sep 2023 23:50:04 +0200
User-agent: NeoMutt/20170609 (1.8.3)

Hello,

Day Garwood, le sam. 16 sept. 2023 22:14:34 +0100, a ecrit:
> but from what I can gather, the current callback mechanism
> doesn't allow for sending user data or context.

Indeed, it seems that wasn't added.

> I am looking for a way to accomplish this without the use of global
> variables.

You can use client_id: spd_get_client_id will tell you what client_id a
given connection has, and the callback has it as parameter. That
requires looking up a bit, however.

Samuel



reply via email to

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