comparison document/SVFileReader.cpp @ 83:0d2fb43b5ee5

* Fix failure to reload play mute state correctly from session file * Ensure Show and Play buttons in layer property box are initialised with the correct state
author Chris Cannam
date Fri, 05 Jan 2007 14:46:45 +0000
parents bedc7517b6e8
children 41c491657587
comparison
equal deleted inserted replaced
82:d82e332cb178 83:0d2fb43b5ee5
1084 << std::endl; 1084 << std::endl;
1085 return false; 1085 return false;
1086 } 1086 }
1087 1087
1088 bool muted = (attributes.value("mute").trimmed() == "true"); 1088 bool muted = (attributes.value("mute").trimmed() == "true");
1089 if (ok) parameters->setPlayMuted(muted); 1089 parameters->setPlayMuted(muted);
1090 1090
1091 float pan = attributes.value("pan").toFloat(&ok); 1091 float pan = attributes.value("pan").toFloat(&ok);
1092 if (ok) parameters->setPlayPan(pan); 1092 if (ok) parameters->setPlayPan(pan);
1093 1093
1094 float gain = attributes.value("gain").toFloat(&ok); 1094 float gain = attributes.value("gain").toFloat(&ok);