mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
bluetooth: a2dp dual channel SBC XQ codec configurations
Desired SBC bitpool value is calculated from target bitrate limit. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/476>
This commit is contained in:
parent
ff2f16294f
commit
89082cbfaa
2 changed files with 329 additions and 32 deletions
|
|
@ -30,6 +30,9 @@
|
|||
#include "a2dp-codec-util.h"
|
||||
|
||||
extern const pa_a2dp_codec pa_a2dp_codec_sbc;
|
||||
extern const pa_a2dp_codec pa_a2dp_codec_sbc_xq_453;
|
||||
extern const pa_a2dp_codec pa_a2dp_codec_sbc_xq_512;
|
||||
extern const pa_a2dp_codec pa_a2dp_codec_sbc_xq_552;
|
||||
#ifdef HAVE_GSTAPTX
|
||||
extern const pa_a2dp_codec pa_a2dp_codec_aptx;
|
||||
extern const pa_a2dp_codec pa_a2dp_codec_aptx_hd;
|
||||
|
|
@ -53,6 +56,9 @@ static const pa_a2dp_codec *pa_a2dp_codecs[] = {
|
|||
&pa_a2dp_codec_aptx,
|
||||
#endif
|
||||
&pa_a2dp_codec_sbc,
|
||||
&pa_a2dp_codec_sbc_xq_453,
|
||||
&pa_a2dp_codec_sbc_xq_512,
|
||||
&pa_a2dp_codec_sbc_xq_552,
|
||||
};
|
||||
|
||||
unsigned int pa_bluetooth_a2dp_codec_count(void) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue