mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
Fix typos
This commit is contained in:
parent
379068c31d
commit
47ef2b6b09
35 changed files with 53 additions and 53 deletions
|
|
@ -529,14 +529,14 @@ static int do_start(struct impl *this)
|
|||
/* Do accept if Gateway; otherwise do connect for Head Unit */
|
||||
do_accept = this->transport->profile & SPA_BT_PROFILE_HEADSET_AUDIO_GATEWAY;
|
||||
|
||||
/* acquire the socked fd (false -> connect | true -> accept) */
|
||||
/* acquire the socket fd (false -> connect | true -> accept) */
|
||||
if ((res = spa_bt_transport_acquire(this->transport, do_accept)) < 0)
|
||||
return res;
|
||||
|
||||
/* Init mSBC if needed */
|
||||
if (this->transport->codec == HFP_AUDIO_CODEC_MSBC) {
|
||||
sbc_init_msbc(&this->msbc, 0);
|
||||
/* Libsbc expects audio samples by default in host endianity, mSBC requires little endian */
|
||||
/* Libsbc expects audio samples by default in host endianness, mSBC requires little endian */
|
||||
this->msbc.endian = SBC_LE;
|
||||
|
||||
/* write_mtu might not be correct at this point, so we'll throw
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue