Zero capture-offset regardless of data-type
_accumulated_capture_offset is only used for MIDI, however this is helpful when debugging. Previously audio kept accumulating the offset indefinitely.
This commit is contained in:
parent
33f71677eb
commit
7c8072b0b7
@ -1082,9 +1082,9 @@ DiskWriter::reset_write_sources (bool mark_write_complete, bool /*force*/)
|
||||
int
|
||||
DiskWriter::use_new_write_source (DataType dt, uint32_t n)
|
||||
{
|
||||
if (dt == DataType::MIDI) {
|
||||
|
||||
_accumulated_capture_offset = 0;
|
||||
|
||||
if (dt == DataType::MIDI) {
|
||||
_midi_write_source.reset();
|
||||
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user