comparison rdf/RDFTransformFactory.cpp @ 1004:7d003fe48225

Write window type too
author Chris Cannam
date Wed, 15 Oct 2014 13:30:14 +0100
parents 274c4362bda6
children d094598f84bd
comparison
equal deleted inserted replaced
1003:274c4362bda6 1004:7d003fe48225
398 s << " vamp:step_size \"" << transform.getStepSize() << "\"^^xsd:int ; " << endl; 398 s << " vamp:step_size \"" << transform.getStepSize() << "\"^^xsd:int ; " << endl;
399 } 399 }
400 if (transform.getBlockSize() != 0) { 400 if (transform.getBlockSize() != 0) {
401 s << " vamp:block_size \"" << transform.getBlockSize() << "\"^^xsd:int ; " << endl; 401 s << " vamp:block_size \"" << transform.getBlockSize() << "\"^^xsd:int ; " << endl;
402 } 402 }
403 if (transform.getWindowType() != HanningWindow) {
404 s << " vamp:window_type \"" <<
405 Window<float>::getNameForType(transform.getWindowType()).c_str()
406 << "\" ; " << endl;
407 }
403 if (transform.getStartTime() != RealTime::zeroTime) { 408 if (transform.getStartTime() != RealTime::zeroTime) {
404 s << " vamp:start \"" << transform.getStartTime().toXsdDuration().c_str() << "\"^^xsd:duration ; " << endl; 409 s << " vamp:start \"" << transform.getStartTime().toXsdDuration().c_str() << "\"^^xsd:duration ; " << endl;
405 } 410 }
406 if (transform.getDuration() != RealTime::zeroTime) { 411 if (transform.getDuration() != RealTime::zeroTime) {
407 s << " vamp:duration \"" << transform.getDuration().toXsdDuration().c_str() << "\"^^xsd:duration ; " << endl; 412 s << " vamp:duration \"" << transform.getDuration().toXsdDuration().c_str() << "\"^^xsd:duration ; " << endl;