]> sigrok.org Git - libsigrok.git/blobdiff - proto.h
output/bits: Support getting samplerate from meta packets.
[libsigrok.git] / proto.h
diff --git a/proto.h b/proto.h
index 16bc269b099bf787a442f95bf748f3677c5cf96e..123825022f55256ac9990fab06716c59bdf6ea84 100644 (file)
--- a/proto.h
+++ b/proto.h
@@ -57,13 +57,6 @@ SR_API int sr_dev_clear(const struct sr_dev_driver *driver);
 SR_API int sr_dev_open(struct sr_dev_inst *sdi);
 SR_API int sr_dev_close(struct sr_dev_inst *sdi);
 
-/*--- filter.c --------------------------------------------------------------*/
-
-SR_API int sr_filter_channels(unsigned int in_unitsize, unsigned int out_unitsize,
-                           const GArray *channel_array, const uint8_t *data_in,
-                           uint64_t length_in, uint8_t **data_out,
-                           uint64_t *length_out);
-
 /*--- hwdriver.c ------------------------------------------------------------*/
 
 SR_API struct sr_dev_driver **sr_driver_list(void);
@@ -130,6 +123,11 @@ SR_API struct sr_input_format **sr_input_list(void);
 /*--- output/output.c -------------------------------------------------------*/
 
 SR_API struct sr_output_format **sr_output_list(void);
+SR_API struct sr_output *sr_output_new(struct sr_output_format *of,
+               GHashTable *params, const struct sr_dev_inst *sdi);
+SR_API int sr_output_send(struct sr_output *o,
+               const struct sr_datafeed_packet *packet, GString **out);
+SR_API int sr_output_free(struct sr_output *o);
 
 /*--- strutil.c -------------------------------------------------------------*/