mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
bluez5: remove HFP codec id from transports
Make HFP codec id backend/codec internal detail. Remove spa_bt_transport::codec field which is now unused.
This commit is contained in:
parent
3f9fb8d664
commit
83f6d719b1
7 changed files with 24 additions and 32 deletions
|
|
@ -33,6 +33,7 @@
|
|||
|
||||
#include "defs.h"
|
||||
#include "media-codecs.h"
|
||||
#include "hfp-codec-caps.h"
|
||||
|
||||
#ifdef HAVE_LIBUSB
|
||||
#include <libusb.h>
|
||||
|
|
@ -281,7 +282,6 @@ static int rfcomm_new_transport(struct rfcomm *rfcomm, int codec_id)
|
|||
t->backend = &backend->this;
|
||||
t->n_channels = 1;
|
||||
t->channels[0] = SPA_AUDIO_CHANNEL_MONO;
|
||||
t->codec = codec_id;
|
||||
t->media_codec = codec;
|
||||
|
||||
td = t->user_data;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue