librespot/playback/src
JasonLG1979 e0e23c9167 Use the librespot name arg for the app name in the PulseAudio backend
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.
2022-03-19 15:09:26 -05:00
..
audio_backend Use the librespot name arg for the app name in the PulseAudio backend 2022-03-19 15:09:26 -05:00
decoder Improve player (#823) 2021-09-20 19:29:12 +02:00
mixer Fix Alsa softvol linear mapping (#950) 2022-01-27 18:39:28 +01:00
config.rs Save some more CPU cycles in the limiter (#939) 2022-01-17 22:57:30 +01:00
convert.rs Quantum-realm level normalisation optimization (#965) 2022-02-13 22:50:32 +01:00
dither.rs Quantum-realm level normalisation optimization (#965) 2022-02-13 22:50:32 +01:00
lib.rs Improve player (#823) 2021-09-20 19:29:12 +02:00
player.rs Quantum-realm level normalisation optimization (#965) 2022-02-13 22:50:32 +01:00