Loading system/bta/le_audio/client.cc +24 −19 Original line number Diff line number Diff line Loading @@ -4814,9 +4814,8 @@ public: return remote_metadata; } /* Return true if stream is started */ bool ReconfigureOrUpdateRemote(LeAudioDeviceGroup* group, int remote_direction) { if (stack_config_get_interface()->get_pts_force_le_audio_multiple_contexts_metadata()) { bool ReconfigureOrUpdateRemoteForPTS(LeAudioDeviceGroup* group, int remote_direction) { log::info("{}", group->group_id_); // Use common audio stream contexts exposed by the PTS auto override_contexts = AudioContexts(0xFFFF); for (auto device = group->GetFirstDevice(); device != nullptr; Loading @@ -4838,6 +4837,12 @@ public: return GroupStream(active_group_id_, new_configuration_context, remote_contexts); } /* Return true if stream is started */ bool ReconfigureOrUpdateRemote(LeAudioDeviceGroup* group, int remote_direction) { if (stack_config_get_interface()->get_pts_force_le_audio_multiple_contexts_metadata()) { return ReconfigureOrUpdateRemoteForPTS(group, remote_direction); } /* When the local sink and source update their metadata, we need to come up * with a coherent set of contexts for either one or both directions, * especially when bidirectional scenarios can be triggered be either sink Loading Loading
system/bta/le_audio/client.cc +24 −19 Original line number Diff line number Diff line Loading @@ -4814,9 +4814,8 @@ public: return remote_metadata; } /* Return true if stream is started */ bool ReconfigureOrUpdateRemote(LeAudioDeviceGroup* group, int remote_direction) { if (stack_config_get_interface()->get_pts_force_le_audio_multiple_contexts_metadata()) { bool ReconfigureOrUpdateRemoteForPTS(LeAudioDeviceGroup* group, int remote_direction) { log::info("{}", group->group_id_); // Use common audio stream contexts exposed by the PTS auto override_contexts = AudioContexts(0xFFFF); for (auto device = group->GetFirstDevice(); device != nullptr; Loading @@ -4838,6 +4837,12 @@ public: return GroupStream(active_group_id_, new_configuration_context, remote_contexts); } /* Return true if stream is started */ bool ReconfigureOrUpdateRemote(LeAudioDeviceGroup* group, int remote_direction) { if (stack_config_get_interface()->get_pts_force_le_audio_multiple_contexts_metadata()) { return ReconfigureOrUpdateRemoteForPTS(group, remote_direction); } /* When the local sink and source update their metadata, we need to come up * with a coherent set of contexts for either one or both directions, * especially when bidirectional scenarios can be triggered be either sink Loading