mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -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
16
spa/plugins/bluez5/hfp-codec-caps.h
Normal file
16
spa/plugins/bluez5/hfp-codec-caps.h
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
/* Spa HFP codec API */
|
||||
/* SPDX-FileCopyrightText: Copyright © 2025 Pauli Virtanen */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
|
||||
#ifndef SPA_BLUEZ5_HFP_CODEC_CAPS_H_
|
||||
#define SPA_BLUEZ5_HFP_CODEC_CAPS_H_
|
||||
|
||||
#include <spa/param/bluetooth/audio.h>
|
||||
|
||||
#define HFP_AUDIO_CODEC_CVSD 0x01
|
||||
#define HFP_AUDIO_CODEC_MSBC 0x02
|
||||
#define HFP_AUDIO_CODEC_LC3_SWB 0x03
|
||||
|
||||
#define HFP_H2_PACKET_SIZE 60
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue