]> sigrok.org Git - pulseview.git/commit
DecodeSignal: Provide conversion data container sooner
authorSoeren Apel <redacted>
Tue, 23 May 2017 16:41:20 +0000 (18:41 +0200)
committerUwe Hermann <redacted>
Wed, 5 Jul 2017 22:37:08 +0000 (00:37 +0200)
commitccccb91439b9de48a7bcc76c6fa45d1dc166a297
tree16e7f8c63cfdb6815bb715f8f7531c66a7eabed2
parent3fbddf7f0e83fe72b8f0e0e69faf05579c096f84
DecodeSignal: Provide conversion data container sooner

Before, the converted_data_ container was only created
once we had sample data coming in. This meant that it
wasn't possible to assign a converted signal to a decoder.

With this change, the data container is created even
when there is no data to fill it with, allowing logic_data()
to return a valid result and in turn allowing the user
to assign the signal to a decoder.
pv/data/signalbase.cpp
pv/data/signalbase.hpp