CRAS: Add SetPlayerDuration Function to cras_audio_client
Add a new function in cras_audio_client to support propagate media track duration/length to Chrome OS via DBUS CRAS Control Interface. As Bluetooth Stack (BlueZ) and MPRIS defined media duration to be a part of metadata, SetPlayerDuration function will wrap the duration informatio into the metadata format and forward it to DBUS. BUG=b:147365563 TEST=chromeos_unittests Change-Id: I3a6b91247a58f8898fa05f0dfe89195cdbfe7c8c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2081262 Commit-Queue: Michael Sun <michaelfsun@google.com> Reviewed-by:Jenny Zhang <jennyz@chromium.org> Cr-Commit-Position: refs/heads/master@{#746994}
Showing
Please register or sign in to comment