xref: /btstack/src/classic/a2dp.h (revision 7b02edb61006e84fa67675306218b4d8a66a4dd1)
1*7b02edb6SMatthias Ringwald /*
2*7b02edb6SMatthias Ringwald  * Copyright (C) 2016 BlueKitchen GmbH
3*7b02edb6SMatthias Ringwald  *
4*7b02edb6SMatthias Ringwald  * Redistribution and use in source and binary forms, with or without
5*7b02edb6SMatthias Ringwald  * modification, are permitted provided that the following conditions
6*7b02edb6SMatthias Ringwald  * are met:
7*7b02edb6SMatthias Ringwald  *
8*7b02edb6SMatthias Ringwald  * 1. Redistributions of source code must retain the above copyright
9*7b02edb6SMatthias Ringwald  *    notice, this list of conditions and the following disclaimer.
10*7b02edb6SMatthias Ringwald  * 2. Redistributions in binary form must reproduce the above copyright
11*7b02edb6SMatthias Ringwald  *    notice, this list of conditions and the following disclaimer in the
12*7b02edb6SMatthias Ringwald  *    documentation and/or other materials provided with the distribution.
13*7b02edb6SMatthias Ringwald  * 3. Neither the name of the copyright holders nor the names of
14*7b02edb6SMatthias Ringwald  *    contributors may be used to endorse or promote products derived
15*7b02edb6SMatthias Ringwald  *    from this software without specific prior written permission.
16*7b02edb6SMatthias Ringwald  * 4. Any redistribution, use, or modification is done solely for
17*7b02edb6SMatthias Ringwald  *    personal benefit and not for any commercial purpose or for
18*7b02edb6SMatthias Ringwald  *    monetary gain.
19*7b02edb6SMatthias Ringwald  *
20*7b02edb6SMatthias Ringwald  * THIS SOFTWARE IS PROVIDED BY BLUEKITCHEN GMBH AND CONTRIBUTORS
21*7b02edb6SMatthias Ringwald  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22*7b02edb6SMatthias Ringwald  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
23*7b02edb6SMatthias Ringwald  * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BLUEKITCHEN
24*7b02edb6SMatthias Ringwald  * GMBH OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
25*7b02edb6SMatthias Ringwald  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
26*7b02edb6SMatthias Ringwald  * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
27*7b02edb6SMatthias Ringwald  * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
28*7b02edb6SMatthias Ringwald  * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
29*7b02edb6SMatthias Ringwald  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
30*7b02edb6SMatthias Ringwald  * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31*7b02edb6SMatthias Ringwald  * SUCH DAMAGE.
32*7b02edb6SMatthias Ringwald  *
33*7b02edb6SMatthias Ringwald  * Please inquire about commercial licensing options at
34*7b02edb6SMatthias Ringwald  * [email protected]
35*7b02edb6SMatthias Ringwald  *
36*7b02edb6SMatthias Ringwald  */
37*7b02edb6SMatthias Ringwald 
38*7b02edb6SMatthias Ringwald /**
39*7b02edb6SMatthias Ringwald  * Audio/Video Distribution Transport Protocol (A2DP)
40*7b02edb6SMatthias Ringwald  *
41*7b02edb6SMatthias Ringwald  * Code shared by A2DP Sink and A2DP Sourece, mainly automatic stream endpoitn configuration
42*7b02edb6SMatthias Ringwald  */
43*7b02edb6SMatthias Ringwald 
44*7b02edb6SMatthias Ringwald #ifndef A2DP_H
45*7b02edb6SMatthias Ringwald #define A2DP_H
46*7b02edb6SMatthias Ringwald 
47*7b02edb6SMatthias Ringwald #include <stdint.h>
48*7b02edb6SMatthias Ringwald 
49*7b02edb6SMatthias Ringwald #if defined __cplusplus
50*7b02edb6SMatthias Ringwald extern "C" {
51*7b02edb6SMatthias Ringwald #endif
52*7b02edb6SMatthias Ringwald 
53*7b02edb6SMatthias Ringwald #if defined __cplusplus
54*7b02edb6SMatthias Ringwald }
55*7b02edb6SMatthias Ringwald #endif
56*7b02edb6SMatthias Ringwald 
57*7b02edb6SMatthias Ringwald #endif // A2DP_H
58