mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-07 22:25:46 +01:00
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
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
||||
_accumulated_capture_offset = 0;
|
||||
if (dt == DataType::MIDI) {
|
||||
_midi_write_source.reset();
|
||||
|
||||
try {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue