[alsa-devel] [Fwd: [kde] Low maximum volume with pulseaudio on kde]

Raymond Yau superquad.vortex2 at gmail.com
Sun Jun 19 04:41:23 CEST 2011


2011/6/18 Sérgio Basto <sergio at serjux.com>:
> -------- Forwarded Message --------
> From: Sérgio Basto <sergio at serjux.com>
> Reply-to: kde at mail.kde.org
> To: KDE ML <kde at mail.kde.org>
> Subject: [kde] Low maximum volume with pulseaudio on kde
> Date: Wed, 15 Jun 2011 23:04:26 +0100
>
> Hi, try again,

Which sound card/HDA Codec are you using ?

>
> 1st - edit /etc/pulse/client.conf
> and change
> autospawn = no
>
> 2nd - killall pulseaudio
>
> 3rd - run on user env:
> pulseaudio -vvv
>
> lets test with kmix I see on pulseaudio logs at maximum :

which version of kmix/ubuntu are you using ?

AFAIK, the pulseaudio developer rewrorte kmix to use pulse api , and
"new" kmix does not use alsa mixer api any more

>
> D: alsa-sink.c: Requested volume: 0: 100% 1: 100%
> D: alsa-sink.c: Got hardware volume: 0: 100% 1: 100%
> D: alsa-sink.c: Calculated software volume: 0: 100% 1: 100%
> (accurate-enough=yes)
>
> with gnome-control-center -> sound I see on pulseaudio logs at
> maximum :
>
> D: protocol-native.c: Client gnome-control-center changes volume of sink
> alsa_output.pci-0000_00_1b.0.analog-stereo.
> D: alsa-sink.c: Requested volume: 0: 153% 1: 153%
> D: alsa-sink.c: Got hardware volume: 0: 100% 1: 100%
> D: alsa-sink.c: Calculated software volume: 0: 153% 1: 153%
> (accurate-enough=no)
>
> so how I put kmix also control "software volume" since system use pulse-audio ?
>

gnome sound preference already used pulse api and this is why you can
see value over 100%

Those values over 100% are software gain and sound is distorted when
clipping occur

> I read this articles
> http://www.webupd8.org/2009/08/increase-maximum-sound-level-in-ubuntu.html

The example in the above URL is properly wrong  , since PA server does
not use "default" device

> http://alsa.opensrc.org/How_to_use_softvol_to_control_the_master_volume
>

The "More complex example " in the above URL  for SBLive! Platinum
[CT4760P] is also incorrect.

When the application use

1) "hw" , the volume is controlled by "Wave Front" and "Wave Surround"
controls as the sound card pan stereo to front and rear jacks
2) "front", the volume is controlled by "Front Playback Volume"
3) "rear",  the volume is controlled by "Surround Playback Volume"
4) "surround40" the volume is controlled by "Front Playback Volume"
and "Surround Playback Volume"


More information about the Alsa-devel mailing list