Help - Search - Members - Calendar
Full Version: Multiple devices with directsound
Hydrogenaudio Forums > Hydrogenaudio Forum > Scientific Discussion
multiben
Hi,

I have a DirectSound program which can play different audio sources to different audio render devices. However it only works on some computers. After having trawled the net I get the feeling that DirectSound doesn't officially support using multiple devices in the same application. Is this true?

Thanks, Ben
Martel
QUOTE(multiben @ Apr 23 2008, 16:30) *

Hi,

I have a DirectSound program which can play different audio sources to different audio render devices. However it only works on some computers. After having trawled the net I get the feeling that DirectSound doesn't officially support using multiple devices in the same application. Is this true?

Thanks, Ben

IIRC you should use the DirectSound device enumeration. It will offer you all the audio devices present in the system. Then just pick one (or more) of the enumerated devices and use it (them)... It has been over 5 years since I last used DirectSound so I don't remember it much, perhaps you have to create more DirectSound interfaces and use one device per interface.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.