feat: Intel BT firmware download, A2dp & Bluetooth audio progress

This commit is contained in:
2026-06-03 18:05:17 +02:00
parent 52b01a7d73
commit c119a70d5b
22 changed files with 6452 additions and 273 deletions
+7
View File
@@ -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