🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.nativeapi
2 messages
2 total messages Started by Safwan Sun, 05 Nov 2006 20:16
two sound card
#2910
Author: Safwan
Date: Sun, 05 Nov 2006 20:16
10 lines
1047 bytes
Hi.

Can I have two sound card and let the sounds for Windows use the first card 
and my application use the second card only.

In other words, Can I play a wave file by a second sound card.

Sorry if this is not the suitable newsgroup.

safwan. 
Re: two sound card
#2915
Author: Remy Lebeau (TeamB)
Date: Mon, 06 Nov 2006 21:22
14 lines
1406 bytes
"Safwan" <safwan_maswadeh@yahoo.com> wrote in message
news:454e4663$1@newsgroups.borland.com...

> Can I have two sound card and let the sounds for Windows use
> the first card and my application use the second card only.

Yes, but only if you explicitally open the second sound card and then
manually write all of your audio data to that card directly.  You could use
the standard multimedia API functions waveOutOpen(), waveOutPrepareHeader(),
and waveOutWrite().  Or you can use DirectSound from the DirectX API.


Gambit
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads