[pulseaudio-tickets] [Bug 103569] Feature request: do not resample nor output sound with 0 usage

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Dec 22 04:26:48 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=103569

--- Comment #5 from Hi-Angel <Hi-Angel at yandex.ru> ---
@Tanu Kaskinen thank you. I decided to take a quick look today. I profiled with
callgrind (btw, attaching in case anybody else is interested) for running a
game for a bit; turns out most of the time is spent at the bottom of this loop
https://github.com/pulseaudio/pulseaudio/blob/d9624e0382aabc106252e3a39665293e72ed08bb/src/modules/alsa/alsa-sink.c#L654
functions pa_sink_render_into_full(29.47% including children) and
snd_pcm_mmap_commit(10.15% including children).

I am however completely unfamiliar with pulseaudio in particular and audio
processing in general, can you tell what's going on there? And how would I go
about getting sound level — both configured (i.e. "whether a user muted sound")
and one of the stream (i.e. "whether stream is playing silence?").

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20171222/3cc6a521/attachment.html>


More information about the pulseaudio-bugs mailing list