Open-AVB AVTP Pipeline SDK  1.4
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
openavb_audio_pub.h
Go to the documentation of this file.
1 /*************************************************************************************************************
2 Copyright (c) 2012-2015, Symphony Teleca Corporation, a Harman International Industries, Incorporated company
3 All rights reserved.
4 
5 Redistribution and use in source and binary forms, with or without
6 modification, are permitted provided that the following conditions are met:
7 
8 1. Redistributions of source code must retain the above copyright notice, this
9  list of conditions and the following disclaimer.
10 2. Redistributions in binary form must reproduce the above copyright notice,
11  this list of conditions and the following disclaimer in the documentation
12  and/or other materials provided with the distribution.
13 
14 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS LISTED "AS IS" AND
15 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
16 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
17 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS LISTED BE LIABLE FOR
18 ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
19 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
20 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
21 ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
23 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 
25 Attributions: The inih library portion of the source code is licensed from
26 Brush Technology and Ben Hoyt - Copyright (c) 2009, Brush Technology and Copyright (c) 2009, Ben Hoyt.
27 Complete license and copyright information can be found at
28 https://github.com/benhoyt/inih/commit/74d2ca064fb293bc60a77b0bd068075b293cf175.
29 *************************************************************************************************************/
30 
31 /*
32 * MODULE SUMMARY : General Audio Types Public
33 */
34 
35 #ifndef AVB_AUDIO_PUB_H
36 #define AVB_AUDIO_PUB_H 1
37 
44 typedef enum {
70 
76 typedef enum {
86 
92 typedef enum {
100 
106 typedef enum {
124 
127 typedef enum {
145 
148 typedef enum {
156 
157 #endif // AVB_AUDIO_PUB_H
8000
Definition: openavb_audio_pub.h:46
Unspecified.
Definition: openavb_audio_pub.h:94
5 channels
Definition: openavb_audio_pub.h:137
20 bit
Definition: openavb_audio_pub.h:114
64000
Definition: openavb_audio_pub.h:60
48000
Definition: openavb_audio_pub.h:58
8 bit
Definition: openavb_audio_pub.h:110
avb_audio_channels_t
Number of channels.
Definition: openavb_audio_pub.h:127
Data type undefined.
Definition: openavb_audio_pub.h:78
Media Clock Recovery done by using AVTP timestamps.
Definition: openavb_audio_pub.h:152
6 channels
Definition: openavb_audio_pub.h:139
Media Clock Recovery done by using 1722(a), Clock Reference Stream (CRS)
Definition: openavb_audio_pub.h:154
Data type unsigned int.
Definition: openavb_audio_pub.h:82
2 channels
Definition: openavb_audio_pub.h:131
avb_audio_endian_t
Defines endianess of data.
Definition: openavb_audio_pub.h:92
32000
Definition: openavb_audio_pub.h:54
Big endian.
Definition: openavb_audio_pub.h:98
8 channels
Definition: openavb_audio_pub.h:143
96000
Definition: openavb_audio_pub.h:64
Data type int.
Definition: openavb_audio_pub.h:80
22050
Definition: openavb_audio_pub.h:52
16 bit
Definition: openavb_audio_pub.h:112
48 bit
Definition: openavb_audio_pub.h:120
Little endian.
Definition: openavb_audio_pub.h:96
avb_audio_bit_depth_t
Bit depth of audio.
Definition: openavb_audio_pub.h:106
avb_audio_rate_t
Audio rate.
Definition: openavb_audio_pub.h:44
44100
Definition: openavb_audio_pub.h:56
24 bit
Definition: openavb_audio_pub.h:116
No Media Clock Recovery is Done, this is the default.
Definition: openavb_audio_pub.h:150
1 bit
Definition: openavb_audio_pub.h:108
7 channels
Definition: openavb_audio_pub.h:141
avb_audio_type_t
Defines what type is data.
Definition: openavb_audio_pub.h:76
Data type float.
Definition: openavb_audio_pub.h:84
11025
Definition: openavb_audio_pub.h:48
avb_audio_mcr_t
Media Clock Recovery.
Definition: openavb_audio_pub.h:148
4 channels
Definition: openavb_audio_pub.h:135
192000
Definition: openavb_audio_pub.h:68
64 bit
Definition: openavb_audio_pub.h:122
176400
Definition: openavb_audio_pub.h:66
3 channels
Definition: openavb_audio_pub.h:133
16000
Definition: openavb_audio_pub.h:50
32 bit
Definition: openavb_audio_pub.h:118
1 channel
Definition: openavb_audio_pub.h:129
88200
Definition: openavb_audio_pub.h:62