[pulseaudio-discuss] pause/unpause rhythmbox resets output volume to 100%

Brian J. Murrell brian at interlinx.bc.ca
Mon Apr 20 05:06:55 PDT 2009


On Thu, 2009-03-26 at 15:30 -0400, Brian J. Murrell wrote:
> I am using 0.9.15~test5-0ubuntu1~ppa2 on Ubuntu Jaunty and something I
> have been finding is that when I pause rhythmbox (which terminates the
> pulseaudio stream) and then unpause (which starts a stream) the master
> output goes up to 100%.

So here is what pulseaudio -vvvv says when I "unpause" rhythmbox:

D: module-hal-detect.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port_logicaldev_input, member=Condition
D: bluetooth-util.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port_logicaldev_input, member=Condition
D: module-console-kit.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port_logicaldev_input, member=Condition
I: client.c: Created 36 "Native client (UNIX socket client)"
D: protocol-native.c: Protocol version: remote 15, local 15
I: protocol-native.c: Got credentials: uid=1001 gid=1001 success=1
D: protocol-native.c: SHM possible: yes
D: protocol-native.c: Negotiated SHM: yes
D: module-augment-properties.c: Looking for .desktop file for rhythmbox
I: module-stream-restore.c: Restoring volume for sink input sink-input-by-media-role:music.
D: module-suspend-on-idle.c: Sink alsa_output.pci_10de_26c_sound_card_0 becomes busy.
D: memblockq.c: memblockq requested: maxlength=33554432, tlength=0, base=4, prebuf=0, minreq=1 maxrewind=0
D: memblockq.c: memblockq sanitized: maxlength=33554432, tlength=33554432, base=4, prebuf=0, minreq=4 maxrewind=0
I: sink-input.c: Created input 27 "Playback Stream" on alsa_output.pci_10de_26c_sound_card_0 with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
I: protocol-native.c: Requested tlength=200.00 ms, minreq=10.00 ms
D: protocol-native.c: Adjust latency mode enabled, configuring sink latency to half of overall latency.
D: memblockq.c: memblockq requested: maxlength=70560, tlength=19404, base=4, prebuf=17644, minreq=1764 maxrewind=0
D: memblockq.c: memblockq sanitized: maxlength=70560, tlength=19404, base=4, prebuf=17644, minreq=1764 maxrewind=0
I: protocol-native.c: Final latency 200.00 ms = 90.00 ms + 2*10.00 ms + 90.00 ms
D: alsa-sink.c: Requested volume: 0:  68% 1:  68%
D: alsa-sink.c: Got hardware volume: 0:  70% 1:  70%
D: alsa-sink.c: Calculated software volume: 0:  98% 1:  98%
D: alsa-sink.c: Latency set to 90.00ms
D: alsa-sink.c: hwbuf_unused=49660
D: alsa-sink.c: setting avail_min=12866
D: alsa-sink.c: Requesting rewind due to latency change.
D: alsa-sink.c: Requested to rewind 65536 bytes.
D: alsa-sink.c: Limited to 28492 bytes.
D: alsa-sink.c: before: 7123
D: alsa-sink.c: after: 7123
D: alsa-sink.c: Rewound 28492 bytes.
D: sink.c: Processing rewind...
D: sink-input.c: Have to rewind 28492 bytes on render memblockq.
D: source.c: Processing rewind...
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%
D: alsa-sink.c: Requested to rewind 65536 bytes.
D: alsa-sink.c: Limited to 1432 bytes.
D: alsa-sink.c: before: 358
D: alsa-sink.c: after: 358
D: alsa-sink.c: Rewound 1432 bytes.
D: sink.c: Processing rewind...
D: sink-input.c: Have to rewind 1432 bytes on render memblockq.
D: source.c: Processing rewind...
I: module-stream-restore.c: Storing volume/mute/device for stream sink-input-by-media-role:music.
D: sink-input.c: Requesting rewind due to uncorking
D: alsa-sink.c: Requested to rewind 65536 bytes.
D: alsa-sink.c: Limited to 1704 bytes.
D: alsa-sink.c: before: 426
D: alsa-sink.c: after: 426
D: alsa-sink.c: Rewound 1704 bytes.
D: sink.c: Processing rewind...
D: source.c: Processing rewind...
D: module-suspend-on-idle.c: Sink alsa_output.pci_10de_26c_sound_card_0 becomes busy.
D: protocol-native.c: Requesting rewind due to end of underrun.

And so while I am going deaf, I lower the volume:

