[alsa-devel] [Fwd: [kde] Low maximum volume with pulseaudio on kde]
-------- Forwarded Message -------- From: Sérgio Basto sergio@serjux.com Reply-to: kde@mail.kde.org To: KDE ML kde@mail.kde.org Subject: [kde] Low maximum volume with pulseaudio on kde Date: Wed, 15 Jun 2011 23:04:26 +0100
Hi, try again,
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 :
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 ?
I read this articles http://www.webupd8.org/2009/08/increase-maximum-sound-level-in-ubuntu.html http://alsa.opensrc.org/How_to_use_softvol_to_control_the_master_volume
but can't figure out.
thanks,
2011/6/18 Sérgio Basto sergio@serjux.com:
-------- Forwarded Message -------- From: Sérgio Basto sergio@serjux.com Reply-to: kde@mail.kde.org To: KDE ML kde@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"
On Sun, 2011-06-19 at 10:41 +0800, Raymond Yau wrote:
2011/6/18 Sérgio Basto sergio@serjux.com:
-------- Forwarded Message -------- From: Sérgio Basto sergio@serjux.com Reply-to: kde@mail.kde.org To: KDE ML kde@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 ?
in attach
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 ?
Fedora 15 , kdemultimedia-4.6.3-1.fc15.x86_64
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
yeah
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
- "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"
I just want a way to control sofvol, with alsamixer , kmixer ( we know that gnome-control-center -> sound already do that) , can you give me a example that works. Seems I don't have dmix either .
Thanks,
participants (2)
-
Raymond Yau
-
Sérgio Basto