feat: Intel BT firmware download, A2dp & Bluetooth audio progress
This commit is contained in:
@@ -75,6 +75,13 @@ namespace Drivers::USB::Bluetooth::Sbc {
|
||||
// Initialize encoder with given parameters
|
||||
void Init(SbcEncoder* enc, uint32_t sampleRate, uint8_t channels, uint8_t bitsPerSample);
|
||||
|
||||
// Override the encoder's SBC parameters from the negotiated AVDTP capability
|
||||
// octets (octet0 = SamplingFreq[7:4]|ChannelMode[3:0], octet1 =
|
||||
// BlockLength[7:4]|Subbands[3:2]|Alloc[1:0]) + the chosen bitpool, so the
|
||||
// emitted frame headers match exactly what the sink agreed to. Call after
|
||||
// Init.
|
||||
void Configure(SbcEncoder* enc, uint8_t octet0, uint8_t octet1, uint8_t bitpool);
|
||||
|
||||
// Encode one SBC frame from PCM data
|
||||
// pcm: interleaved 16-bit signed PCM, length = blocks * subbands * channels
|
||||
// out: output buffer for SBC frame
|
||||
|
||||
Reference in New Issue
Block a user