Page 1 of 1

Sound Card Name

Posted: Wed Jun 15, 2016 11:40 am
by nco2k
does anyone know how to get the name of the default sound card?

- i dont want to use directx or wmi.
- it looks like it can be done with the IMMDeviceEnumerator, but it requires vista or later.
- waveOutGetDevCaps only returns the speaker/output name and is insanly outdated.

am i missing something obvious here? im totally running out of ideas. :?

c ya,
nco2k

Re: Sound Card Name

Posted: Wed Jun 15, 2016 12:03 pm
by IdeasVacuum
IMMDeviceEnumerator, see the code from ts-soft: http://www.purebasic.fr/german/viewtopi ... =6&t=27758

Re: Sound Card Name

Posted: Wed Jun 15, 2016 12:23 pm
by DontTalkToMe
nco2k wrote: - it looks like it can be done with the IMMDeviceEnumerator, but it requires vista or later.
IdeasVacuum wrote:IMMDeviceEnumerator, see the code from ts-soft: http://www.purebasic.fr/german/viewtopi ... =6&t=27758
lol, someone missed something I believe :lol:

Re: Sound Card Name

Posted: Wed Jun 15, 2016 5:19 pm
by nco2k
DontTalkToMe wrote:
nco2k wrote: - it looks like it can be done with the IMMDeviceEnumerator, but it requires vista or later.
IdeasVacuum wrote:IMMDeviceEnumerator, see the code from ts-soft: http://www.purebasic.fr/german/viewtopi ... =6&t=27758
lol, someone missed something I believe :lol:
yes :D i was hoping to find a simple way, which will also work for xp, but i couldnt find anything satisfying so far. for the time being, i will stick with the vista+ version and hope microsoft doesnt change it for a very long time. :?

c ya,
nco2k