vista and speakersettings with MMDevice API ...

Windows specific forum
User avatar
bingo
Enthusiast
Enthusiast
Posts: 210
Joined: Fri Apr 02, 2004 12:21 pm
Location: germany/thueringen
Contact:

vista and speakersettings with MMDevice API ...

Post by bingo »

any hints ? :roll:

hr = CoCreateInstance(
CLSID_MMDeviceEnumerator, NULL,
CLSCTX_ALL, IID_IMMDeviceEnumerator,
(void**)&pEnumerator);

http://msdn2.microsoft.com/en-gb/library/ms679147.aspx

http://msdn2.microsoft.com/en-gb/library/aa964574.aspx

interesting are SetMasterVolumeLevel and SetMute ...

the "old" api with mixeropen doesn't work with mastervolumelevel .
["1:0>1"]