From: Uwe Hermann Date: Tue, 1 Apr 2014 20:41:02 +0000 (+0200) Subject: chronovu-la: Document that streaming is not possible. X-Git-Tag: libsigrok-0.3.0~95 X-Git-Url: https://sigrok.org/gitweb/?a=commitdiff_plain;ds=sidebyside;h=b0efc84e12c97afc59ae53225a4e59c2fa9459ef;p=libsigrok.git chronovu-la: Document that streaming is not possible. This closes bug #261. --- diff --git a/hardware/chronovu-la/api.c b/hardware/chronovu-la/api.c index d783f4fe..228d632a 100644 --- a/hardware/chronovu-la/api.c +++ b/hardware/chronovu-la/api.c @@ -410,7 +410,14 @@ static int receive_data(int fd, int revents, void *cb_data) sr_dbg("Sampling finished, sending data to session bus now."); - /* All data was received and demangled, send it to the session bus. */ + /* + * All data was received and demangled, send it to the session bus. + * + * Note: Due to the method how data is spread across the 8MByte of + * SDRAM, we can _not_ send it to the session bus in a streaming + * manner while we receive it. We have to receive and de-mangle the + * full 8MByte first, only then the whole buffer contains valid data. + */ for (i = 0; i < NUM_BLOCKS; i++) cv_send_block_to_session_bus(devc, i);