On Fri, May 08, 2009 at 09:14:00AM +0200, LEVAI Daniel wrote:
> On Thursday 07 May 2009 21.45.00 Jacob Meuser wrote:
> > On Thu, May 07, 2009 at 11:14:17AM +0200, LEVAI Daniel wrote:
> > > > I put a lot of work into azalia(4) in the last release cycel, and I'd
> > > > like to be able to say, when 4.6 release comes, that azalia is
> > > > "completed".
> > > >
> > > > by completed I mean it "just works" as expected, by default,
> > > > everywhere.
> > > >
> > > > so, if you are using OpenBSD 4.5 or -current, and you have *any*
> > > > issues with azalia(4) (I mean anything, even if it seems "small" or
> > > > is "not really a bug but I change this everytime"), please let me
> > > > know.
> > >
> > > I have a ThinkPad T60.
> > > I always wondered why I can hear the sounds from the earphones/speakers
> > > when the output
> > > volume control is on 0:
> > >
> > > $ mixerctl -va
> > > outputs.dig-dac_source=hdaudio  [ hdaudio adc ]
> > > outputs.line_source=dac  [ dac mix2 ]
> > > outputs.line_mute=off  [ off on ]
> > > outputs.line=0,0
> > >
> > > If I set outputs.line_mute=on, then it will mute it alright.
> >
> > all volume controls use the range 0-255.  but 0 rarely corresponds to
> > complete attenuation (in fact it might not attenuate at all); that's
> > what mute is for.
> 
> Ah, okay.
> My last question is why outputs.line's 0-112 value has the same (low) volume,
> and gains volume only after 112. So basically in a mixer app volume level
> 0-50% has no meaning, and the actual volume control happens between
> outputs.line=112<->250 (50%-100%).

good question.

the datasheet and what the codec reports don't match.  the codec says
there are 63 1.25 dB steps and step 61 is 0 dB.  so that would make the
amplification range -78.75 to 2.5 dB.  the datasheet says the range is
-46.5 to 3 dB with a 1.5 dB step size for a total of 33 steps, with
step 31 being 0 dB.

sounds like the datasheet is correct and the codec lies about the
abilities of the output amps.  but what's interesting is that only the
high values affect the volume.  I would expect it to be the low values,
because to set the amplification level, you tell the codec what step
to use.

something is bogus with the output amps on this codec.

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org

Reply via email to