bluez5: media-sink: bigger socket buffer

Bigger buffer allows for more fluctuation in transmission rate without
sound glitches.

It doesn't matter much for latency, as under normal conditions we are
not producing data faster than the BT adapter can transmit, so the
buffer generally is almost always empty or full, and in the latter case
we have to reduce the bitrate.
This commit is contained in:
Pauli Virtanen 2022-07-10 16:35:07 +03:00 committed by Wim Taymans
parent 8a3c1bedde
commit d231e2a1b1

View file

@ -68,7 +68,7 @@ struct props {
char clock_name[64];
};
#define FILL_FRAMES 2
#define FILL_FRAMES 4
#define MAX_BUFFERS 32
#define MIN_LATENCY 128
#define MAX_LATENCY 8192