D: alsa-sink.c: Read hardware volume: 0:  96% 1:  96%
D: module-hal-detect.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port_logicaldev_input, member=Condition
D: bluetooth-util.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port_logicaldev_input, member=Condition
D: module-console-kit.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port_logicaldev_input, member=Condition
I: module-stream-restore.c: Storing volume/mute/device for stream sink-input-by-media-role:music.
I: module-device-restore.c: Storing volume/mute for device sink:alsa_output.pci_10de_26c_sound_card_0.
D: module-hal-detect.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port_logicaldev_input, member=Condition
D: bluetooth-util.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port_logicaldev_input, member=Condition
D: module-console-kit.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port_logicaldev_input, member=Condition
D: alsa-sink.c: Read hardware volume: 0:  93% 1:  93%
I: module-device-restore.c: Storing volume/mute for device sink:alsa_output.pci_10de_26c_sound_card_0.
D: alsa-sink.c: Read hardware volume: 0:  90% 1:  90%
D: module-hal-detect.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port_logicaldev_input, member=Condition
D: bluetooth-util.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port_logicaldev_input, member=Condition
D: module-console-kit.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port_logicaldev_input, member=Condition
I: module-device-restore.c: Storing volume/mute for device sink:alsa_output.pci_10de_26c_sound_card_0.
D: alsa-sink.c: Read hardware volume: 0:  88% 1:  88%
D: module-hal-detect.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port_logicaldev_input, member=Condition
D: bluetooth-util.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port_logicaldev_input, member=Condition
D: module-console-kit.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port_logicaldev_input, member=Condition
I: module-device-restore.c: Storing volume/mute for device sink:alsa_output.pci_10de_26c_sound_card_0.
D: module-hal-detect.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port_logicaldev_input, member=Condition
D: bluetooth-util.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port_logicaldev_input, member=Condition
D: module-console-kit.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port_logicaldev_input, member=Condition
D: alsa-sink.c: Read hardware volume: 0:  85% 1:  85%
I: module-device-restore.c: Storing volume/mute for device sink:alsa_output.pci_10de_26c_sound_card_0.
D: module-hal-detect.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port_logicaldev_input, member=Condition
D: bluetooth-util.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port_logicaldev_input, member=Condition
D: module-console-kit.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port_logicaldev_input, member=Condition
D: alsa-sink.c: Read hardware volume: 0:  81% 1:  81%
I: module-device-restore.c: Storing volume/mute for device sink:alsa_output.pci_10de_26c_sound_card_0.
D: module-hal-detect.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port_logicaldev_input, member=Condition
D: bluetooth-util.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port_logicaldev_input, member=Condition
D: module-console-kit.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port_logicaldev_input, member=Condition
D: alsa-sink.c: Read hardware volume: 0:  78% 1:  78%
I: module-device-restore.c: Storing volume/mute for device sink:alsa_output.pci_10de_26c_sound_card_0.
D: alsa-sink.c: Read hardware volume: 0:  75% 1:  75%
D: module-hal-detect.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port_logicaldev_input, member=Condition
D: bluetooth-util.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port_logicaldev_input, member=Condition
D: module-console-kit.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port_logicaldev_input, member=Condition
I: module-device-restore.c: Storing volume/mute for device sink:alsa_output.pci_10de_26c_sound_card_0.
D: alsa-sink.c: Read hardware volume: 0:  71% 1:  71%
D: module-hal-detect.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port_logicaldev_input, member=Condition
D: bluetooth-util.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port_logicaldev_input, member=Condition
D: module-console-kit.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port_logicaldev_input, member=Condition
I: module-device-restore.c: Storing volume/mute for device sink:alsa_output.pci_10de_26c_sound_card_0.
D: module-hal-detect.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port_logicaldev_input, member=Condition
D: bluetooth-util.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port_logicaldev_input, member=Condition
D: module-console-kit.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port_logicaldev_input, member=Condition
D: alsa-sink.c: Read hardware volume: 0:  68% 1:  68%
I: module-device-restore.c: Storing volume/mute for device sink:alsa_output.pci_10de_26c_sound_card_0.
D: module-hal-detect.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port_logicaldev_input, member=Condition
D: bluetooth-util.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port_logicaldev_input, member=Condition
D: module-console-kit.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port_logicaldev_input, member=Condition
D: alsa-sink.c: Read hardware volume: 0:  66% 1:  66%
I: module-device-restore.c: Storing volume/mute for device sink:alsa_output.pci_10de_26c_sound_card_0.
D: module-hal-detect.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port_logicaldev_input, member=Condition
D: bluetooth-util.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port_logicaldev_input, member=Condition
D: module-console-kit.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port_logicaldev_input, member=Condition
...

Any ideas?

b.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20090420/932a33ec/attachment.pgp>


More information about the pulseaudio-discuss mailing list