Commit: a887b1a1b91fcb7fc1ddc052cafe1818230d97db
Parent: 441f95a9c146bcace5023847ff9fbe39eaf44716
Author: Per Waagø <pwaago@cisco.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2025-09-11 20:28:53
Tree: 9ce7d684e7c5570d0cc578cc5feb260eb66a47e4

audio: Add support for specific error codes for A2DP configuration The A2DP specification defines error codes that shall be used if the codec capabilities contain improper settings. This change allows clients to trigger the sending of these specific error codes by returning the corresponding error messages from MediaEndpoint1.SetConfiguration. This update is fully backwards compatible: clients passing other error messages will continue to receive the default error code as before. On older BlueZ versions, these new errors will also result in the default error code, enabling clients to implement support for the new errors without breaking compatibility. This change enables passing A2DP/SNK/AVP/* and A2DP/SRC/AVP/* qualification tests.

Diffstat

M profiles/audio/a2dp.c | 78 ++++++++++++++++++++++++++++++++++++++++- - - - - -
M profiles/audio/a2dp.h | 43 ++++++++++++++++++++++++++++++++++++++++-
M profiles/audio/avdtp.c | 4 ++- -
M profiles/audio/media.c | 20 ++++++++++++- - - - - - - -

4 files changed, 128 insertions(+), 17 deletions(-)

View Full Diff | Patch