• Gerhard Sittig's avatar
    input/vcd: fixup VCD timestamp to sigrok samplenum mapping · f9bc17d4
    Gerhard Sittig authored
    When processing of large VCD input files was spread across multiple
    parse_contents() invocations, the resulting sigrok stream of sample data
    had gaps in them and total timing was off. For instance 74ms of input
    data were interpreted as spanning some 600ms or 300ms, depending on the
    number of channels in the input stream.
    
    Move the "previous timestamp" variable to the input module context. This
    eliminates the inappropriate gaps and fixes the translation of VCD file
    timestamps to sigrok sample numbers.
    
    This fixes bug #1075.
    f9bc17d4
Name
Last commit
Last update
bindings Loading commit data...
contrib Loading commit data...
include/libsigrok Loading commit data...
m4 Loading commit data...
src Loading commit data...
tests Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
Doxyfile Loading commit data...
Doxyfile_internal Loading commit data...
HACKING Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
README.devices Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
libsigrok.pc.in Loading commit data...