Home
last modified time | relevance | path

Searched refs:stream_params (Results 1 – 11 of 11) sorted by relevance

/packages/modules/Bluetooth/system/bta/le_audio/
Dmock_codec_manager.cc70 const types::BidirectionalPair<stream_parameters>& stream_params, in UpdateActiveAudioConfig() argument
76 return pimpl_->UpdateActiveAudioConfig(stream_params, delays_ms, in UpdateActiveAudioConfig()
161 const stream_parameters& stream_params, uint8_t direction) { in UpdateCisConfiguration() argument
163 return pimpl_->UpdateCisConfiguration(cises, stream_params, direction); in UpdateCisConfiguration()
Ddevice_groups.cc132 stream_conf.stream_params.get(direction).clear(); in ClearSinksFromConfiguration()
140 stream_conf.stream_params.get(direction).clear(); in ClearSourcesFromConfiguration()
153 cig.cises, stream_conf.stream_params.get(direction), direction); in UpdateCisConfiguration()
160 stream_conf.stream_params.sink.stream_locations; in Cleanup()
162 stream_conf.stream_params.source.stream_locations; in Cleanup()
1725 auto& sink_stream_locations = stream_conf.stream_params.sink.stream_locations; in IsCisPartOfCurrentStream()
1733 stream_conf.stream_params.source.stream_locations; in IsCisPartOfCurrentStream()
1748 auto old_sink_channels = stream_conf.stream_params.sink.num_of_channels; in RemoveCisFromStreamIfNeeded()
1749 auto old_source_channels = stream_conf.stream_params.source.num_of_channels; in RemoveCisFromStreamIfNeeded()
1753 auto& params = stream_conf.stream_params.get(dir); in RemoveCisFromStreamIfNeeded()
[all …]
Dle_audio_client_test.cc991 stream_conf->stream_params.source.stream_locations.begin(), in SetUpMockGroups()
992 stream_conf->stream_params.source.stream_locations.end(), in SetUpMockGroups()
998 stream_conf->stream_params.source.stream_locations.end()) { in SetUpMockGroups()
999 stream_conf->stream_params.source.stream_locations.emplace_back( in SetUpMockGroups()
1003 stream_conf->stream_params.source.num_of_devices++; in SetUpMockGroups()
1004 stream_conf->stream_params.source.num_of_channels += in SetUpMockGroups()
1012 stream_conf->stream_params.source.num_of_devices, in SetUpMockGroups()
1013 stream_conf->stream_params.source.num_of_channels); in SetUpMockGroups()
1017 stream_conf->stream_params.sink.stream_locations.begin(), in SetUpMockGroups()
1018 stream_conf->stream_params.sink.stream_locations.end(), in SetUpMockGroups()
[all …]
Dcodec_manager.cc169 const types::BidirectionalPair<stream_parameters>& stream_params, in UpdateActiveAudioConfig()
184 if (stream_params.get(direction).stream_locations.empty()) { in UpdateActiveAudioConfig()
196 .sampling_rate = stream_params.get(direction).sample_frequency_hz, in UpdateActiveAudioConfig()
197 .frame_duration = stream_params.get(direction).frame_duration_us, in UpdateActiveAudioConfig()
199 stream_params.get(direction).octets_per_codec_frame, in UpdateActiveAudioConfig()
201 stream_params.get(direction).codec_frames_blocks_per_sdu, in UpdateActiveAudioConfig()
741 const stream_parameters& stream_params, in UpdateCisConfiguration()
748 AdjustAllocationForOffloader(stream_params.audio_channel_allocation); in UpdateCisConfiguration()
793 for (const auto& s : stream_params.stream_locations) { in UpdateCisConfiguration()
1257 const types::BidirectionalPair<stream_parameters>& stream_params, in UpdateActiveAudioConfig() argument
[all …]
Dmock_codec_manager.h59 bluetooth::le_audio::stream_parameters>& stream_params,
100 const bluetooth::le_audio::stream_parameters& stream_params,
Dcodec_manager.h111 const stream_parameters& stream_params, uint8_t direction);
120 const types::BidirectionalPair<stream_parameters>& stream_params,
Dclient.cc3375 const struct bluetooth::le_audio::stream_parameters& stream_params) { in PrepareAndSendToTwoCises() argument
3389 for (auto [cis_handle, audio_location] : stream_params.stream_locations) { in PrepareAndSendToTwoCises()
3398 uint16_t byte_count = stream_params.octets_per_codec_frame; in PrepareAndSendToTwoCises()
3433 const struct bluetooth::le_audio::stream_parameters& stream_params) { in PrepareAndSendToSingleCis() argument
3434 uint16_t num_channels = stream_params.num_of_channels; in PrepareAndSendToSingleCis()
3435 uint16_t cis_handle = stream_params.stream_locations.front().first; in PrepareAndSendToSingleCis()
3446 uint16_t byte_count = stream_params.octets_per_codec_frame; in PrepareAndSendToSingleCis()
3471 if (stream_conf->stream_params.sink.stream_locations.size() == 0) { in GetStreamSinkConfiguration()
3491 if ((stream_conf.stream_params.sink.num_of_devices > 2) || in OnAudioDataReady()
3492 (stream_conf.stream_params.sink.num_of_devices == 0) || in OnAudioDataReady()
[all …]
Dcodec_manager_test.cc461 types::BidirectionalPair<stream_parameters> stream_params{ in TEST_F() local
497 codec_manager->UpdateCisConfiguration(cises, stream_params.sink, in TEST_F()
499 codec_manager->UpdateCisConfiguration(cises, stream_params.source, in TEST_F()
505 stream_params, {.sink = 44, .source = 44}, in TEST_F()
552 stream_params, {.sink = 44, .source = 44}, in TEST_F()
Dle_audio_types.h1384 types::BidirectionalPair<stream_parameters> stream_params; member
Dstate_machine_test.cc7684 ASSERT_EQ(group->stream_conf.stream_params.sink.num_of_devices, 2); in TEST_F()
7685 ASSERT_EQ(group->stream_conf.stream_params.sink.num_of_channels, 2); in TEST_F()
7693 ASSERT_EQ(group->stream_conf.stream_params.sink.num_of_devices, 0); in TEST_F()
7694 ASSERT_EQ(group->stream_conf.stream_params.sink.num_of_channels, 0); in TEST_F()
Dstate_machine.cc1362 auto& params = group->stream_conf.stream_params.get(ase->direction); in AddCisToStreamConfiguration()