1. 12 Oct, 2020 3 commits
    • Adriaan de Groot's avatar
      Mark tables as not-to-be-formatted · ee1289c5
      Adriaan de Groot authored
      ee1289c5
    • Adriaan de Groot's avatar
      Add a clang-format file · ae906fe8
      Adriaan de Groot authored
      This format is copied from kquickcharts, one of the few KDE
      projects to have such a formatting file. It is WebKit-ish,
      so it matches the KDE Frameworks style fairly well.
      
      While here, match the .editorconfig line length with the
      clang-format one.
      ae906fe8
    • Adriaan de Groot's avatar
      Add a .editorconfig · a7510846
      Adriaan de Groot authored
      This is a copy of the config from konsole, which I believe
      reflects a fairly common current coding format within the
      KDE community: 4-space indents, mostly.
      a7510846
  2. 06 Oct, 2020 2 commits
  3. 05 Oct, 2020 2 commits
  4. 04 Oct, 2020 4 commits
  5. 03 Oct, 2020 2 commits
  6. 02 Oct, 2020 4 commits
    • Jonathan Marten's avatar
    • Jonathan Marten's avatar
      Configure dialogue: Allow volume feedback for non-PulseAudio · ab133319
      Jonathan Marten authored
      It now works with PA and ALSA, the most likely other backend, so the
      option is enabled in the GUI.  Move around some widgets and reword some
      messages to correspond with that.  Ensure that all configuration widgets
      have tool tips.
      
      I18N:
      ab133319
    • Jonathan Marten's avatar
      ALSA: Implement volume feedback for this backend · d0dff0f5
      Jonathan Marten authored
      Using Canberra (if available) to play the event sound, in the same way
      as PulseAudio.  There is no GUI to allow the option to be turned on yet,
      but it can be enabled by adding
      
        VolumeFeedback=true
      
      in the [General] section of kmixrc.
      d0dff0f5
    • Jonathan Marten's avatar
      MPRIS2: Get the icon name from the player application · 793c07f3
      Jonathan Marten authored
      Previously there was a hardcoded list of applications in
      Mixer_MPRIS2::getChannelTypeFromPlayerId() which passed special
      MixDevice::ChannelType values to MixDevice::channelTypeToIconName().
      Now the icon name is found via the application's desktop file, which
      is requested from the running application via DBus, and passed directly
      to MixDevice.  Icons for audio devices are still managed by MixDevice.
      
      There are some applications which do not provide the DBus interface
      to locate their desktop file.  Therefore, there is still a hardcoded
      fallback list in Mixer_MPRIS2::getIconNameFromPlayerId() which provides
      an icon name.  The MixDevice::ChannelType values for specific
      applications are no longer used.
      793c07f3
  7. 01 Oct, 2020 4 commits
  8. 16 Sep, 2020 2 commits
  9. 08 Sep, 2020 2 commits
  10. 04 Sep, 2020 2 commits
  11. 22 Aug, 2020 2 commits
  12. 26 Jul, 2020 3 commits
    • Jonathan Marten's avatar
    • Jonathan Marten's avatar
      Tidy up the MixDeviceWidget context menu generation · c4028835
      Jonathan Marten authored
      Let MixDeviceWidget::contextMenuEvent() handle the initial creation
      and eventual showing of the menu.  Rename the pure virtual showContextMenu()
      to createContextMenu() and have it only add the control-specific actions
      to the menu.
      
      Remove the "Hide" control action and MixDeviceWidget::setDisabled().
      The action was only defined for a MDWEnum and was not accessible in the GUI.
      The same effect can be achieved using "Configure Channels".
      c4028835
    • Jonathan Marten's avatar
      Fix naming and management of global shortcuts · ba21e699
      Jonathan Marten authored
      Correctly separate the internal action name and the user readable text,
      so that they show up with readable names in the Global Shortcuts KCM.
      
      Only create volume global shortcuts if the control has adjustable
      (playback or capture) volume.
      
      Do not create any shortcuts for a virtual or dynamic control, and do not
      show the shortcuts configuration dialogue if it would be empty.
      
      Replace protected MixDeviceWidget data members with access functions.
      ba21e699
  13. 23 Jul, 2020 2 commits
  14. 14 Jul, 2020 1 commit
  15. 18 Jun, 2020 2 commits
  16. 17 Jun, 2020 2 commits
  17. 31 May, 2020 1 commit
    • Adriaan de Groot's avatar
      Report a useful mixer id, rather than "" · 9dbcc119
      Adriaan de Groot authored
      This was D8614, which got a "ship it" 30 months ago (but not an
      approval in Phab). The typo it incidentally fixed was fixed
      by Yuri in 2018.
      
      - Move warning about unregistered card down, so that the warning
        contains the newly-generated ID; otherwise the warning message is
        nonsensical, because it *hasn't* created a new ID yet.
      9dbcc119