See site in english Voir le site en francais
Website skin:
home  download  forum  link  contact

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

Author Topic: OT - DirectX8 how do I add multichannel sound  (Read 1288 times)

0 Members and 1 Guest are viewing this topic.

Offline ar81

  • Hero Member
  • *****
  • Posts: 561
  • Karma: 0
18 February 2008, 17:34:38
I got to find how to add sound to a program using DirectX8.
Basically you initialize the device at the very beginning, load the sample into buffer and then play the contents of the
buffer.
But I do not get to have multichannel sound.
What is the logic to do so?  Is it that I have to concatenate samples? or is there a way to access a different buffer?
I code in Visual Basic 5.

Any help would be appreciated.


Offline ar81

  • Hero Member
  • *****
  • Posts: 561
  • Karma: 0
Reply #1 - 20 February 2008, 14:44:01
Found part of the solution here
http://msdn2.microsoft.com/en-us/library/bb219704(VS.85).aspx
Now it seems I need to figure out how to create secondary buffers.

« Last Edit: 20 February 2008, 14:44:01 by ar81 »