Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

fellz

DelphiX + multiple soundcards

This topic is 5556 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

does anyone know how to output at a specific soundcard using DelphiX in case multiple soundcards are installed? thanks in advance! fellz

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
Yes, the DXSound component has a driver property.
And you can make multiple DXSounds.

var
DXSound : array[0..1] of TDXSound;
begin
DXSound[0].Driver := DXSound.Drivers[0].GUID;
DXSound[1].Driver := DXSound.Drivers[1].GUID;
end;

You''ll need to set the driver before the initialize call, so
maybe you''ll have to set the DXSound.AutoInitialize to false
en run DXSound.Initialize yourself

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!