DirectSound question
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.
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,
Xargon

