[wdmaudiodev] Re: waveOutSetVolume() under Vista returns MMSYSERR_NOTSUPPORTED

  • From: "Sam Tertzakian" <sam@xxxxxxxxxxx>
  • To: <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Wed, 8 Mar 2006 17:08:17 -0800

Hi,

 

I wrote a bunch of code to set/get the volume using the Mixer API and it
works under XP with my driver.but the same code with same driver does not
work under Vista.

 

So, I cannot set the volume using the Wave API or the Mixer API under Vista.
Yet, when I change the volume using the control panel under Vista, the
messages do get to my driver.

 

  _____  

From: wdmaudiodev-bounce@xxxxxxxxxxxxx
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Sam Tertzakian
Sent: Wednesday, March 08, 2006 3:00 PM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Re: waveOutSetVolume() under Vista returns
MMSYSERR_NOTSUPPORTED

 

Hi, 

 

I wrote an audio driver that works under XP and Vista. It passes XP WHQL.
Under XP, when I call waveOutSetVolume() and waveOutGetVolume() everything
works. But, under Vista both those functions return MMSYSERR_NOT_SUPPORTED.

 

Does anybody know why this would be? Is that API not supported anymore? Do I
have to do something different in my driver under Vista to make this call
work?

 

Under Vista the driver works very well.for example, when I change the volume
using MSN messenger that works. It is just the waveXxxGetVolume and
waveXxxSetVolume calls that fail.

 

  _____  

From: wdmaudiodev-bounce@xxxxxxxxxxxxx
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Sam Tertzakian
Sent: Tuesday, March 07, 2006 9:37 AM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] waveOutSetVolume() under Vista returns
MMSYSERR_NOTSUPPORTED

 

Hi,

I am receving MMSYSERR_NOTSUPPORTED when I call waveOutSetVolume() under
Vista (latest CTP version). Under XP, the same code returns no error.

Is this API no longer supported under Vista?

Is there a new API for controlling the volume, or do we have to use the
MixerAPI?

Thank you

 

Other related posts: