Click here to Skip to main content
15,891,372 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Passing data to a DLL Pin
Steve Messer25-Mar-04 18:33
Steve Messer25-Mar-04 18:33 
GeneralRe: Passing data to a DLL Pin
Roger Allen26-Mar-04 2:10
Roger Allen26-Mar-04 2:10 
GeneralRe: Passing data to a DLL Pin
Steve Messer26-Mar-04 5:02
Steve Messer26-Mar-04 5:02 
QuestionHow to make a default button at Run Time Pin
Touseef Afzal25-Mar-04 10:42
Touseef Afzal25-Mar-04 10:42 
AnswerRe: How to make a default button at Run Time Pin
Robert A. T. Káldy25-Mar-04 11:00
Robert A. T. Káldy25-Mar-04 11:00 
GeneralRe: How to make a default button at Run Time Pin
Touseef Afzal27-Mar-04 4:25
Touseef Afzal27-Mar-04 4:25 
GeneralRe: How to make a default button at Run Time Pin
Steve S29-Mar-04 0:56
Steve S29-Mar-04 0:56 
GeneralDirectSound question Pin
pankajdaga25-Mar-04 10:41
pankajdaga25-Mar-04 10:41 
Hi everyone,

I did not know which forum would get closest in relevance to my question, so I posted it here. I am really sorry if it is the wrong place.

I am trying to learn DirectX and was looking at DirectSound in particular. I was looking at the documentation for mixing various DirectSound buffers and playing them simultaneously. However, this concept of simultaneous playing bothers me. The documentation says that simultaneously played sounds are automatically mixed in the DirectSound primary buffer and played. I could not find an example of mixing multiple wave sources.

Now, here is my question:

Suppose I have 50 DirectSound secondary buffers. I want to ensure that they are mixed first and then played. What I could gather from the documentation is that I loop through the buffers and call Play() on them. However, that will certainly affect the synchronization of the buffers and they will not be played simultaneously. The documentation only states that you play the buffers simultaneously. I could not come across a way on how to do it.

I am pretty sure I am missing something here. So, if any DirectSound expert could shed some light on it, I would be grateful.

Thanks,

Pankaj

Without struggle, there is no progress
GeneralRe: DirectSound question Pin
Ryan Binns25-Mar-04 17:28
Ryan Binns25-Mar-04 17:28 
GeneralRe: DirectSound question Pin
pankajdaga25-Mar-04 20:07
pankajdaga25-Mar-04 20:07 
GeneralSetFocus in EditControl Pin
xzigax25-Mar-04 9:27
xzigax25-Mar-04 9:27 
GeneralRe: SetFocus in EditControl Pin
Hesham Amin25-Mar-04 9:51
Hesham Amin25-Mar-04 9:51 
QuestionHow to get the handle of a control in properties sheet. Pin
bin892225-Mar-04 9:18
bin892225-Mar-04 9:18 
AnswerRe: How to get the handle of a control in properties sheet. Pin
David Crow25-Mar-04 10:15
David Crow25-Mar-04 10:15 
AnswerRe: How to get the handle of a control in properties sheet. Pin
Prakash Nadar25-Mar-04 19:31
Prakash Nadar25-Mar-04 19:31 
GeneralThe value returned is NULL Pin
bin892226-Mar-04 5:05
bin892226-Mar-04 5:05 
GeneralStatus bar gripper Pin
sschilachi25-Mar-04 8:50
sschilachi25-Mar-04 8:50 
QuestionDialog Help Needed? Pin
modeonetwo25-Mar-04 6:51
modeonetwo25-Mar-04 6:51 
AnswerRe: Dialog Help Needed? Pin
David Crow25-Mar-04 8:27
David Crow25-Mar-04 8:27 
AnswerRe: Dialog Help Needed? Pin
Robert A. T. Káldy25-Mar-04 10:52
Robert A. T. Káldy25-Mar-04 10:52 
QuestionHow do I get the Main Window in a thread ? Pin
glweid25-Mar-04 5:50
glweid25-Mar-04 5:50 
AnswerRe: How do I get the Main Window in a thread ? Pin
ViliamD25-Mar-04 6:05
sussViliamD25-Mar-04 6:05 
GeneralDLL not found !!! Pin
BlackDice25-Mar-04 5:49
BlackDice25-Mar-04 5:49 
GeneralRe: DLL not found !!! Pin
ViliamD25-Mar-04 5:57
sussViliamD25-Mar-04 5:57 
GeneralRe: DLL not found !!! Pin
BlackDice25-Mar-04 7:21
BlackDice25-Mar-04 7:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.