Update of /cvsroot/playerstage/code/player/server/drivers/speech/recognition
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10464/player/server/drivers/speech/recognition
Modified Files:
sphinx2.cc
Log Message:
applied Toby's autopointer patches
Index: sphinx2.cc
===================================================================
RCS file:
/cvsroot/playerstage/code/player/server/drivers/speech/recognition/sphinx2.cc,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** sphinx2.cc 15 May 2007 00:26:24 -0000 1.12
--- sphinx2.cc 23 Aug 2007 19:58:48 -0000 1.13
***************
*** 149,153 ****
// This method will be invoked on each incoming message
! virtual int ProcessMessage(MessageQueue* resp_queue,
player_msghdr * hdr,
void * data);
--- 149,153 ----
// This method will be invoked on each incoming message
! virtual int ProcessMessage(QueuePointer & resp_queue,
player_msghdr * hdr,
void * data);
***************
*** 278,282 ****
! int Sphinx2::ProcessMessage(MessageQueue* resp_queue,
player_msghdr * hdr,
void * data)
--- 278,282 ----
! int Sphinx2::ProcessMessage(QueuePointer & resp_queue,
player_msghdr * hdr,
void * data)
***************
*** 407,411 ****
printf("data.text[%d] = %s\n",data.text_count,data.text);
! Publish(device_addr,NULL,
PLAYER_MSGTYPE_DATA,PLAYER_SPEECH_RECOGNITION_DATA_STRING,
(uint8_t*)&data, sizeof(data), NULL);
--- 407,411 ----
printf("data.text[%d] = %s\n",data.text_count,data.text);
! Publish(device_addr,
PLAYER_MSGTYPE_DATA,PLAYER_SPEECH_RECOGNITION_DATA_STRING,
(uint8_t*)&data, sizeof(data), NULL);
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit