🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #956

Re: BCB and SAPI v5

#956
From: Marc
Date: Wed, 21 Nov 2007 21:41
43 lines
2113 bytes
Bob

>>
ppStream
[in, out] Address of a pointer to an object implementing ISpStream. On 
input, this object represents the audio stream to bind to the file. On 
output, If the function succeeds, this parameter indicates the bound stream 
object.
<<

The SPBindToFile should return the stream through this variable for the 
later use is cpVoice->SetOutput.

Rds
Marc

"Bob Gonder" <notbg@notmindspring.invalid> schrieb im Newsbeitrag 
news:6h59k35g5gtir23uc0evqfrenb3tgp0g2c@4ax.com...
> Marc wrote:
>
>> ISpStream       *cpStream;
>
>>   hr = SPBindToFile( L"c:\\ttstemp.wav",  SPFM_CREATE_ALWAYS,
>>   &cpStream,
>
> I don't see where cpStream exists.
> It is an Input variable as well as Output.
>
>> & cAudioFmt.FormatId(),cAudioFmt.WaveFormatExPtr() );
>> }
>
> http://msdn2.microsoft.com/en-us/library/aa911860.aspx
>
> inline HRESULT SPBindToFile(
>  LPCWSTR pFileName,
>  SPFILEMODE eMode,
>  ISpStream** ppStream,
>  const GUID* pFormatId = NULL,
>  const WAVEFORMATEX* pWaveFormatEx = NULL,
>  ULONGLONG* ullEventInterest = SPFEI_ALL_EVENTS
> );
>
> 
Technical Details
Message-ID: <4744a65e$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <47446f75$1@newsgroups.borland.com> <6h59k35g5gtir23uc0evqfrenb3tgp0g2c@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,67677465280073fd
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Marc" <info@mawnet.com>
From: "Marc" <info@mawnet.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <47446f75$1@newsgroups.borland.com> <6h59k35g5gtir23uc0evqfrenb3tgp0g2c@4ax.com>
Subject: Re: BCB and SAPI v5
Date: Wed, 21 Nov 2007 22:41:49 +0100
Lines: 45
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 83.76.7.81
Message-ID: <4744a65e$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1195681374 83.76.7.81 (21 Nov 2007 13:42:54 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail