feat: Intel BT firmware download, A2dp & Bluetooth audio progress
This commit is contained in:
@@ -26,12 +26,21 @@ namespace Drivers::USB::Bluetooth::A2dp {
|
||||
// Public API
|
||||
// =========================================================================
|
||||
|
||||
// Drive the A2DP source role after an ACL link is up: open the AVDTP
|
||||
// signaling channel, negotiate an SBC stream, and open the media transport
|
||||
// channel. Must be called from process context (it blocks on the AVDTP
|
||||
// handshakes), NOT from an event/interrupt path. Leaves the stream Open.
|
||||
bool StartSource(uint32_t timeoutMs = 5000);
|
||||
|
||||
// Called by L2CAP when an AVDTP channel becomes ready
|
||||
void OnChannelReady(uint16_t l2capCid);
|
||||
|
||||
// Process an AVDTP signaling packet
|
||||
void ProcessAvdtp(const uint8_t* data, uint16_t len);
|
||||
|
||||
// Process an SDP response packet (on the SDP L2CAP channel)
|
||||
void ProcessSdp(const uint8_t* data, uint16_t len);
|
||||
|
||||
// Configure a stream for the given PCM parameters
|
||||
bool ConfigureStream(uint32_t sampleRate, uint8_t channels, uint8_t bitsPerSample);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user