CDI SDK
SDK for transporting chunks of data reliably and with low latency using a polled mode network driver.
|
A structure for storing all connection info related to a specific stream, such as data buffer pointers and file handles. More...
#include <test_control.h>
Data Fields | |
CdiFileID | user_data_read_file_handle |
File handle for file for reading payload data. | |
CdiFileID | user_data_write_file_handle |
File handle for file to write received payload data to. | |
int | next_payload_size |
void * | rx_expected_data_buffer_ptr |
Rx expected payload data buffer pointer. | |
int | payload_buffer_size |
Payload buffer size in bytes (rounded-up from payload data size to allow for pattern creation). | |
int | tx_pool_buffer_size |
Tx payload memory pool buffer size in bytes required to hold all Tx payload buffers. | |
CdiPoolHandle | tx_pool_handle |
Handle of memory pool used to hold Tx payloads. | |
int | config_payload_skip_count |
int | payload_count |
The current payload count for this stream. | |
CdiPtpTimestamp | connection_start_time |
CdiAvmBaselineConfig | last_baseline_config |
For receiver, the last AVM baseline configuration received. Used to log to output when AVM changes. | |
CdiPtpTimestamp | last_ptp_timestamp |
Last PTP origination timestamp. | |
uint64_t | total_audio_samples |
Total number of audio samples processed. | |
A structure for storing all connection info related to a specific stream, such as data buffer pointers and file handles.
int TestConnectionStreamInfo::config_payload_skip_count |
The current number of payloads where config data has not been sent. Resets to 0 when matches test_settings->config_skip.
CdiPtpTimestamp TestConnectionStreamInfo::connection_start_time |
Start time for the connection. For TX this is the time of the first payload sent. For RX it is the time from the PTP timestamp of the first payload received.
int TestConnectionStreamInfo::next_payload_size |
When riff_file=true then next_payload_size will be the size of the next payload to send. Otherwise next_payload_size is always equal to stream_settings->payload_size.