Skip to content
Snippets Groups Projects
  1. Aug 24, 2023
    • Jakub Tyszkowski's avatar
      LeAudio: Offloader related code encapsulation Part 2 · 634365bb
      Jakub Tyszkowski authored
      Bug: 295972694
      Test: atest bluetooth_le_audio_test bluetooth_le_audio_client_test  bluetooth_test_broadcaster bluetooth_test_broadcaster_state_machine
      Change-Id: I772e238c11d5b821b0b49ab1bad0891c551d6a2e
      634365bb
    • Jakub Tyszkowski's avatar
      LeAudio: Offloader related code encapsulation Part 1 · eedc7a29
      Jakub Tyszkowski authored
      This will be needed for the multi-codec support.
      
      Bug: 295972694
      Test: atest bluetooth_le_audio_test bluetooth_le_audio_client_test  bluetooth_test_broadcaster bluetooth_test_broadcaster_state_machine
      Change-Id: I785a0f697ca49ec8a54cb7c7ebf3574e03530b90
      eedc7a29
    • Jakub Tyszkowski's avatar
      LeAudio: Correct header inclusion chain for le_audio_types.h · b4f42764
      Jakub Tyszkowski authored
      This file is included by multiple modules and should not include
      any redundant headers, adding more dependencies than needed.
      The other modules should rather directly include headers for the
      API they use.
      
      Bug: 295972694
      Test: atest bluetooth_le_audio_test bluetooth_le_audio_client_test  bluetooth_test_broadcaster bluetooth_test_broadcaster_state_machine
      Change-Id: Iaa1876ff6279fa2d979c65fdb2182a405d395a2b
      b4f42764
    • Jakub Tyszkowski's avatar
      LeAudio: Improve BidirectionalPair type · 615f26a8
      Jakub Tyszkowski authored
       - Changed get() to follow the common idiom, while copy constructor
      will be called anyway if non-reference type is on the left hand side
      of the assignment. There is no need for explicit reference getter.
      
       - It no longer requires comparison operators, which may no be defined
      for the more complex types.
      
       - For the more complex types a single bidirectional value cannot be
       computed (e.g. a bidirectional pair of ASEs).
      
      This allows us to wrap more complex types and simplify the code further.
      
      Bug: 295972694
      Test: atest bluetooth_le_audio_test bluetooth_le_audio_client_test  bluetooth_test_broadcaster bluetooth_test_broadcaster_state_machine
      Change-Id: I35518479075732d8aa87082dd9267864161f43b3
      615f26a8
    • Jakub Tyszkowski's avatar
      LeAudio: Improve data path setup · 5558bf9b
      Jakub Tyszkowski authored
      The data path configuration should be provided by the audio set
      configuration provider. For now, these are based on the current
      codec location (either HOST or ADSP). In future this should
      be provided from the vendor interface over the AIDL.
      
      Bug: 295972694
      Test: atest bluetooth_le_audio_test bluetooth_le_audio_client_test bluetooth_test_broadcaster bluetooth_test_broadcaster_state_machine
      Change-Id: If39a1d1ac089f236e4ed9258644c197a57f1e723
      5558bf9b
    • Jakub Tyszkowski's avatar
      LeAudio: Bind configuration provider life time with the Codec Manager · 565f4ad6
      Jakub Tyszkowski authored
      In the near future, the Codec Manager, will become the main source for
      the audio set configurations.
      
      Bug: 295972694
      Test: atest bluetooth_le_audio_test bluetooth_le_audio_client_test bluetooth_test_broadcaster bluetooth_test_broadcaster_state_machine
      Change-Id: Id779e17385aef8e675794a90726329e72c0de6f4
      565f4ad6
    • Jakub Tyszkowski's avatar
      LeAudio: Fix not releasing the codec resources · 2b409cfe
      Jakub Tyszkowski authored
      After stream gets suspended and the active group goes to IDLE state, we
      should be cleaning up the codec. It gets created when the stream is
      resumed.
      
      Bug: 295972694
      Bug: 262481440
      Test: manually - start, stop stream and wait, then resume and observe no warning about the encoder instance not being destroyed
      Change-Id: I781e603e0453984841821197c139f2b8927173bf
      2b409cfe
    • Jakub Tyszkowski's avatar
      LeAudio: Introduce codec wrapper interface · cff48f93
      Jakub Tyszkowski authored
      This extracts the encoding logic from client.cc,
      for better code separation and maintainance.
      
      Bug: 295972694
      Bug: 262481440
      Bug: 262481609
      Test: atest bluetooth_le_audio_client_test bluetooth_le_audio_test bluetooth_test_broadcaster_state_machine bluetooth_test_broadcaster
      Change-Id: Iee2d1a53c0a0955a8ff7bdd0e9e705ad17159cd9
      cff48f93
  2. Aug 23, 2023
  3. Aug 22, 2023
  4. Aug 21, 2023
    • Rongxuan Liu's avatar
      [le audio] Fix crash when terminating big during streaming · 811abfd8
      Rongxuan Liu authored
      There could be one case that BIG is teared down due to BT shut down.
      We need to validate iso_impl_ before using it.
      
      Bug: 291516832
      Tag: #bug
      Test: atest net_test_btm_iso
      Test: manual test with BT off and confirm no crash
      Change-Id: Id3612d0f5651f91d5f7e871c6c38624c072cd874
      811abfd8
    • Rongxuan Liu's avatar
      [le audio] BassClient multiple sources handling improvement · 77bad2da
      Rongxuan Liu authored
      Current code doesn't handle multiple sources well. It might have race
      conditions and cause unsynced source got reported, and following PAST
      operation might fail because of this.
      
      This commit improved the handling of multiple sources for BassClient,
      1. We need to make sure all notified sources are managable by
         maintaining the syncs.
      2. Limit the max active synced sources.
      3. Clean up the source properly when source or sink lost.
      
      Bug: 294456735
      Tag: #bug
      Test: atest BassClientStateMachineTest BassClientServiceTest
      Test: manually test assistant with two sources
      Change-Id: Ib69563a342f3f093997902fbf6252bd9626550b3
      77bad2da
    • Rongxuan Liu's avatar
      [le audio] BassClient clear notified flag before new scanning · edca0897
      Rongxuan Liu authored
      Bug: 287357243
      Tag: #bug
      Test: atest BassClientServiceTest
      Test: manually test assistant to observe sources are always notified
      Change-Id: Id6deecbee5429ff3c5337cfe1e588586679f00e8
      edca0897
Loading