Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

RE: SAPI4 sound output

4 views
Skip to first unread message

spangle216

unread,
Apr 26, 2010, 10:15:01 PM4/26/10
to
I think the answer to this is that your object should have an MMControl and
the Device Type set to Wave Audio.

"David De Bono" wrote:

> Hi!
>
> I'm using the directsound control for SAPI4 in VB6 (DirectSS)
>
> I want to set the output sound device, but cannot find how to do this.
>
> Have found the following documentation:
>
> InitAudioDestDirect(direct As Long)
> Sets up a Direct Sound object As the output device. Input parameter is an
> index for an existing object. If null is passed in, a private one is
> created.
>
>
> InitAudioDestMM(deviceid As Long)
> Use this to set the wave device id during startup.
>
> But canot figure out the value to be set there. Where can I get the
> parameter to set ?
>
> David
>

0 new messages