mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-11 13:30:02 -05:00
bluetooth: show negotiated HFP codec
While codec switching for HFP is not implemented, show current codec via messaging api. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/507>
This commit is contained in:
parent
f0d32e9454
commit
ddad63a23c
3 changed files with 53 additions and 18 deletions
|
|
@ -37,6 +37,12 @@ bool pa_bluetooth_a2dp_codec_is_available(const pa_a2dp_codec_id *id, bool is_a2
|
|||
/* Initialise GStreamer */
|
||||
void pa_bluetooth_a2dp_codec_gst_init(void);
|
||||
|
||||
/* Get number of supported HSP/HFP codecs */
|
||||
unsigned int pa_bluetooth_hf_codec_count(void);
|
||||
|
||||
/* Get i-th codec. Codec with higher number has higher priority */
|
||||
const pa_a2dp_codec *pa_bluetooth_hf_codec_iter(unsigned int i);
|
||||
|
||||
/* Get HSP/HFP codec by name */
|
||||
const pa_a2dp_codec *pa_bluetooth_get_hf_codec(const char *name);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue