Temporary change to make auto-return work with broken transport-logic
Revert this once transport state machine waits for de-click! This causes audible-clicks on stop, but prevents audible artifacts on LocateRoll with the current transport-control-logic.
This commit is contained in:
parent
66103be9f2
commit
e545e66911
@ -603,7 +603,7 @@ DiskReader::seek (samplepos_t sample, bool complete_refill)
|
|||||||
/* this should not happen. new transport should postponse seeking
|
/* this should not happen. new transport should postponse seeking
|
||||||
* until de-click is complete */
|
* until de-click is complete */
|
||||||
printf ("LOCATE WITHOUT DECLICK (gain=%f) at %ld seek-to %ld\n", _declick_amp.gain (), playback_sample, sample);
|
printf ("LOCATE WITHOUT DECLICK (gain=%f) at %ld seek-to %ld\n", _declick_amp.gain (), playback_sample, sample);
|
||||||
return -1;
|
//return -1;
|
||||||
}
|
}
|
||||||
if (sample == playback_sample && !complete_refill) {
|
if (sample == playback_sample && !complete_refill) {
|
||||||
return 0; // XXX double-check this
|
return 0; // XXX double-check this
|
||||||
@ -614,7 +614,7 @@ DiskReader::seek (samplepos_t sample, bool complete_refill)
|
|||||||
|
|
||||||
//sample = std::max ((samplecnt_t)0, sample -_session.worst_output_latency ());
|
//sample = std::max ((samplecnt_t)0, sample -_session.worst_output_latency ());
|
||||||
|
|
||||||
printf ("DiskReader::seek %s %ld -> %ld refill=%d\n", owner()->name().c_str(), playback_sample, sample, complete_refill);
|
//printf ("DiskReader::seek %s %ld -> %ld refill=%d\n", owner()->name().c_str(), playback_sample, sample, complete_refill);
|
||||||
// TODO: check if we can micro-locate
|
// TODO: check if we can micro-locate
|
||||||
|
|
||||||
for (n = 0, chan = c->begin(); chan != c->end(); ++chan, ++n) {
|
for (n = 0, chan = c->begin(); chan != c->end(); ++chan, ++n) {
|
||||||
|
Loading…
Reference in New Issue
Block a user