diff options
-rw-r--r-- | controller.c | 4 | ||||
-rw-r--r-- | sigrokdecode.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/controller.c b/controller.c index 5979c34..4ba4de1 100644 --- a/controller.c +++ b/controller.c @@ -740,7 +740,7 @@ SRD_API int srd_session_start(int num_probes, int unitsize, uint64_t samplerate) } /** - * Feed a chunk of logic sample data to a running decoder session. + * Send a chunk of logic sample data to a running decoder session. * * @param start_samplenum The sample number of the first sample in this chunk. * @param inbuf Pointer to sample data. @@ -748,7 +748,7 @@ SRD_API int srd_session_start(int num_probes, int unitsize, uint64_t samplerate) * * @return SRD_OK upon success, a (negative) error code otherwise. */ -SRD_API int srd_session_feed(uint64_t start_samplenum, const uint8_t *inbuf, +SRD_API int srd_session_send(uint64_t start_samplenum, const uint8_t *inbuf, uint64_t inbuflen) { GSList *d; diff --git a/sigrokdecode.h b/sigrokdecode.h index 7e0b550..3f2d3c9 100644 --- a/sigrokdecode.h +++ b/sigrokdecode.h @@ -224,7 +224,7 @@ SRD_API int srd_inst_stack(struct srd_decoder_inst *di_from, SRD_API struct srd_decoder_inst *srd_inst_find_by_id(const char *inst_id); SRD_API int srd_session_start(int num_probes, int unitsize, uint64_t samplerate); -SRD_API int srd_session_feed(uint64_t start_samplenum, const uint8_t *inbuf, +SRD_API int srd_session_send(uint64_t start_samplenum, const uint8_t *inbuf, uint64_t inbuflen); SRD_API int srd_register_callback(int output_type, srd_pd_output_callback_t cb, void *cb_data); |