Review Request 123576: Make KMix read application.name from streams if no client is associated with that stream.
Florian Jacob
accounts+kde at florianjacob.de
Thu Apr 30 21:47:51 BST 2015
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/123576/
-----------------------------------------------------------
Review request for KDE Multimedia.
Repository: kmix
Description
-------
Streams can also have the application.name property, which is usually not required to be read as the client lives as
long as the stream. This can happen for applications that use the pactl / pacmd command line tools, though.
Example:
$ pactl list sinks short
0 alsa_output.pci-0000_00_1b.0.analog-stereo module-alsa-card.c s16le 2ch 44100Hz RUNNING
$ pactl load-module module-sine sink=alsa_output.pci-0000_00_1b.0.analog-stereo frequency=440
36
$ pactl list sink-inputs short
16 0 - module-sine.c float32le 1ch 44100Hz
$ pacmd update-sink-input-proplist 16 application.name="Sine Generator Application"
Without this patch, KMix displays "Unknown Application". With this patch, KMix displays the correct application name.
To unload the module, use:
$ pactl unload-module 36
Diffs
-----
backends/mixer_pulse.cpp 6df10d5a3008fefaf956bdeb34436bd39ec027c1
Diff: https://git.reviewboard.kde.org/r/123576/diff/
Testing
-------
Thanks,
Florian Jacob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-multimedia/attachments/20150430/43be8dd9/attachment.htm>
-------------- next part --------------
_______________________________________________
kde-multimedia mailing list
kde-multimedia at kde.org
https://mail.kde.org/mailman/listinfo/kde-multimedia
More information about the kde-multimedia
mailing list