Bug 1453

Summary: libsrd should support streamed/packetized binary output
Product: libsigrokdecode Reporter: Soeren Apel <soeren>
Component: OtherAssignee: Nobody <nobody>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unreleased development snapshot   
Target Milestone: ---   
Hardware: All   
OS: All   

Description Soeren Apel 2019-12-12 09:36:10 CET
Currently, libsrd simply sends out binary data as provided by the PD. However, the PDs make use of this in different ways:

1) The I2S PD sends out a stream of bytes that resemble a WAV file, so each srd_proto_data_binary struct sent out is part of that one WAV file.

2) The hd44780 PD sends out PNG images, so each srd_proto_data_binary struct sent out is a separate PNG image.

For this reason, the libsrd API must provide information whether the PD sends out streamed or packetized binary data so that the application can handle it properly.