Update of /cvsroot/playerstage/code/player/client_libs/libplayerc
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28571/client_libs/libplayerc
Modified Files:
Tag: release-2-0-patches
Makefile.am playerc.h
Log Message:
applied patch 1527657 to fix sphinx2 and speech recognition proxies
Index: Makefile.am
===================================================================
RCS file: /cvsroot/playerstage/code/player/client_libs/libplayerc/Makefile.am,v
retrieving revision 1.88.2.1
retrieving revision 1.88.2.2
diff -C2 -d -r1.88.2.1 -r1.88.2.2
*** Makefile.am 9 Jun 2006 18:27:45 -0000 1.88.2.1
--- Makefile.am 2 Aug 2006 17:36:41 -0000 1.88.2.2
***************
*** 52,55 ****
--- 52,56 ----
dev_sonar.c \
dev_speech.c \
+ dev_speech_recognition.c \
dev_wifi.c \
dev_wsn.c
Index: playerc.h
===================================================================
RCS file: /cvsroot/playerstage/code/player/client_libs/libplayerc/playerc.h,v
retrieving revision 1.185.2.2
retrieving revision 1.185.2.3
diff -C2 -d -r1.185.2.2 -r1.185.2.3
*** playerc.h 2 Aug 2006 17:00:33 -0000 1.185.2.2
--- playerc.h 2 Aug 2006 17:36:41 -0000 1.185.2.3
***************
*** 2621,2624 ****
--- 2621,2662 ----
/**************************************************************************/
/** @ingroup playerc_proxies
+ * @defgroup playerc_proxy_speech speech recognition
+
+ The speech recognition proxy provides an interface to a speech recognition
system.
+
+ @{
+ */
+
+ /** Speech recognition proxy data. */
+ typedef struct
+ {
+ /** Device info; must be at the start of all device structures. */
+ playerc_device_t info;
+
+ char rawText[PLAYER_SPEECH_RECOGNITION_TEXT_LEN];
+ // Just estimating that no more than 20 words will be spoken between
updates.
+ // Assuming that the longest word is <= 30 characters.
+ char words[20][30];
+ int wordCount;
+ } playerc_speech_recognition_t;
+
+
+ /** Create a speech recognition proxy. */
+ playerc_speech_recognition_t
*playerc_speech_recognition_create(playerc_client_t *client, int index);
+
+ /** Destroy a speech recognition proxy. */
+ void playerc_speech_recognition_destroy(playerc_speech_recognition_t *device);
+
+ /** Subscribe to the speech recognition device. */
+ int playerc_speech_recognition_subscribe(playerc_speech_recognition_t
*device, int access);
+
+ /** Un-subscribe from the speech recognition device */
+ int playerc_speech_recognition_unsubscribe(playerc_speech_recognition_t
*device);
+
+ /** @} */
+ /***************************************************************************/
+
+ /**************************************************************************/
+ /** @ingroup playerc_proxies
@defgroup playerc_proxy_rfid rfid
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit