a2dp_sink.h (fe5a6c4e963207a75641439241c8337880fdfb14) | a2dp_sink.h (a95794cee1b77dd0c805e8606c008222803b81c5) |
---|---|
1/* 2 * Copyright (C) 2016 BlueKitchen GmbH 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 8 * 1. Redistributions of source code must retain the above copyright --- 114 unchanged lines hidden (view full) --- 123 124/** 125 * @brief Release stream and disconnect from remote. 126 * @param a2dp_cid A2DP channel identifyer. 127 */ 128void a2dp_sink_disconnect(uint16_t a2dp_cid); 129 130/** | 1/* 2 * Copyright (C) 2016 BlueKitchen GmbH 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 8 * 1. Redistributions of source code must retain the above copyright --- 114 unchanged lines hidden (view full) --- 123 124/** 125 * @brief Release stream and disconnect from remote. 126 * @param a2dp_cid A2DP channel identifyer. 127 */ 128void a2dp_sink_disconnect(uint16_t a2dp_cid); 129 130/** |
131 * @brief Register media configuration validator. Can reject insuitable configuration or report stream endpoint as currently busy 132 * @note validator has to return AVDTP error codes like: AVDTP_ERROR_CODE_SEP_IN_USE or AVDTP_ERROR_CODE_UNSUPPORTED_CONFIGURATION 133 * the callback receives the media configuration in the same format as the existing A2dP_SUBEVENT_SIGNALING_MEDIA_CODEC_SBC_CONFIGURATION 134 * and similar 135 * @param callback 136 */ 137void a2dp_sink_register_media_config_validator(uint8_t (*callback)(const avdtp_stream_endpoint_t * stream_endpoint, const uint8_t * event, uint16_t size)); 138 139/** |
|
131 * @brief De-Init A2DP Sink device. 132 */ 133void a2dp_sink_deinit(void); 134 135/* API_END */ 136 137 138#if defined __cplusplus 139} 140#endif 141 142#endif // A2DP_SINK_H | 140 * @brief De-Init A2DP Sink device. 141 */ 142void a2dp_sink_deinit(void); 143 144/* API_END */ 145 146 147#if defined __cplusplus 148} 149#endif 150 151#endif // A2DP_SINK_H |