Hi,
There's unfortunately no documentation existing about this topic but
Krisztian can surely help you in understanding how commands can be defined.
-Matti-Pekka
On 7.11.2013 15:28, Counihan, Tom wrote:
Thanks Geoffroy,
In part it does. But is there more?
It looks to me to be a management interface of management of a 'backend'.
What's missing for me is how to populate an action model -- i.e.
commands with actions.
Maybe I'm misinterpreting something here?
Tom.
*From:*VanCutsem, Geoffroy
*Sent:* Thursday, November 07, 2013 1:15 PM
*To:* Counihan, Tom; [email protected]
*Subject:* RE: VR plugin API definition
Hi Tom,
Is this what you're looking for?
(from
https://review.tizen.org/git/?p=profile/ivi/speech-recognition.git;a=blob;f=src/daemon/recognizer.h;h=fbd94ba9069237bcc2b595edf2c03042990e5e75;hb=refs/heads/tizen)
/*
51
<https://review.tizen.org/git/?p=profile/ivi/speech-recognition.git;a=blob;f=src/daemon/recognizer.h;h=fbd94ba9069237bcc2b595edf2c03042990e5e75;hb=refs/heads/tizen#l51>
* API to a speech recognition backend.
52
<https://review.tizen.org/git/?p=profile/ivi/speech-recognition.git;a=blob;f=src/daemon/recognizer.h;h=fbd94ba9069237bcc2b595edf2c03042990e5e75;hb=refs/heads/tizen#l52>
*/
53
<https://review.tizen.org/git/?p=profile/ivi/speech-recognition.git;a=blob;f=src/daemon/recognizer.h;h=fbd94ba9069237bcc2b595edf2c03042990e5e75;hb=refs/heads/tizen#l53>
typedef struct {
54
<https://review.tizen.org/git/?p=profile/ivi/speech-recognition.git;a=blob;f=src/daemon/recognizer.h;h=fbd94ba9069237bcc2b595edf2c03042990e5e75;hb=refs/heads/tizen#l54>
/** Activate speech recognition. */
55
<https://review.tizen.org/git/?p=profile/ivi/speech-recognition.git;a=blob;f=src/daemon/recognizer.h;h=fbd94ba9069237bcc2b595edf2c03042990e5e75;hb=refs/heads/tizen#l55>
int (*activate)(void *user_data);
56
<https://review.tizen.org/git/?p=profile/ivi/speech-recognition.git;a=blob;f=src/daemon/recognizer.h;h=fbd94ba9069237bcc2b595edf2c03042990e5e75;hb=refs/heads/tizen#l56>
/** Deactivate speech recognition. */
57
<https://review.tizen.org/git/?p=profile/ivi/speech-recognition.git;a=blob;f=src/daemon/recognizer.h;h=fbd94ba9069237bcc2b595edf2c03042990e5e75;hb=refs/heads/tizen#l57>
void (*deactivate)(void *user_data);
58
<https://review.tizen.org/git/?p=profile/ivi/speech-recognition.git;a=blob;f=src/daemon/recognizer.h;h=fbd94ba9069237bcc2b595edf2c03042990e5e75;hb=refs/heads/tizen#l58>
/** Flush part or whole of the audio buffer. */
59
<https://review.tizen.org/git/?p=profile/ivi/speech-recognition.git;a=blob;f=src/daemon/recognizer.h;h=fbd94ba9069237bcc2b595edf2c03042990e5e75;hb=refs/heads/tizen#l59>
int (*flush)(uint32_t start, uint32_t end, void *user_data);
60
<https://review.tizen.org/git/?p=profile/ivi/speech-recognition.git;a=blob;f=src/daemon/recognizer.h;h=fbd94ba9069237bcc2b595edf2c03042990e5e75;hb=refs/heads/tizen#l60>
/** Schedule a rescan of the given portion of the audio buffer. */
61
<https://review.tizen.org/git/?p=profile/ivi/speech-recognition.git;a=blob;f=src/daemon/recognizer.h;h=fbd94ba9069237bcc2b595edf2c03042990e5e75;hb=refs/heads/tizen#l61>
int (*rescan)(uint32_t start, uint32_t end, void *user_data);
62
<https://review.tizen.org/git/?p=profile/ivi/speech-recognition.git;a=blob;f=src/daemon/recognizer.h;h=fbd94ba9069237bcc2b595edf2c03042990e5e75;hb=refs/heads/tizen#l62>
/** Get a copy of the audio samples in the buffer. */
63
<https://review.tizen.org/git/?p=profile/ivi/speech-recognition.git;a=blob;f=src/daemon/recognizer.h;h=fbd94ba9069237bcc2b595edf2c03042990e5e75;hb=refs/heads/tizen#l63>
srs_audiobuf_t *(*sampledup)(uint32_t start, uint32_t end, void *user_data);
64
<https://review.tizen.org/git/?p=profile/ivi/speech-recognition.git;a=blob;f=src/daemon/recognizer.h;h=fbd94ba9069237bcc2b595edf2c03042990e5e75;hb=refs/heads/tizen#l64>
/** Check if the given language model exists/is usable. */
65
<https://review.tizen.org/git/?p=profile/ivi/speech-recognition.git;a=blob;f=src/daemon/recognizer.h;h=fbd94ba9069237bcc2b595edf2c03042990e5e75;hb=refs/heads/tizen#l65>
int (*check_decoder)(const char *decoder, void *user_data);
66
<https://review.tizen.org/git/?p=profile/ivi/speech-recognition.git;a=blob;f=src/daemon/recognizer.h;h=fbd94ba9069237bcc2b595edf2c03042990e5e75;hb=refs/heads/tizen#l66>
/** Set language model to be used. */
67
<https://review.tizen.org/git/?p=profile/ivi/speech-recognition.git;a=blob;f=src/daemon/recognizer.h;h=fbd94ba9069237bcc2b595edf2c03042990e5e75;hb=refs/heads/tizen#l67>
int (*select_decoder)(const char *decoder, void *user_data);
68
<https://review.tizen.org/git/?p=profile/ivi/speech-recognition.git;a=blob;f=src/daemon/recognizer.h;h=fbd94ba9069237bcc2b595edf2c03042990e5e75;hb=refs/heads/tizen#l68>
/** Get the used language model. */
69
<https://review.tizen.org/git/?p=profile/ivi/speech-recognition.git;a=blob;f=src/daemon/recognizer.h;h=fbd94ba9069237bcc2b595edf2c03042990e5e75;hb=refs/heads/tizen#l69>
const char *(*active_decoder)(void *user_data);
70
<https://review.tizen.org/git/?p=profile/ivi/speech-recognition.git;a=blob;f=src/daemon/recognizer.h;h=fbd94ba9069237bcc2b595edf2c03042990e5e75;hb=refs/heads/tizen#l70>
} srs_srec_api_t;
Thanks,
Geoffroy
*From:*[email protected]
<mailto:[email protected]>
[mailto:[email protected]] *On Behalf Of *Counihan, Tom
*Sent:* Thursday, November 07, 2013 12:32 PM
*To:* [email protected] <mailto:[email protected]>
*Subject:* VR plugin API definition
Hi Folks,
Could someone be so kind as to direct me to the API definition for
voice recognition plugin infrastructure?
Warm Regards
Tom
INTEL
Automotive Solutions Division (ASD)
Intel Shannon,
Dromore House,
East Park,
Shannon,
Co. Clare,
Ireland
Tel : +353 61 477718
--------------------------------------------------------------
Intel Shannon Limited
Registered in Ireland
Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
Registered Number: 308263
Business address: Dromore House, East Park, Shannon, Co. Clare
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
--------------------------------------------------------------
Intel Shannon Limited
Registered in Ireland
Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
Registered Number: 308263
Business address: Dromore House, East Park, Shannon, Co. Clare
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
_______________________________________________
IVI mailing list
[email protected]
https://lists.tizen.org/listinfo/ivi
_______________________________________________
IVI mailing list
[email protected]
https://lists.tizen.org/listinfo/ivi