mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Add new field 'pcmStreamId' in LeAudioBroadcastConfiguration am: c1aea3238f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2429182 Change-Id: Icc34337a5e59f606cb873edc967cb7d2ffaa2941 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -41,5 +41,6 @@ parcelable LeAudioBroadcastConfiguration {
|
||||
char streamHandle;
|
||||
int audioChannelAllocation;
|
||||
android.hardware.bluetooth.audio.LeAudioCodecConfiguration leAudioCodecConfig;
|
||||
char pcmStreamId;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -35,6 +35,10 @@ parcelable LeAudioBroadcastConfiguration {
|
||||
*/
|
||||
int audioChannelAllocation;
|
||||
LeAudioCodecConfiguration leAudioCodecConfig;
|
||||
/*
|
||||
* Pcm stream id to identify the source for given streamHandle.
|
||||
*/
|
||||
char pcmStreamId;
|
||||
}
|
||||
CodecType codecType;
|
||||
BroadcastStreamMap[] streamMap;
|
||||
|
||||
@@ -1570,6 +1570,10 @@ TEST_P(BluetoothAudioProviderLeAudioBroadcastHardwareAidl,
|
||||
le_audio_broadcast_config.streamMap[0]
|
||||
.leAudioCodecConfig.set<LeAudioCodecConfiguration::lc3Config>(
|
||||
lc3_config);
|
||||
le_audio_broadcast_config.streamMap[0].streamHandle = 0x0;
|
||||
le_audio_broadcast_config.streamMap[0].pcmStreamId = 0x0;
|
||||
le_audio_broadcast_config.streamMap[0].audioChannelAllocation = 0x1 << 0;
|
||||
|
||||
DataMQDesc mq_desc;
|
||||
auto aidl_retval = audio_provider_->startSession(
|
||||
audio_port_, AudioConfiguration(le_audio_broadcast_config),
|
||||
|
||||
Reference in New Issue
Block a user