Open-AVB AVTP Pipeline SDK  1.4
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Enumerations
openavb_audio_pub.h File Reference

General audio types. More...

Go to the source code of this file.

Enumerations

enum  avb_audio_rate_t {
  AVB_AUDIO_RATE_8KHZ = 8000, AVB_AUDIO_RATE_11_025KHZ = 11025, AVB_AUDIO_RATE_16KHZ = 16000, AVB_AUDIO_RATE_22_05KHZ = 22050,
  AVB_AUDIO_RATE_32KHZ = 32000, AVB_AUDIO_RATE_44_1KHZ = 44100, AVB_AUDIO_RATE_48KHZ = 48000, AVB_AUDIO_RATE_64KHZ = 64000,
  AVB_AUDIO_RATE_88_2KHZ = 88200, AVB_AUDIO_RATE_96KHZ = 96000, AVB_AUDIO_RATE_176_4KHZ = 176400, AVB_AUDIO_RATE_192KHZ = 192000
}
 Audio rate. More...
 
enum  avb_audio_type_t { AVB_AUDIO_TYPE_UNSPEC, AVB_AUDIO_TYPE_INT, AVB_AUDIO_TYPE_UINT, AVB_AUDIO_TYPE_FLOAT }
 Defines what type is data. More...
 
enum  avb_audio_endian_t { AVB_AUDIO_ENDIAN_UNSPEC, AVB_AUDIO_ENDIAN_LITTLE, AVB_AUDIO_ENDIAN_BIG }
 Defines endianess of data. More...
 
enum  avb_audio_bit_depth_t {
  AVB_AUDIO_BIT_DEPTH_1BIT = 1, AVB_AUDIO_BIT_DEPTH_8BIT = 8, AVB_AUDIO_BIT_DEPTH_16BIT = 16, AVB_AUDIO_BIT_DEPTH_20BIT = 20,
  AVB_AUDIO_BIT_DEPTH_24BIT = 24, AVB_AUDIO_BIT_DEPTH_32BIT = 32, AVB_AUDIO_BIT_DEPTH_48BIT = 48, AVB_AUDIO_BIT_DEPTH_64BIT = 64
}
 Bit depth of audio. More...
 
enum  avb_audio_channels_t {
  AVB_AUDIO_CHANNELS_1 = 1, AVB_AUDIO_CHANNELS_2 = 2, AVB_AUDIO_CHANNELS_3 = 3, AVB_AUDIO_CHANNELS_4 = 4,
  AVB_AUDIO_CHANNELS_5 = 5, AVB_AUDIO_CHANNELS_6 = 6, AVB_AUDIO_CHANNELS_7 = 7, AVB_AUDIO_CHANNELS_8 = 8
}
 Number of channels. More...
 
enum  avb_audio_mcr_t { AVB_MCR_NONE, AVB_MCR_AVTP_TIMESTAMP, AVB_MCR_CRS }
 Media Clock Recovery. More...
 

Detailed Description

General audio types.

Enumeration Type Documentation

Audio rate.

Enumerator
AVB_AUDIO_RATE_8KHZ 

8000

AVB_AUDIO_RATE_11_025KHZ 

11025

AVB_AUDIO_RATE_16KHZ 

16000

AVB_AUDIO_RATE_22_05KHZ 

22050

AVB_AUDIO_RATE_32KHZ 

32000

AVB_AUDIO_RATE_44_1KHZ 

44100

AVB_AUDIO_RATE_48KHZ 

48000

AVB_AUDIO_RATE_64KHZ 

64000

AVB_AUDIO_RATE_88_2KHZ 

88200

AVB_AUDIO_RATE_96KHZ 

96000

AVB_AUDIO_RATE_176_4KHZ 

176400

AVB_AUDIO_RATE_192KHZ 

192000

Defines what type is data.

Information is needed together with endianes and bit depth to configure the sample format correctly

Enumerator
AVB_AUDIO_TYPE_UNSPEC 

Data type undefined.

AVB_AUDIO_TYPE_INT 

Data type int.

AVB_AUDIO_TYPE_UINT 

Data type unsigned int.

AVB_AUDIO_TYPE_FLOAT 

Data type float.

Defines endianess of data.

Information is needed together with data type and bit depth to configure the sample format correctly

Enumerator
AVB_AUDIO_ENDIAN_UNSPEC 

Unspecified.

AVB_AUDIO_ENDIAN_LITTLE 

Little endian.

AVB_AUDIO_ENDIAN_BIG 

Big endian.

Bit depth of audio.

Information is needed together with endianes and data type to configure the sample format correctly

Enumerator
AVB_AUDIO_BIT_DEPTH_1BIT 

1 bit

AVB_AUDIO_BIT_DEPTH_8BIT 

8 bit

AVB_AUDIO_BIT_DEPTH_16BIT 

16 bit

AVB_AUDIO_BIT_DEPTH_20BIT 

20 bit

AVB_AUDIO_BIT_DEPTH_24BIT 

24 bit

AVB_AUDIO_BIT_DEPTH_32BIT 

32 bit

AVB_AUDIO_BIT_DEPTH_48BIT 

48 bit

AVB_AUDIO_BIT_DEPTH_64BIT 

64 bit

Number of channels.

Enumerator
AVB_AUDIO_CHANNELS_1 

1 channel

AVB_AUDIO_CHANNELS_2 

2 channels

AVB_AUDIO_CHANNELS_3 

3 channels

AVB_AUDIO_CHANNELS_4 

4 channels

AVB_AUDIO_CHANNELS_5 

5 channels

AVB_AUDIO_CHANNELS_6 

6 channels

AVB_AUDIO_CHANNELS_7 

7 channels

AVB_AUDIO_CHANNELS_8 

8 channels

Media Clock Recovery.

Enumerator
AVB_MCR_NONE 

No Media Clock Recovery is Done, this is the default.

AVB_MCR_AVTP_TIMESTAMP 

Media Clock Recovery done by using AVTP timestamps.

AVB_MCR_CRS 

Media Clock Recovery done by using 1722(a), Clock Reference Stream (CRS)