Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 91a58f19 authored by Hsin-Yu Chao's avatar Hsin-Yu Chao
Browse files

A2DP encoding host: implement data position

* To allow the audio stack to get correct value from GetPresentationPosition
* Data position and read bytes values get reset everytime at StartRequest
* Remote delay value gets reset at end_session()
* CLOCK_MONOTONIC_RAW is used so the timespec value isn't affected
by NTP.

Tag: #floss
Bug: 192351589
Test: Build on Chrome OS. Execute
dbus-send --system  --type=method_call --print-reply \
  --dest=org.chromium.bluetooth /org/chromium/bluetooth/hci0/media \
  org.chromium.bluetooth.BluetoothMedia.GetPresentationPosition \
  string:<address>

Change-Id: Ife6fbc28f933cef636c90b66342163a631b4e91b
parent 09973e2e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment