📄 vxml_8h-source.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>vxml.h Source File</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.2.18 --><center><a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center><hr><h1>vxml.h</h1><a href="vxml_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*</span>00002 <span class="comment"> * vxml.h</span>00003 <span class="comment"> *</span>00004 <span class="comment"> * VXML engine for pwlib library</span>00005 <span class="comment"> *</span>00006 <span class="comment"> * Copyright (C) 2002 Equivalence Pty. Ltd.</span>00007 <span class="comment"> *</span>00008 <span class="comment"> * The contents of this file are subject to the Mozilla Public License</span>00009 <span class="comment"> * Version 1.0 (the "License"); you may not use this file except in</span>00010 <span class="comment"> * compliance with the License. You may obtain a copy of the License at</span>00011 <span class="comment"> * http://www.mozilla.org/MPL/</span>00012 <span class="comment"> *</span>00013 <span class="comment"> * Software distributed under the License is distributed on an "AS IS"</span>00014 <span class="comment"> * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See</span>00015 <span class="comment"> * the License for the specific language governing rights and limitations</span>00016 <span class="comment"> * under the License.</span>00017 <span class="comment"> *</span>00018 <span class="comment"> * The Original Code is Portable Windows Library.</span>00019 <span class="comment"> *</span>00020 <span class="comment"> * The Initial Developer of the Original Code is Equivalence Pty. Ltd.</span>00021 <span class="comment"> *</span>00022 <span class="comment"> * Contributor(s): ______________________________________.</span>00023 <span class="comment"> *</span>00024 <span class="comment"> * $Log: vxml.h,v $</span>00025 <span class="comment"> * Revision 1.34 2004/08/09 11:10:34 csoutheren</span>00026 <span class="comment"> * Changed SetTextToSpeech to return ptr to new engine</span>00027 <span class="comment"> *</span>00028 <span class="comment"> * Revision 1.33 2004/07/26 00:40:41 csoutheren</span>00029 <span class="comment"> * Fixed thread starvation problem under Linux by splitting channelMutex</span>00030 <span class="comment"> * into seperate read and write mutexes</span>00031 <span class="comment"> *</span>00032 <span class="comment"> * Revision 1.32 2004/07/23 00:59:26 csoutheren</span>00033 <span class="comment"> * Check in latest changes</span>00034 <span class="comment"> *</span>00035 <span class="comment"> * Revision 1.31 2004/07/15 03:12:41 csoutheren</span>00036 <span class="comment"> * Migrated changes from crs_vxnml_devel branch into main trunk</span>00037 <span class="comment"> *</span>00038 <span class="comment"> * Revision 1.30.2.7 2004/07/13 08:13:05 csoutheren</span>00039 <span class="comment"> * Lots of implementation of factory-based PWAVFile</span>00040 <span class="comment"> *</span>00041 <span class="comment"> * Revision 1.30.2.6 2004/07/12 08:30:16 csoutheren</span>00042 <span class="comment"> * More fixes for abstract factory implementation of PWAVFile</span>00043 <span class="comment"> *</span>00044 <span class="comment"> * Revision 1.30.2.5 2004/07/08 04:58:11 csoutheren</span>00045 <span class="comment"> * Exposed VXML playable classes to allow descendants</span>00046 <span class="comment"> *</span>00047 <span class="comment"> * Revision 1.30.2.4 2004/07/07 07:07:41 csoutheren</span>00048 <span class="comment"> * Changed PWAVFile to use abstract factories (extensively)</span>00049 <span class="comment"> * Removed redundant blocking/unblocking when using G.723.1</span>00050 <span class="comment"> * More support for call transfer</span>00051 <span class="comment"> *</span>00052 <span class="comment"> * Revision 1.30.2.3 2004/07/06 01:38:57 csoutheren</span>00053 <span class="comment"> * Changed PVXMLChannel to use PDelayChannel</span>00054 <span class="comment"> * Fixed bug where played files were deleted after playing</span>00055 <span class="comment"> *</span>00056 <span class="comment"> * Revision 1.30.2.2 2004/07/02 07:22:37 csoutheren</span>00057 <span class="comment"> * Updated for latest factory changes</span>00058 <span class="comment"> *</span>00059 <span class="comment"> * Revision 1.30.2.1 2004/06/20 11:18:03 csoutheren</span>00060 <span class="comment"> * Rewrite of resource cacheing to cache text-to-speech output</span>00061 <span class="comment"> *</span>00062 <span class="comment"> * Revision 1.30 2004/06/19 07:21:08 csoutheren</span>00063 <span class="comment"> * Change TTS engine registration to use abstract factory code</span>00064 <span class="comment"> * Started disentanglement of PVXMLChannel from PVXMLSession</span>00065 <span class="comment"> * Fixed problem with VXML session closing if played data file is not exact frame size multiple</span>00066 <span class="comment"> * Allowed PVXMLSession to be used without a VXML script</span>00067 <span class="comment"> * Changed PVXMLChannel to handle "file:" URLs</span>00068 <span class="comment"> * Numerous other small improvements and optimisations</span>00069 <span class="comment"> *</span>00070 <span class="comment"> * Revision 1.29 2004/06/02 08:29:28 csoutheren</span>00071 <span class="comment"> * Added new code from Andreas Sikkema to implement various VXML features</span>00072 <span class="comment"> *</span>00073 <span class="comment"> * Revision 1.28 2004/06/02 06:17:21 csoutheren</span>00074 <span class="comment"> * Removed unnecessary buffer copying and removed potential busy loop</span>00075 <span class="comment"> *</span>00076 <span class="comment"> * Revision 1.27 2004/03/23 04:48:42 csoutheren</span>00077 <span class="comment"> * Improved ability to start VXML scripts as needed</span>00078 <span class="comment"> *</span>00079 <span class="comment"> * Revision 1.26 2003/04/23 11:55:13 craigs</span>00080 <span class="comment"> * Added ability to record audio</span>00081 <span class="comment"> *</span>00082 <span class="comment"> * Revision 1.25 2003/04/08 05:09:41 craigs</span>00083 <span class="comment"> * Added ability to use commands as an audio source</span>00084 <span class="comment"> *</span>00085 <span class="comment"> * Revision 1.24 2003/03/18 00:45:36 robertj</span>00086 <span class="comment"> * Fixed missing return in previous patch.</span>00087 <span class="comment"> *</span>00088 <span class="comment"> * Revision 1.23 2003/03/18 00:40:28 robertj</span>00089 <span class="comment"> * Added back the IsMediaPCM() function for backward compatibility.</span>00090 <span class="comment"> *</span>00091 <span class="comment"> * Revision 1.22 2003/03/17 08:02:54 robertj</span>00092 <span class="comment"> * Combined to the separate incoming and outgoing substream classes into</span>00093 <span class="comment"> * a single class to make it easier to produce codec aware descendents.</span>00094 <span class="comment"> * Added G.729 substream class.</span>00095 <span class="comment"> *</span>00096 <span class="comment"> * Revision 1.21 2002/11/08 03:38:34 craigs</span>00097 <span class="comment"> * Fixed problem with G.723.1 files</span>00098 <span class="comment"> *</span>00099 <span class="comment"> * Revision 1.20 2002/09/18 06:37:13 robertj</span>00100 <span class="comment"> * Added functions to load vxml directly, via file or URL. Old function</span>00101 <span class="comment"> * intelligently picks which one to use.</span>00102 <span class="comment"> *</span>00103 <span class="comment"> * Revision 1.19 2002/09/16 01:08:59 robertj</span>00104 <span class="comment"> * Added #define so can select if #pragma interface/implementation is used on</span>00105 <span class="comment"> * platform basis (eg MacOS) rather than compiler, thanks Robert Monaghan.</span>00106 <span class="comment"> *</span>00107 <span class="comment"> * Revision 1.18 2002/09/03 04:11:14 craigs</span>00108 <span class="comment"> * More VXML changes</span>00109 <span class="comment"> *</span>00110 <span class="comment"> * Revision 1.17 2002/08/30 05:06:13 craigs</span>00111 <span class="comment"> * Added changes for PVXMLGrammar</span>00112 <span class="comment"> *</span>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -