D22316: Avoid garbling the sound if the volume slider is moved fast

kezi noreply at phabricator.kde.org
Mon Jul 8 01:07:31 BST 2019


kezik created this revision.
kezik added a reviewer: VDG.
kezik added a project: Plasma.
Herald added a subscriber: plasma-devel.
kezik requested review of this revision.

REVISION SUMMARY
  I think that the audio should not be garbled if you move fast the audio slider  (it distorts because it stops and plays the feedback sound every few milliseconds)
  
  An alternative approach is to `return`; if the `ca_context_playing` says that the sound is still playing, but that gives less "resolution"

REPOSITORY
  R115 Plasma Audio Volume Applet

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

AFFECTED FILES
  src/qml/volumefeedback.cpp
  src/qml/volumefeedback.h

To: kezik, #vdg
Cc: plasma-devel, kezik, LeGast00n, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190708/3aa47de7/attachment.html>


More information about the Plasma-devel mailing list