Jump to content

Search the Community

Showing results for tags 'api'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • QRC General
    • General Discussion
    • Question and Answer
  • QRC Products
    • Wide Band Transcorder
    • Surveyor and ICS
    • QSAK (Phone Tools)
  • Group Boards

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



Found 3 results

  1. I have a few questions regarding certain use-cases of reading data from a QVRT file: If I need to read a chunk of data in the middle of the file (for example from 10th second to 20th), there is the moveToTimeInSeconds method that will move the iterator to the starting position. But how do I know when to stop? Do I access the raw data with getCurrentPacketData and read the timestamp with help of the QVRT format spec? Or do I get it from getCurrentMetadataAsJSON - if so, what is the structure of returned JSON?How do I know how much data (IQ) packets does the file contain? Do I iterate over the whole file incrementing some counter when I see an IQ packet (VRT_IF_DATA)?How do I actually read the data? Is the following code snippet correct:WbtVRTFileReadIterator it("qvrtfile.qvrt"); it.moveToTimeInSeconds(5); while(!it.isEndOfStream()) { if(it.getCurrentPacketType() == 1) // VRT_IF_DATA { const int size = it.getCurrentSizeBytes(); float *data = new float[size]; it.getCurrentIQDataFloat(data, size); foobar(data, size); delete[] data; } ++it; }
  2. Alexey

    Detect Record press

    The app has to perform a certain action when user presses "Record" button. How to detect when this button is clicked?
  3. Alexey

    Detect disk swap

    How can I detect that one of the data disks is removed or changed? I assume I need to use WbtStatus::setStatusChangedCallback to set a callback and wait for WbtStatusData to arrive. But then which members of WbtStatusData will indicate that a disk is removed or changed?