Parent: 5d7e6a64b2fcfcfbabe46b9587f11de2989eff71
Author: Arkadiusz Bokowy <arkadiusz.bokowy@gmail.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2024-10-15 18:04:35
Tree: 836efaac19f55430aa724abe8a1afc8fca14c8c7
transport: Delay existence based on delay reporting capability In case when the existence of the delay property is based on its value not being zero it is not possible to read the delay if sink sets it to zero on purpose (or it was not updated by the sink at all). However, client might expect it to be readable, if SEP reports delay reporting as available. Instead of checking the value, we should check the capabilities of the AVDTP stream. Also, by doing that we can allow this property to be writable in the future - the exists() callback is used in the properties_set() function as well.
Diffstat
| M | profiles/audio/avdtp.c | | | 4 | ++++ |
| M | profiles/audio/avdtp.h | | | 1 | + |
| M | profiles/audio/transport.c | | | 27 | ++++++++++++++++++++- - - - - - - |
3 files changed, 25 insertions(+), 7 deletions(-)