D7922: Use pactl instead of KMix in PauseMusic Plugin

Anthony Fieroni noreply at phabricator.kde.org
Fri Sep 22 15:16:09 UTC 2017


anthonyfieroni added inline comments.

INLINE COMMENTS

> CMakeLists.txt:2
>  find_package(KF5 REQUIRED COMPONENTS KCMUtils)
> +find_program(PACTL pactl)
>  

You can fallback to ALSA if pactl is not found. You can set a preprocesor directive if pactl is found or not. If not you can use

  amixer set Master mute   
  amixer set Master unmute

REPOSITORY
  R224 KDE Connect

REVISION DETAIL
  https://phabricator.kde.org/D7922

To: nicolasfella, #kde_connect
Cc: anthonyfieroni, thomasp, albertvaka, #kde_connect, daniel.z.tg, jeanv, tfella, seebauer, bugzy, progwolff, MayeulC, menasshock, ach, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdeconnect/attachments/20170922/9773719e/attachment.html>


More information about the KDEConnect mailing list