mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
bluetooth: split BT codec from A2DP SEP configuration api
Common API for all bluetooth codecs is now pa_bt_codec. API to negotiate and configure A2DP SEP over Bluez is now pa_a2dp_endpoint_conf. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/507>
This commit is contained in:
parent
c7c9ca22ab
commit
310e2877a0
12 changed files with 322 additions and 275 deletions
|
|
@ -18,7 +18,8 @@
|
|||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "a2dp-codec-api.h"
|
||||
#include <pulsecore/core.h>
|
||||
#include "bt-codec-api.h"
|
||||
|
||||
#include "bt-codec-msbc.h"
|
||||
#include <sbc/sbc.h>
|
||||
|
|
@ -300,7 +301,7 @@ static size_t decode_buffer(void *codec_info, const uint8_t *input_buffer, size_
|
|||
}
|
||||
|
||||
/* Modified SBC codec for HFP Wideband Speech*/
|
||||
const pa_a2dp_codec pa_bt_codec_msbc = {
|
||||
const pa_bt_codec pa_bt_codec_msbc = {
|
||||
.name = "mSBC",
|
||||
.description = "mSBC",
|
||||
.init = init,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue