comparison base/PlayParameters.cpp @ 284:41d64b873d87

* continue to pick "new" colours for coloured layers even when all colours have been used at least once, rather than sticking on the last one * some messing about with application palette settings * when replacing an audio file, retain the previous playback settings for any layers that depended on the old file * re-check plugin program setting when a parameter changes -- so a plugin can decide to reset the program if the parameters no longer match those for the current program * fix failure to update check-boxes for toggled plugin parameters when their parameters are changed by program changes
author Chris Cannam
date Thu, 09 Aug 2007 14:40:03 +0000
parents c30728d5625c
children 70a232b1f12a
comparison
equal deleted inserted replaced
283:7336fe3a7caa 284:41d64b873d87
14 */ 14 */
15 15
16 #include "PlayParameters.h" 16 #include "PlayParameters.h"
17 17
18 #include <iostream> 18 #include <iostream>
19
20 void
21 PlayParameters::copyFrom(const PlayParameters *pp)
22 {
23 m_playMuted = pp->isPlayMuted();
24 m_playPan = pp->getPlayPan();
25 m_playGain = pp->getPlayGain();
26 m_playPluginId = pp->getPlayPluginId();
27 m_playPluginConfiguration = pp->getPlayPluginConfiguration();
28 }
19 29
20 QString 30 QString
21 PlayParameters::toXmlString(QString indent, 31 PlayParameters::toXmlString(QString indent,
22 QString extraAttributes) const 32 QString extraAttributes) const
23 { 33 {