Mercurial > hg > vamp-plugin-sdk
comparison host/vamp-simple-host.cpp @ 298:5940dd0a399f
* Add NoShift option to PluginInputDomainAdapter as well, for completeness
* Minor & doc updates
author | cannam |
---|---|
date | Tue, 22 Sep 2009 13:01:56 +0000 |
parents | c97e70ed5abc |
children | 2ed36547e1bf |
comparison
equal
deleted
inserted
replaced
297:f3db7ba66fea | 298:5940dd0a399f |
---|---|
412 PluginInputDomainAdapter *ida = | 412 PluginInputDomainAdapter *ida = |
413 wrapper->getWrapper<PluginInputDomainAdapter>(); | 413 wrapper->getWrapper<PluginInputDomainAdapter>(); |
414 if (ida) adjustment = ida->getTimestampAdjustment(); | 414 if (ida) adjustment = ida->getTimestampAdjustment(); |
415 } | 415 } |
416 | 416 |
417 for (size_t i = 0; i < sfinfo.frames; i += stepSize) { | 417 for (sf_count_t i = 0; i < sfinfo.frames; i += stepSize) { |
418 | 418 |
419 int count; | 419 int count; |
420 | 420 |
421 if (sf_seek(sndfile, i, SEEK_SET) < 0) { | 421 if (sf_seek(sndfile, i, SEEK_SET) < 0) { |
422 cerr << "ERROR: sf_seek failed: " << sf_strerror(sndfile) << endl; | 422 cerr << "ERROR: sf_seek failed: " << sf_strerror(sndfile) << endl; |