|
TB2026-YDS Firmware
|
Bluetooth A2DP audio sink: stream PCM to a connected speaker. More...
#include "audio_sink.h"Go to the source code of this file.
Functions | |
| const audio_sink_t * | sink_bluetooth_get (void) |
| Get the Bluetooth A2DP sink (PCM -> ring buffer -> A2DP source -> speaker). | |
Bluetooth A2DP audio sink: stream PCM to a connected speaker.
Adapts the push-style Audio sink interface interface to the A2DP source, which pulls PCM from the Bluetooth stack's own task. write() feeds an internal ring buffer; a pull callback drains it and the stack encodes SBC and paces the link. Requires the Bluetooth service service to have an established connection.
| const audio_sink_t * sink_bluetooth_get | ( | void | ) |
Get the Bluetooth A2DP sink (PCM -> ring buffer -> A2DP source -> speaker).