diff framework/SVFileReader.cpp @ 309:71050ffd0141 tonioni

sampleId -> clipId
author Chris Cannam
date Tue, 07 Jan 2014 15:52:47 +0000
parents 289d65722123
children f72d58d1ccb0
line wrap: on
line diff
--- a/framework/SVFileReader.cpp	Tue Jan 07 15:50:04 2014 +0000
+++ b/framework/SVFileReader.cpp	Tue Jan 07 15:52:47 2014 +0000
@@ -1271,8 +1271,8 @@
         float gain = attributes.value("gain").toFloat(&ok);
         if (ok) parameters->setPlayGain(gain);
         
-        QString sampleId = attributes.value("sampleId");
-        if (sampleId != "") parameters->setPlaySampleId(sampleId);
+        QString clipId = attributes.value("clipId");
+        if (clipId != "") parameters->setPlayClipId(clipId);
         
         m_currentPlayParameters = parameters;
 
@@ -1332,8 +1332,8 @@
 
     QString ident = attributes.value("identifier");
     if (ident == "sample_player") {
-        QString sampleId = attributes.value("program");
-        if (sampleId != "") m_currentPlayParameters->setPlaySampleId(sampleId);
+        QString clipId = attributes.value("program");
+        if (clipId != "") m_currentPlayParameters->setPlayClipId(clipId);
     }
 
     return true;