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:
parent
785415c8ad
commit
4a014f3e81
2 changed files with 13 additions and 6 deletions
|
@ -14,6 +14,19 @@
|
|||
extern "C" {
|
||||
#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 */
|
||||
struct bt_a2dp;
|
||||
|
||||
|
|
|
@ -8,11 +8,5 @@
|
|||
* 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 */
|
||||
int bt_a2dp_init(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue