Open-AVB AVTP Pipeline SDK  1.4
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Fields
media_q_pub_map_uncmp_audio_info_t Struct Reference

Contains detailed information of the audio format. More...

#include <openavb_map_uncmp_audio_pub.h>

Data Fields

avb_audio_rate_t audioRate
 Rate of audio.
 
avb_audio_type_t audioType
 Sample data type.
 
avb_audio_bit_depth_t audioBitDepth
 Bit depth of audio.
 
avb_audio_endian_t audioEndian
 Sample endianess.
 
avb_audio_channels_t audioChannels
 Number of channels.
 
avb_audio_sparse_mode_t sparseMode
 Sparse timestamping mode.
 
U32 framesPerPacket
 Number of frames for one data packet.
 
U32 packetSampleSizeBytes
 Size of one sample in bytes.
 
U32 packetFrameSizeBytes
 Size of one frame in bytes (framesPerPacket * audioChannels)
 
U32 packetAudioDataSizeBytes
 Size of packet (packetFrameSizeBytes * framesPerPacket)
 
U32 packingFactor
 Number of frames of audio to accept in one Media Queue Item.
 
U32 framesPerItem
 Number of frames per one Media Queue Item.
 
U32 itemSampleSizeBytes
 Item sample size in bytes (usually the same as packetSampleSizeBytes)
 
U32 itemFrameSizeBytes
 Media Queue Item Frame size in bytes.
 
U32 itemSize
 Media Queue Item size.
 
U32 sytInterval
 synchronization time interval
 
openavb_intf_rx_translate_cb_t intf_rx_translate_cb
 CB for interface modules to do translations in place before data is moved into the mediaQ on rx.
 
S32 presentationLatencyUSec
 Interface Module may set this presentation latency which listener mapping modules will use to adjust the presetnation time.
 

Detailed Description

Contains detailed information of the audio format.

Note
Interface module has to set during the RX and TX init callbacks:
  • audioRate,
  • audioType,
  • audioBitDepth,
  • audioEndian,
  • audioChannels,
  • sparseMode.
The rest of fields mapping module will set these during the RX and TX init callbacks. The interface module can use these during the RX and TX callbacks.

The documentation for this struct was generated from the following file: