# HG changeset patch # User Chris Cannam # Date 1476273089 -3600 # Node ID 1b7c11bc5a88940b6f7fa86845387f682bb14a10 # Parent db9a6ab618bc7231f03d9a18160c09e1b650713c Debug out diff -r db9a6ab618bc -r 1b7c11bc5a88 vamp-client/client.cpp --- a/vamp-client/client.cpp Wed Oct 12 11:59:57 2016 +0100 +++ b/vamp-client/client.cpp Wed Oct 12 12:51:29 2016 +0100 @@ -79,6 +79,8 @@ ReqId id = getId(); builder.getId().setNumber(id); + cerr << "id = " << id << endl; + auto arr = messageToFlatArray(message); m_process->write(arr.asChars().begin(), arr.asChars().size()); @@ -283,6 +285,13 @@ } } + cerr << "buffer = "; + for (int i = 0; i < buffer.size(); ++i) { + if (i % 16 == 0) cerr << "\n"; + cerr << int(buffer[i]) << " "; + } + cerr << "\n"; + return buffer; }