[pulseaudio-discuss] pavucontrol: Allow volume adjustment of apps that play sounds only briefly
Julian Sikorski
belegdol at gmail.com
Tue Nov 20 09:09:14 PST 2012
W dniu 20.11.2012 11:04, Tanu Kaskinen pisze:
> On Tue, 2012-11-20 at 07:29 +0100, Julian Sikorski wrote:
>> W dniu 19.11.2012 13:48, Arun Raghavan pisze:
>>> The GNOME and pavucontrol UIs do actually expose event sound volumes
>>> regardless of whether an event sound is actually playing. Unfortunately,
>>> the Skype folks just tag all their streams as phone streams (even the
>>> event sounds), so that volume does not apply. The only real fix for this
>>> at the moment is to reduce the volume on a Skype call (and yes, this
>>> does suck, but there isn't anything we can do about this).
>>
>> I think it was fixed in 4.1. At least event sounds don't mute the music
>> players anymore.
>
> But the event sound volume controls in pavucontrol etc. still don't
> affect Skype's event sounds? A snippet of verbose pulseaudio log showing
> how the Skype events look nowadays would probably be useful.
>
Actually it works, I should have checked before posting here. In any
case, here is the log snippet you requested (produced using Skype's
sound test):
I: [pulseaudio] module-stream-restore.c: Restoring device for stream
sink-input-by-media-role:event.
D: [pulseaudio] module-intended-roles.c: Not setting device for stream
Event Sound, because already set.
I: [pulseaudio] module-stream-restore.c: Restoring volume for sink input
sink-input-by-media-role:event.
I: [pulseaudio] module-stream-restore.c: Restoring mute state for sink
input sink-input-by-media-role:event.
D: [pulseaudio] module-suspend-on-idle.c: Sink
alsa_output.pci-0000_00_1b.0.analog-stereo becomes busy.
D: [pulseaudio] resampler.c: Channel matrix:
D: [pulseaudio] resampler.c: I00
D: [pulseaudio] resampler.c: +------
D: [pulseaudio] resampler.c: O00 | 1,000
D: [pulseaudio] resampler.c: O01 | 1,000
I: [pulseaudio] remap_sse.c: Using SSE mono to stereo remapping
I: [pulseaudio] resampler.c: Using resampler 'speex-float-3'
I: [pulseaudio] resampler.c: Using float32le as working format.
I: [pulseaudio] resampler.c: Choosing speex quality setting 3.
D: [pulseaudio] memblockq.c: memblockq requested: maxlength=33554432,
tlength=0, base=4, prebuf=0, minreq=1 maxrewind=0
D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=33554432,
tlength=33554432, base=4, prebuf=0, minreq=4 maxrewind=0
I: [pulseaudio] sink-input.c: Created input 6 "Event Sound" on
alsa_output.pci-0000_00_1b.0.analog-stereo with sample spec s16le 1ch
48000Hz and channel map mono
I: [pulseaudio] sink-input.c: window.icon_name = "skype"
I: [pulseaudio] sink-input.c: application.icon_name = "skype"
I: [pulseaudio] sink-input.c: media.role = "event"
I: [pulseaudio] sink-input.c: media.name = "Event Sound"
I: [pulseaudio] sink-input.c: application.name = "Skype"
I: [pulseaudio] sink-input.c: native-protocol.peer = "UNIX socket
client"
I: [pulseaudio] sink-input.c: native-protocol.version = "23"
I: [pulseaudio] sink-input.c: application.process.id = "31770"
I: [pulseaudio] sink-input.c: application.process.user = "julas"
I: [pulseaudio] sink-input.c: application.process.host = "snowball2"
I: [pulseaudio] sink-input.c: application.process.binary = "skype"
I: [pulseaudio] sink-input.c: application.language = "pl_PL.utf8"
I: [pulseaudio] sink-input.c: window.x11.display = ":0"
I: [pulseaudio] sink-input.c: application.process.machine_id =
"98d51596bca05b5c8d3ab7dd0000000d"
I: [pulseaudio] sink-input.c: application.process.session_id =
"98d51596bca05b5c8d3ab7dd0000000d-1353172863.505055-1828355561"
I: [pulseaudio] sink-input.c: module-stream-restore.id =
"sink-input-by-media-role:event"
I: [pulseaudio] protocol-native.c: Requested tlength=20,02 ms,
minreq=20,00 ms
D: [pulseaudio] protocol-native.c: Adjust latency mode enabled,
configuring sink latency to half of overall latency.
D: [pulseaudio] protocol-native.c: Requested latency=0,00 ms, Received
latency=4,00 ms
D: [pulseaudio] memblockq.c: memblockq requested: maxlength=4194304,
tlength=4224, base=2, prebuf=2306, minreq=1920 maxrewind=0
D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=4194304,
tlength=4224, base=2, prebuf=2306, minreq=1920 maxrewind=0
I: [pulseaudio] protocol-native.c: Final latency 48,00 ms = 4,00 ms +
2*20,00 ms + 4,00 ms
D: [alsa-sink] alsa-sink.c: Latency set to 4,00ms
D: [alsa-sink] alsa-sink.c: hwbuf_unused=352096
D: [alsa-sink] alsa-sink.c: setting avail_min=88113
D: [alsa-sink] alsa-sink.c: Requesting rewind due to latency change.
D: [alsa-sink] alsa-sink.c: Requested volume: 0: 100% 1: 100%
D: [alsa-sink] alsa-sink.c: in dB: 0: 0,00 dB 1: 0,00 dB
D: [alsa-sink] alsa-sink.c: Got hardware volume: 0: 100% 1: 100%
D: [alsa-sink] alsa-sink.c: in dB: 0: 0,00 dB 1: 0,00 dB
D: [alsa-sink] alsa-sink.c: Calculated software volume: 0: 100% 1: 100%
(accurate-enough=yes)
D: [alsa-sink] alsa-sink.c: in dB: 0: 0,00 dB 1:
0,00 dB
D: [alsa-sink] sink.c: Volume not changing
D: [alsa-sink] alsa-sink.c: Requested to rewind 352800 bytes.
D: [alsa-sink] alsa-sink.c: Limited to 2376 bytes.
D: [alsa-sink] alsa-sink.c: before: 594
D: [alsa-sink] alsa-sink.c: after: 594
D: [alsa-sink] alsa-sink.c: Rewound 2376 bytes.
D: [alsa-sink] sink.c: Processing rewind...
D: [alsa-sink] sink.c: latency = 1691
D: [alsa-sink] sink-input.c: Have to rewind 2376 bytes on render memblockq.
D: [alsa-sink] source.c: Processing rewind...
D: [alsa-sink] sink-input.c: Requesting rewind due to uncorking
D: [alsa-sink] alsa-sink.c: Requested to rewind 352800 bytes.
D: [pulseaudio] module-suspend-on-idle.c: Sink
alsa_output.pci-0000_00_1b.0.analog-stereo becomes busy.
D: [alsa-sink] alsa-sink.c: Limited to 320 bytes.
D: [alsa-sink] alsa-sink.c: before: 80
D: [alsa-sink] alsa-sink.c: after: 80
D: [alsa-sink] alsa-sink.c: Rewound 320 bytes.
D: [alsa-sink] sink.c: Processing rewind...
D: [alsa-sink] sink.c: latency = 773
D: [alsa-sink] source.c: Processing rewind...
D: [alsa-sink] protocol-native.c: Requesting rewind due to end of underrun.
D: [alsa-sink] alsa-sink.c: Requested to rewind 352800 bytes.
D: [alsa-sink] alsa-sink.c: Limited to 288 bytes.
D: [alsa-sink] alsa-sink.c: before: 72
D: [alsa-sink] alsa-sink.c: after: 72
D: [alsa-sink] alsa-sink.c: Rewound 288 bytes.
D: [alsa-sink] sink.c: Processing rewind...
D: [alsa-sink] sink.c: latency = 1403
D: [alsa-sink] sink-input.c: Have to rewind 288 bytes on render memblockq.
D: [alsa-sink] source.c: Processing rewind...
D: [alsa-sink] ratelimit.c: 1795 events suppressed
D: [alsa-sink] memblock.c: Pool full
D: [alsa-source] memblock.c: Pool full
D: [alsa-source] memblock.c: Pool full
D: [alsa-sink] memblock.c: Pool full
D: [alsa-sink] memblock.c: Pool full
D: [alsa-sink] memblock.c: Pool full
D: [alsa-sink] memblock.c: Pool full
D: [alsa-sink] memblock.c: Pool full
D: [alsa-sink] memblock.c: Pool full
D: [alsa-sink] memblock.c: Pool full
D: [alsa-sink] memblock.c: Pool full
D: [alsa-sink] sink-input.c: Requesting rewind due to corking
D: [alsa-sink] alsa-sink.c: Requested to rewind 352800 bytes.
D: [alsa-sink] alsa-sink.c: Limited to 448 bytes.
D: [alsa-sink] alsa-sink.c: before: 112
D: [alsa-sink] alsa-sink.c: after: 112
D: [alsa-sink] alsa-sink.c: Rewound 448 bytes.
D: [alsa-sink] sink.c: Processing rewind...
D: [alsa-sink] sink.c: latency = 1175
D: [alsa-sink] sink-input.c: Have to rewind 448 bytes on render memblockq.
D: [alsa-sink] sink-input.c: Have to rewind 246 bytes on implementor.
D: [alsa-sink] source.c: Processing rewind...
D: [alsa-sink] alsa-sink.c: Latency set to 20,00ms
D: [alsa-sink] alsa-sink.c: hwbuf_unused=349272
D: [alsa-sink] alsa-sink.c: setting avail_min=88025
D: [alsa-sink] alsa-sink.c: Requested volume: 0: 100% 1: 100%
D: [alsa-sink] alsa-sink.c: in dB: 0: 0,00 dB 1: 0,00 dB
D: [alsa-sink] alsa-sink.c: Got hardware volume: 0: 100% 1: 100%
D: [alsa-sink] alsa-sink.c: in dB: 0: 0,00 dB 1: 0,00 dB
D: [alsa-sink] alsa-sink.c: Calculated software volume: 0: 100% 1: 100%
(accurate-enough=yes)
D: [alsa-sink] alsa-sink.c: in dB: 0: 0,00 dB 1:
0,00 dB
D: [alsa-sink] sink.c: Volume not changing
D: [alsa-sink] alsa-sink.c: Requested to rewind 352800 bytes.
D: [alsa-sink] alsa-sink.c: Limited to 160 bytes.
D: [alsa-sink] alsa-sink.c: before: 40
D: [alsa-sink] alsa-sink.c: after: 40
D: [alsa-sink] alsa-sink.c: Rewound 160 bytes.
D: [alsa-sink] sink.c: Processing rewind...
D: [alsa-sink] sink.c: latency = 1566
D: [alsa-sink] source.c: Processing rewind...
I: [pulseaudio] sink-input.c: Freeing input 6 "Event Sound"
Regards,
Julian
More information about the pulseaudio-discuss
mailing list