InitTTSCaptureStream of object ITTSSTream failed
playTerminal=currentCall.RequestTerminal("{0CB9914C-79CD-47dc-ADB0-327F47CEFB20}",
(
int)MediaMode.MT_AUDIO,TERMINAL_DIRECTION.TD_CAPTURE); //Create a playlist with the file sent as parameterplayback=(ITMediaPlayback)playTerminal;
Object[] playList = { String.Format(@"{0}TestWave.wav",Application.StartupPath) };
playback.PlayList=playList;
//
// //Assign terminal to call and starts playing
currentCall.SelectTerminalOnCall(playTerminal);
// … Then after the call is accepted…
ITMediaPlayback playback;
playback=(ITMediaPlayback)playTerminal;
Object[] playList = { fileName };
playback.PlayList=playList;
ITMediaControl mediaControl;
mediaControl=(ITMediaControl)playTerminal;
mediaControl.Start();
The audio quality is terrible, with stuttering, and excessive echo. I think, it’s something to do with the half-duplex nature of the 4/PCI. But to be honest I don’t know.
I even had a crack at working with some of the TAPI examples in the SAPI SDK – modifying the code to use my Dialogic card rather than the H323 line.
But I got stuck when I hit the error InitTTSCaptureStream of object ITTSSTream failed
And there is no information whatsoever on the net about it.
Resurecting WinMX
Printer error 482
Ebay phishing scam
Dear eBay member, Hey are you going to buy the item from the auction that you won, why dont you answer to my emails, if you dont Respond Now I will contact ebay safeharbor and I will report you ! I am not a fool !
If you get this email, just delete it. |
RETURN statements in scalar valued functions must include an argument.
returns float
as
begin
return
select @something + 10
end
RETURN statements in scalar valued functions must include an argument.
returns float
as
begin
return ( select @something + 10 )
end
XSL stylesheet for displaying serialized datasets
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1">
<xsl:template match="/">
<html>
<body>
<table>
<tr>
<xsl:for-each select="DataSet/xs:schema/xs:element/xs:complexType/xs:choice/xs:element/xs:complexType/xs:sequence/xs:element">
<td><b><xsl:value-of select="@name"/></b></td>
</xsl:for-each>
</tr>
<tr>
<xsl:for-each select="*">
<td><xsl:value-of select="." /></td>
</xsl:for-each>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
Mcisendstring in .NET for recording audio
(
ByVal lpstrCommand As String, ByVal lpstrReturnString As String, _ ByVal uReturnLength As Long, ByVal hwndCallback As Long) As Long
Public Sub recordToWave(ByVal filename As String)
mciSendString("open new type waveaudio alias capture", vbNullString, 0, 0)
mciSendString("record capture", vbNullString, 0, 0)
blnIsRecording =
True
While blnIsRecording
Application.DoEvents()
End While
mciSendString("save capture " + filename, vbNullString, 0, 0)
mciSendString("close capture", vbNullString, 0, 0)
End Sub
Public Sub playWave(ByVal filename As String)
mciSendString("Play waveaudio!" + filename, vbNullString, 0, 0)
End Sub