DecodeSignal: Rework samplerate handling
authorSoeren Apel <soeren@apelpie.net>
Wed, 17 May 2017 06:31:07 +0000 (08:31 +0200)
committerUwe Hermann <uwe@hermann-uwe.de>
Wed, 5 Jul 2017 22:37:08 +0000 (00:37 +0200)
commita3ebd5561086f4fef6570b3ab5be0a5592724731
treede7563e13b03bc91e940296c9153c9d3deef63a1
parenta8a9222df63fef3805dd423aebae0b33f4a9ec6c
DecodeSignal: Rework samplerate handling

Before, running an acquisition, then changing the
samplerate and then running the acquisition again
would result in the wrong (i.e. previous) samplerate
to be used for SRD. This patch fixes this.
pv/data/decodesignal.cpp
pv/data/decodesignal.hpp