Stream header structure.
typedef struct DSHeaderChunk { SUBS_CHUNK_COMMON long headerVersion; long streamBlockSize; long streamBuffers; long streamerDeltaPri; long dataAcqDeltaPri; long numSubsMsgs; long audioClockChan; long enableAudioChan; long preloadInstList[DS_HDR_MAX_PRELOADINST]; DSHeaderSubs subscriberList[DS_HDR_MAX_SUBSCRIBER]; } DSHeaderChunk, *DSHeaderChunkPtr;
The basic data buffer structure managed by the stream parser. Each buffer is obtained from the stream's data acquisition component. The first part of every physical data buffer must contain the header information described by this structure. The actual data component of a DSDataBuf
can be a different length for each stream. However, buffer sizes are fixed within a given stream.
SUBS_CHUNK_COMMON
From SubscriberUtils.hheaderVersion
Version of header data.streamBlockSize
Size of stream buffers in this stream.streamBuffers
Suggested number of stream buffers to use.streamerDeltaPri
Delta priority for streamer thread.dataAcqDeltaPri
Delta priority for data acquisition thread.numSubsMsgs
Number of subscriber messages to allocate.audioClockChan
Logical channel number of audio clock channel.enableAudioChan
Mask of audio channels to enable.preloadInstList[DS_HDR_MAX_PRELOADINST]
subscriberList[DS_HDR_MAX_SUBSCRIBER]
DSStreamHeader.h