1*b442c9e6SMilanka Ringwald /* 2*b442c9e6SMilanka Ringwald * Copyright (C) 2016 BlueKitchen GmbH 3*b442c9e6SMilanka Ringwald * 4*b442c9e6SMilanka Ringwald * Redistribution and use in source and binary forms, with or without 5*b442c9e6SMilanka Ringwald * modification, are permitted provided that the following conditions 6*b442c9e6SMilanka Ringwald * are met: 7*b442c9e6SMilanka Ringwald * 8*b442c9e6SMilanka Ringwald * 1. Redistributions of source code must retain the above copyright 9*b442c9e6SMilanka Ringwald * notice, this list of conditions and the following disclaimer. 10*b442c9e6SMilanka Ringwald * 2. Redistributions in binary form must reproduce the above copyright 11*b442c9e6SMilanka Ringwald * notice, this list of conditions and the following disclaimer in the 12*b442c9e6SMilanka Ringwald * documentation and/or other materials provided with the distribution. 13*b442c9e6SMilanka Ringwald * 3. Neither the name of the copyright holders nor the names of 14*b442c9e6SMilanka Ringwald * contributors may be used to endorse or promote products derived 15*b442c9e6SMilanka Ringwald * from this software without specific prior written permission. 16*b442c9e6SMilanka Ringwald * 4. Any redistribution, use, or modification is done solely for 17*b442c9e6SMilanka Ringwald * personal benefit and not for any commercial purpose or for 18*b442c9e6SMilanka Ringwald * monetary gain. 19*b442c9e6SMilanka Ringwald * 20*b442c9e6SMilanka Ringwald * THIS SOFTWARE IS PROVIDED BY BLUEKITCHEN GMBH AND CONTRIBUTORS 21*b442c9e6SMilanka Ringwald * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 22*b442c9e6SMilanka Ringwald * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 23*b442c9e6SMilanka Ringwald * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL MATTHIAS 24*b442c9e6SMilanka Ringwald * RINGWALD OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 25*b442c9e6SMilanka Ringwald * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 26*b442c9e6SMilanka Ringwald * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS 27*b442c9e6SMilanka Ringwald * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 28*b442c9e6SMilanka Ringwald * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 29*b442c9e6SMilanka Ringwald * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF 30*b442c9e6SMilanka Ringwald * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31*b442c9e6SMilanka Ringwald * SUCH DAMAGE. 32*b442c9e6SMilanka Ringwald * 33*b442c9e6SMilanka Ringwald * Please inquire about commercial licensing options at 34*b442c9e6SMilanka Ringwald * [email protected] 35*b442c9e6SMilanka Ringwald * 36*b442c9e6SMilanka Ringwald */ 37*b442c9e6SMilanka Ringwald 38*b442c9e6SMilanka Ringwald /* 39*b442c9e6SMilanka Ringwald * a2dp_sink.h 40*b442c9e6SMilanka Ringwald * 41*b442c9e6SMilanka Ringwald * Advanced Audio Distribution Transport Profile (A2DP) Sink 42*b442c9e6SMilanka Ringwald * 43*b442c9e6SMilanka Ringwald * A2DP Sink is a device that accepts streamed media data. 44*b442c9e6SMilanka Ringwald */ 45*b442c9e6SMilanka Ringwald 46*b442c9e6SMilanka Ringwald #ifndef __A2DP_SINK_H 47*b442c9e6SMilanka Ringwald #define __A2DP_SINK_H 48*b442c9e6SMilanka Ringwald 49*b442c9e6SMilanka Ringwald #include <stdint.h> 50*b442c9e6SMilanka Ringwald 51*b442c9e6SMilanka Ringwald #if defined __cplusplus 52*b442c9e6SMilanka Ringwald extern "C" { 53*b442c9e6SMilanka Ringwald #endif 54*b442c9e6SMilanka Ringwald 55*b442c9e6SMilanka Ringwald /* API_START */ 56*b442c9e6SMilanka Ringwald 57*b442c9e6SMilanka Ringwald /** 58*b442c9e6SMilanka Ringwald * @brief A2DP Sink service record. 59*b442c9e6SMilanka Ringwald * @param service 60*b442c9e6SMilanka Ringwald * @param service_record_handle 61*b442c9e6SMilanka Ringwald * @param supported_features 16-bit bitmap, see AVDTP_SINK_SF_* values in avdtp.h 62*b442c9e6SMilanka Ringwald * @param service_name 63*b442c9e6SMilanka Ringwald * @param service_provider_name 64*b442c9e6SMilanka Ringwald */ 65*b442c9e6SMilanka Ringwald void a2dp_sink_create_sdp_record(uint8_t * service, uint32_t service_record_handle, uint16_t supported_features, const char * service_name, const char * service_provider_name); 66*b442c9e6SMilanka Ringwald 67*b442c9e6SMilanka Ringwald /* API_END */ 68*b442c9e6SMilanka Ringwald 69*b442c9e6SMilanka Ringwald #if defined __cplusplus 70*b442c9e6SMilanka Ringwald } 71*b442c9e6SMilanka Ringwald #endif 72*b442c9e6SMilanka Ringwald 73*b442c9e6SMilanka Ringwald #endif // __A2DP_SINK_H