source 发射解决连接airpod无声的问题
adk/src/domains/audio/kymera/kymera.h | 17 ++++++++++++++
adk/src/domains/audio/kymera/kymera_a2dp_source.c | 24 +++++++++++++++++++-
adk/src/domains/bt/av/av.c | 12 ++++++++++
adk/src/domains/bt/av/av.h | 16 ++++++++-----
.../bt/profiles/a2dp_profile/a2dp_profile.c | 4 ++--
source_apps/usb_dongle/src/usb_dongle_a2dp.c | 26 +++++++++++++++++-----
6 files changed, 84 insertions(+), 15 deletions(-)
diff --git a/adk/src/domains/audio/kymera/kymera.h b/adk/src/domains/audio/kymera/kymera.h
index 668611b0..a95920b7 100755
--- a/adk/src/domains/audio/kymera/kymera.h
+++ b/adk/src/domains/audio/kymera/kymera.h
@@ -1083,6 +1083,23 @@ void Kymera_ScoPollCvcSend3MicModeOfOperation(void);
#endif /*INCLUDE_CVC_DEMO*/
#if defined(INCLUDE_A2DP_USB_SOURCE) || defined(INCLUDE_A2DP_ANALOG_SOURCE)
+
+/*! \brief Control the flow of media packets to the remote A2DP sink.
+
+ Newly created A2DP Source chains will default to disposing of all media
+ packets produced by the encoder, until streaming is explicitly enabled by
+ calling this function. This is to allow the start of the media stream to be
+ synchronised with the receipt of an AVDTP Start Response from the sink, to
+ ensure that we don't begin sending any media packets over the air until our
+ AVDTP Start Request has actually been acknowledged and accepted.
+
+ \param enable TRUE to stop disposing packets and start streaming them to the sink.