1

Does anyone know if it is possible to set the audio playback device programatically on Windows 7? (I've seen quite a few posts on this but no 'good' answers). I don't really want to change the default playback device. E.g. If I have 2 sound cards and want the default to be sound card 1, I'd like my app to be able to use sound card 2. Thanks in advance

user457588
  • 331
  • 5
  • 11

1 Answers1

0

I believe you can do it using IMMDeviceEnumerator Interface.
Check out the Windows SDK core audio (winsapi) samples for code.

Sogger
  • 15,962
  • 6
  • 43
  • 40