Add a mechanism for configuring the A2DP Source codecs

* Introduced new generic API for representing A2DP codec configuration
  or capability: codec type, priority, sample rate, bits per sample,
  channel mode, and codec-specific fields.
  The new structure is btav_a2dp_codec_config_t

* Split the A2DP callback structure into two: one for A2DP Source callbacks,
  and one for A2DP Sink callbacks:
  OLD: btav_callbacks_t
  NEW: btav_source_callbacks_t and btav_sink_callbacks_t

* Split the A2DP BT-AV interface into two: one for A2DP Source, and one for
  A2DP Sink:
  OLD: btav_interface_t
  NEW: btav_source_interface_t and btav_sink_interface_t

Test: A2DP streaming to headsets, TestPlans/71390
Bug: 30958229
Change-Id: If6a10bb95eb0fa4106123283b934d372aebad2bc
1 file changed