diff options
author | Gareth McMullin <gareth@blacksphere.co.nz> | 2011-11-28 21:52:35 +1300 |
---|---|---|
committer | Gareth McMullin <gareth@blacksphere.co.nz> | 2011-11-28 21:52:35 +1300 |
commit | 73e542a4611411411a6df4843d62576e25ddeb7c (patch) | |
tree | c14b4b1a933ae9e559692db5bff44a0310157a58 /sigrokdecode.h | |
parent | 4e338c00bda2e81210bf7569f29b77999a1d2bfb (diff) | |
download | libsigrokdecode-73e542a4611411411a6df4843d62576e25ddeb7c.tar.gz libsigrokdecode-73e542a4611411411a6df4843d62576e25ddeb7c.zip |
srd: Pass samplerate to decoder in metadata.
Diffstat (limited to 'sigrokdecode.h')
-rw-r--r-- | sigrokdecode.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sigrokdecode.h b/sigrokdecode.h index abc3baa..27f2734 100644 --- a/sigrokdecode.h +++ b/sigrokdecode.h @@ -109,7 +109,8 @@ struct srd_decoder_instance *srd_instance_new(const char *id); int srd_instance_set_probe(struct srd_decoder_instance *di, const char *probename, int num); int srd_instance_start(struct srd_decoder_instance *di, - const char *driver, int unitsize, uint64_t starttime); + const char *driver, int unitsize, uint64_t starttime, + uint64_t samplerate); int srd_exit(void); #ifdef __cplusplus |