Logo

void sapi_textbased_lipsync::print_results std::ostream &  os  )  [virtual]
 

override of sapi_lipsync::print_results

We call the base class to process most of the results and then print out the original text in the .anno format at the end of the file.

Reimplemented from sapi_lipsync.

Definition at line 621 of file sapi_lipsync.cpp.

00622 {
00623     sapi_lipsync::print_results(os);
00624     // use bstr_t to convert to single byte
00625     bstr_t annoText = m_strInputText.c_str();
00626     os << "%%-begin-anno-text-%% " << std::endl;
00627     os << (const char*)annoText << std::endl;
00628     os << "%%-end-anno-text-%%" << std::endl;
00629 
00630 }


Copyright (C) 2002-2005 Annosoft LLC. All Rights Reserved.
Visit us at www.annosoft.com