#897: include vumeter samples in the remote protocol --------------------------+------------------------------------------------- Reporter: brian | Owner: lennart Type: enhancement | Status: new Milestone: | Component: daemon Resolution: | Keywords: --------------------------+-------------------------------------------------
Comment(by tanuk): Replying to [comment:3 coling]: > I could also do some stuff in PA to really cut down on the use of the monitor streams - At present there are four tabs which show VU meters, but you can only see one at a time. Therefore we can easily "cork" the streams that are not visible. This will cut down on the amount of traffic it subsequently generates. Also, as tunnels are involved here, even if the PEAK_DETECT flag is used, the tunnel itself still uses a fixed rate. The actual tunnel is opaque to pavucontrol - it's just another sink. Therefore the problem is that we request the data from the Tunnel Sink at the lower 25Hz rate, but for that Tinnel Sink to get the data it has to transfer it over the wire at the rate the tunnel operates (i.e. 44.1kHz) and then down sample it to 25kHz to feed it to our peak detector... obviously this is suboptimal but that really need to be worked on in the Tunnel Sink implementation - perhaps add the ability to send different data rates at the same time or to allow for dynamic switching of sample rates in a tunnel. Replace "sink" with "source" in the quoted text, and it starts to make sense. If we are talking about tunnel sinks, there the only problem appears to be that the tunnel sink doesn't understand to stop all processing and go to the idle mode when only peak detection streams are connected to its monitor source. For reducing the network load for tunnel sources caused by pavucontrol, here's another idea, I'm not saying that it's a good idea, but an idea anyway: don't show vumeters at all for network devices, or enable them only at user request. -- Ticket URL: <http://pulseaudio.org/ticket/897#comment:5> PulseAudio <http://pulseaudio.org/> The PulseAudio Sound Server _______________________________________________ pulseaudio-tickets mailing list pulseaudio-tickets@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-tickets