mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
e0e23c9167
This sets the name displayed by PulseAudio to Librespot - Instance Name if a name is given otherwise Librespot (the default name). This also sets the correct "role" as per the docs: https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/Developer/Clients/ApplicationProperties/ PA_PROP_MEDIA_ROLE "This is a property of the actual streamed data, not so much the application" Roles are used for policies, things like automatically muting a music player when a call comes in and whatnot. For bonus points this also sets PULSE_PROP_application.icon_name to audio-x-generic so that we get a nice icon in the PulseAudio settings by our name instead of a missing icon placeholder. |
||
---|---|---|
.. | ||
audio_backend | ||
decoder | ||
mixer | ||
config.rs | ||
convert.rs | ||
dither.rs | ||
lib.rs | ||
player.rs |