pulseaudio/src
Pali Rohár 018b38ec39 bluetooth: Fix usage of MTU, buffer sizes and return values of encode/decode methods
Add explanation why minimal bitpool value is used in SBC codec as initial
bitpool value for A2DP source.

Set buffer size for reading/writing from/to A2DP socket to exact link MTU
value. This would ensure that A2DP codec does not produce larger packet as
maximal possible size which can be sent.

Because A2DP socket is of SOCK_SEQPACKET type, it is guaranteed that
we do not read two packets via one read/recvmsg call.

Properly check for all return values of encode/encode methods of A2DP codec
functions. They may fail at different levels. Also encode or decode API
method may return zero length buffer (e.g. because of algorithmic delay of
codec), so do not fail in this case.
2019-07-24 17:29:45 +03:00
..
daemon Commit fd9e3452 removed -ffast-math from the compile flags. Under some 2019-07-23 20:48:23 +00:00
modules bluetooth: Fix usage of MTU, buffer sizes and return values of encode/decode methods 2019-07-24 17:29:45 +03:00
pulse mainloop: fix timeout assignment in pa_mainloop_prepare 2019-06-09 13:40:14 +00:00
pulsecore svolume: Mark channel parameter as earlyclobber 2019-07-15 13:50:16 +00:00
tests atomic: fix load and store for armv7 and higher 2019-06-11 19:04:46 +03:00
utils pasuspender: explain program argument in help 2019-07-16 06:23:50 +00:00
.gitignore .gitignore: add atomic-test 2019-06-15 11:14:33 +03:00
depmod.py update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
Makefile.am Commit fd9e3452 removed -ffast-math from the compile flags. Under some 2019-07-23 20:48:23 +00:00
map-file thread-mainloop: Add API for running a callback unlocked 2019-03-31 09:18:37 +00:00
meson.build meson: Add systemduserunitdir option 2019-06-08 11:57:00 +02:00