Review Request: WIP - Dedicated equalizer controller

Ryan McCoskrie ryan.mccoskrie at gmail.com
Thu Sep 20 00:27:04 UTC 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/106511/
-----------------------------------------------------------

Review request for Amarok.


Description
-------

This patch moves much of the Equalizer Dialogues internal behaviour into a dedicated object accessed via The::equalizer()*. Any component of Amarok looking to adjust equalizer levels (i.e. The equalizer scripting support I'll resubmit some day) should use this interface.

I'm considering as my next steps, merging the EqualizerPresets class with the EqualizerController class and possibly removing dependence on AmarokConfig to make the actual changes..

*The equalizer dialogue is accessed via The::equalizerDialog()


Diffs
-----

  src/CMakeLists.txt 8596144 
  src/EqualizerController.h PRE-CREATION 
  src/EqualizerController.cpp PRE-CREATION 
  src/MainWindow.cpp 0530fd7 
  src/core/support/Components.h c38977c 
  src/core/support/Components.cpp 22e5de0 
  src/dialogs/EqualizerDialog.h 9dad055 
  src/dialogs/EqualizerDialog.cpp 3a63fe6 

Diff: http://git.reviewboard.kde.org/r/106511/diff/


Testing
-------

Checked that Amarok compiles and that the equalizer dialogue still works. Found that enabling/dis-enabling the equalizer forces the track to freeze or restart. Pressing stop and then play will make it continue with the correct preset enabled.


Thanks,

Ryan McCoskrie

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/amarok-devel/attachments/20120920/b560f898/attachment.html>


More information about the Amarok-devel mailing list