[wdmaudiodev] Re: KSPROPERTY_STEPPING_LONG problem!

  • From: Tim Roberts <timr@xxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Tue, 30 Mar 2010 13:54:15 -0700

eric wrote:
> Hello Tim,
>          
>        Sorry for describing the problem such unclear and make many
> mistakes.  I might be exhausted,...anyway. Let me make it much
> detailed. The hardware's volume setting range is from 0 to 49 in
> decimal, therefore, I  set the KSPROPERTY_STEPPING_LONG as I wrote in
> previous email in order to make the code simpler even though the value
> should be set to a reasonable value in db level. However, when I
> scroll the volume control to it's lowest position, the 'Data' I got in
> the SetVolume() always is a strange value -2147483648. In addition,
> every step's value is not linear as  list like 49(uppermost), -5676,
> -7XXX, -9XXX,......, -2147483648(lowest value). What I must say is
> this setting in Win7 is workable, every step will honor my setting as
> 49, 48, 47....3, 2, 1, 0. and I do not implement a mute node.

I can't see any reason for this behavior.  As an experiment, have you
tried KSPROPERTY_MEMBER_RANGES instead of KSPROPERTY_MEMBER_STEPPEDRANGES?

-- 
Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.

Other related posts: