Bluetooth: A2DP: Stream End Point Structure

Added structure definition for stream end points
and the a2dp stream.

Change-Id: I6d0cc08611f5179397bea6200eb9244d7c1cc8d6
Signed-off-by: Piyush Itankar <piyush.t.itankar@intel.com>
This commit is contained in:
Piyush Itankar 2016-11-11 13:56:33 +05:30 committed by Johan Hedberg
commit 4a014f3e81
2 changed files with 13 additions and 6 deletions

View file

@ -14,6 +14,19 @@
extern "C" { extern "C" {
#endif #endif
#include <bluetooth/avdtp.h>
/** @brief Stream Structure */
struct bt_a2dp_stream {
/* TODO */
};
/** @brief Stream End Point */
struct bt_a2dp_endpoint {
/** Stream End Point Information */
struct bt_avdtp_seid_lsep info;
};
/** @brief A2DP structure */ /** @brief A2DP structure */
struct bt_a2dp; struct bt_a2dp;

View file

@ -8,11 +8,5 @@
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
enum bt_a2dp_stream_state {
A2DP_STREAM_IDLE,
A2DP_STREAM_STREAMING,
A2DP_STREAM_SUSPENDED
};
/* To be called when first SEP is being registered */ /* To be called when first SEP is being registered */
int bt_a2dp_init(void); int bt_a2dp_init(void);