[alsa-devel] softvol master has preference over virtual master in amixer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sunday 21 October 2012 06:50:34 Takashi Iwai did opine:

> At Sun, 21 Oct 2012 17:51:00 +0800,
> 
> Raymond Yau wrote:
> > [1  <text/plain; UTF-8 (quoted-printable)>]
> > 2012-10-21 ??????4:42 ??? "Takashi Iwai" <tiwai at suse.de> ?????????
> > 
> > > At Fri, 19 Oct 2012 11:15:29 +0800,
> > > 
> > > Raymond Yau wrote:
> > > > does softvol plugin "master" has any preference over vmaster in
> > > > amixer ?
> > > 
> > > No, it shouldn't.
> > 
> > Simple mixer control 'Master',0 Capabilities: pvolume pswitch
> > pswitch-joined penum Playback channels: Front Left - Front Right
> > Limits: Playback 0 - 255 Mono: Front Left: Playback 255 [100%]
> > [191.00dB] [on] Front Right: Playback 255 [100%] [191.00dB] [on]
> > 
> > the dB value change to 191dB
> > 
> > it seem that alsa-lib is unable to find the correct tlv
> 
> Something wild is merged in his system.  It has a wrong "Master"
> control without suffix.  Also a strange "Pre-Amp" control is found
> there, too.  The string doesn't fix in kernel or alsa-lib codes at
> all.
> 
> 
> Takashi
> 
> > http://www.alsa-project.org/db/?f=44b26f5cd37f33bfef2871ff1fd250301bdb
> > 5364
> > 
> > > > control.32 {
> > > > iface MIXER
> > > > name 'Master Playback Volume'
> > > > value 64
> > > > comment {
> > > > access 'read write'
> > > > type INTEGER
> > > > count 1
> > > > range '0 - 64'
> > > > dbmin -6400
> > > > dbmax 0
> > > > dbvalue.0 0
> > > > }
> > > > }
> > > > 
> > > > control.42 {
> > > > iface MIXER
> > > > name Master
> > > > value.0 255
> > > > value.1 255
> > > > comment {
> > > > access 'read write user'
> > > > type INTEGER
> > > > count 2
> > > > range '0 - 255'
> > > > tlv '0000000100000008ffffec1400000014'
> > > > dbmin -5100
> > > > dbmax 0
> > > > dbvalue.0 0
> > > > dbvalue.1 0
> > > > }
> > > > 
> > > > Card hw:0 'Intel'/'HDA Intel at 0xfeaf8000 irq 43'
> > > > 
> > > >   Mixer name: 'Realtek ALC887-VD'
> > > >   Components: 'HDA:10ec0887,10438445,00100302'
> > > >   Controls      : 42
> > > >   Simple ctrls  : 22
> > > > 
> > > > Simple mixer control 'Master',0
> > > > 
> > > >   Capabilities: pvolume pswitch pswitch-joined penum
> > > >   Playback channels: Front Left - Front Right
> > > >   Limits: Playback 0 - 255
> > > >   Mono:
> > > >   Front Left: Playback 255 [100%] [191.00dB] [on]
> > > >   Front Right: Playback 255 [100%] [191.00dB] [on]
> > > > 
> > > > Simple mixer control 'Headphone',0
> > > > 
> > > >   Capabilities: pvolume pswitch penum
> > > >   Playback channels: Front Left - Front Right
> > > >   Limits: Playback 0 - 64
> > > >   Mono:
> > > >   Front Left: Playback 64 [100%] [0.00dB] [on]
> > > >   Front Right: Playback 64 [100%] [0.00dB] [on]
> > > > 
> > > > Simple mixer control 'PCM',0
> > > > 
> > > >   Capabilities: pvolume penum
> > > >   Playback channels: Front Left - Front Right
> > > >   Limits: Playback 0 - 255
> > > >   Mono:
> > > >   Front Left: Playback 255 [100%] [0.00dB]
> > > >   Front Right: Playback 255 [100%] [0.00dB]
> > > > 
> > > > https://launchpadlibrarian.net/119782219/Symptom_PulseAudioLog.txt
> > 
> > > > Oct 15 10:49:11 xaser pulseaudio[1601]: [pulseaudio] alsa-util.c:
> > Unable to
> > 
> > > > load mixer: Invalid argument
> > 
> > [2  <text/html; UTF-8 (quoted-printable)>]

I might also say that this 191db is a figure pulled out of thin air by some 
programmer who doesn't understand sound power.  Even stated as a range, 
with no established reference level, 191 db would be from totally inaudible 
to about a 20 on the richter scale.  IOW, well above the unclipped output 
of an Altec M-21 microphone setting 6" off the bore centerline and 6" from 
the end of a cannon.

Cheers, Gene
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
My web page: <http://coyoteden.dyndns-free.com:85/gene> is up!
Cabbage, n.:
	A familiar kitchen-garden vegetable about as large and wise as
	a man's head.
		-- Ambrose Bierce, "The Devil's Dictionary"


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux