leaudio: Add BAP and CSIP integration along with audio path
LE Audio implements PAC handling, device grouping into sets, audio policy by the content type, group stream management, broadcast etc. Devices are always part of the group which creates sets. Sets can be managed by the LeAudio system service which has an API to add/remove specific devices to/from the group. Any stream operations are done by the LeAudio system service with a usage of the group_id. Note, this group_id is not the same number as the CIG_ID however, we might say it has the same meaning. When devices are part of a coordinated set (CSIS), then LeAudio implementation will discover all of them and notify upper layer about them. Upper layers are to decide to bond CSIS devices. Native code will group them. Fluoride also integrates Android Audio 2.1 framework and once stream is established then Le Audio session is opened and ready to receive periodically (up to implementation) audio data from media server (16bit, 16kHz/24kHz/32kHz/48kHz PCM - up to policy implementation) from the audio system. PCM frames are encoded by LC3 codec (system/bt/embdrv/lc3) and pushed over HCI to the controller. Bug: 150670922 Tag: #feature Sponsor: jpawlowski@ Test: atest --host bluetooth_le_audio_test bluetooth_le_audio_client_test Change-Id: I25d9422fb2b43843a59a9e398fac1e09c7e4869c
Showing
- system/binder/android/bluetooth/IBluetoothLeAudio.aidl 1 addition, 0 deletionssystem/binder/android/bluetooth/IBluetoothLeAudio.aidl
- system/bta/Android.bp 117 additions, 0 deletionssystem/bta/Android.bp
- system/bta/csis/csis_client.cc 1 addition, 1 deletionsystem/bta/csis/csis_client.cc
- system/bta/include/bta_le_audio_api.h 48 additions, 0 deletionssystem/bta/include/bta_le_audio_api.h
- system/bta/le_audio/client.cc 2839 additions, 0 deletionssystem/bta/le_audio/client.cc
- system/bta/le_audio/client_audio.cc 573 additions, 0 deletionssystem/bta/le_audio/client_audio.cc
- system/bta/le_audio/client_audio.h 131 additions, 0 deletionssystem/bta/le_audio/client_audio.h
- system/bta/le_audio/client_audio_test.cc 519 additions, 0 deletionssystem/bta/le_audio/client_audio_test.cc
- system/bta/le_audio/client_parser.cc 628 additions, 0 deletionssystem/bta/le_audio/client_parser.cc
- system/bta/le_audio/client_parser.h 242 additions, 0 deletionssystem/bta/le_audio/client_parser.h
- system/bta/le_audio/client_parser_test.cc 1647 additions, 0 deletionssystem/bta/le_audio/client_parser_test.cc
- system/bta/le_audio/devices.cc 1778 additions, 0 deletionssystem/bta/le_audio/devices.cc
- system/bta/le_audio/devices.h 315 additions, 0 deletionssystem/bta/le_audio/devices.h
- system/bta/le_audio/devices_test.cc 898 additions, 0 deletionssystem/bta/le_audio/devices_test.cc
- system/bta/le_audio/le_audio_client_test.cc 2644 additions, 0 deletionssystem/bta/le_audio/le_audio_client_test.cc
- system/bta/le_audio/le_audio_types.cc 409 additions, 0 deletionssystem/bta/le_audio/le_audio_types.cc
- system/bta/le_audio/le_audio_types.h 952 additions, 0 deletionssystem/bta/le_audio/le_audio_types.h
- system/bta/le_audio/le_audio_types_test.cc 162 additions, 0 deletionssystem/bta/le_audio/le_audio_types_test.cc
- system/bta/le_audio/mock_iso_manager.cc 155 additions, 0 deletionssystem/bta/le_audio/mock_iso_manager.cc
- system/bta/le_audio/mock_iso_manager.h 74 additions, 0 deletionssystem/bta/le_audio/mock_iso_manager.h
Loading
Please register or sign in to comment