X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fstoresession.cpp;h=52a6be34c490fe27cb9bcfb3cf263c5a47b530df;hb=9cc264b4361acc503f156e90139c15cd6c324258;hp=55b199a3380bfee054f1152000c7c87c380b55c9;hpb=038a14278afb24e10cd59991c2cafd97264fd3a5;p=pulseview.git diff --git a/pv/storesession.cpp b/pv/storesession.cpp index 55b199a..52a6be3 100644 --- a/pv/storesession.cpp +++ b/pv/storesession.cpp @@ -69,7 +69,7 @@ using sigrok::OutputFlag; namespace pv { -const size_t StoreSession::BlockSize = 1024 * 1024; +const size_t StoreSession::BlockSize = 10 * 1024 * 1024; StoreSession::StoreSession(const std::string &file_name, const shared_ptr &output_format, @@ -258,8 +258,6 @@ void StoreSession::store_proc(vector< shared_ptr > achannel_li const float *adata = asegment->get_samples(start_sample_, start_sample_ + packet_len); - // The srzip format currently only supports packets with one - // analog channel. See zip_append_analog() in srzip.c auto analog = context->create_analog_packet( vector >{achannel}, (float *)adata, packet_len,