commit | bdf66c4693c8775dc3c4a403cbae77a56d4b1e29 | [log] [tgz] |
---|---|---|
author | Pali Rohár <pali.rohar@gmail.com> | Tue Aug 27 08:41:27 2019 +0530 |
committer | Arun Raghavan <arun@arunraghavan.net> | Tue Aug 27 08:44:27 2019 +0530 |
tree | 9e226d6e7b1ea5bc12849be248494abb14328c4c | |
parent | 1172daf19b06a4169ba26cde570566f14a3ebdf2 [diff] |
bluetooth: Only perform write-related calculations when we have a sink This avoids a potential divide-by-zero when we try to decide how much to write to the sink in the source thread when there is no sink. Fixes https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/717