Cleanup: remove LE audio hardware offload supported by openProvider_2_1
LE audio hardware offload would be supported after the temporal bluetooth.audio@2.2 or bluetooth.audio aidl version. The workable audio configuration and capabilities format do not exist in bluetooth.audio@2.1. Remove the support in the 2.1 HAL default implementation. Bug: 197296692 Bug: 150670922 Test: make build Change-Id: I6ff3f6ada43474cadb026bf8b58d64adaf5ea477
This commit is contained in:
parent
3a16f8fe50
commit
4831b6ac72
3 changed files with 0 additions and 18 deletions
|
@ -41,12 +41,8 @@ HearingAidAudioProvider
|
|||
BluetoothAudioProvidersFactory::hearing_aid_provider_instance_;
|
||||
LeAudioOutputAudioProvider
|
||||
BluetoothAudioProvidersFactory::leaudio_output_provider_instance_;
|
||||
LeAudioOffloadOutputAudioProvider
|
||||
BluetoothAudioProvidersFactory::leaudio_offload_output_provider_instance_;
|
||||
LeAudioInputAudioProvider
|
||||
BluetoothAudioProvidersFactory::leaudio_input_provider_instance_;
|
||||
LeAudioOffloadInputAudioProvider
|
||||
BluetoothAudioProvidersFactory::leaudio_offload_input_provider_instance_;
|
||||
|
||||
Return<void> BluetoothAudioProvidersFactory::openProvider(
|
||||
const V2_0::SessionType sessionType, openProvider_cb _hidl_cb) {
|
||||
|
@ -94,15 +90,9 @@ Return<void> BluetoothAudioProvidersFactory::openProvider_2_1(
|
|||
case SessionType::LE_AUDIO_SOFTWARE_ENCODING_DATAPATH:
|
||||
provider = &leaudio_output_provider_instance_;
|
||||
break;
|
||||
case SessionType::LE_AUDIO_HARDWARE_OFFLOAD_ENCODING_DATAPATH:
|
||||
provider = &leaudio_offload_output_provider_instance_;
|
||||
break;
|
||||
case SessionType::LE_AUDIO_SOFTWARE_DECODED_DATAPATH:
|
||||
provider = &leaudio_input_provider_instance_;
|
||||
break;
|
||||
case SessionType::LE_AUDIO_HARDWARE_OFFLOAD_DECODING_DATAPATH:
|
||||
provider = &leaudio_offload_input_provider_instance_;
|
||||
break;
|
||||
default:
|
||||
status = BluetoothAudioStatus::FAILURE;
|
||||
}
|
||||
|
|
|
@ -56,8 +56,6 @@ class BluetoothAudioProvidersFactory : public IBluetoothAudioProvidersFactory {
|
|||
static HearingAidAudioProvider hearing_aid_provider_instance_;
|
||||
static LeAudioOutputAudioProvider leaudio_output_provider_instance_;
|
||||
static LeAudioInputAudioProvider leaudio_input_provider_instance_;
|
||||
static LeAudioOffloadOutputAudioProvider leaudio_offload_output_provider_instance_;
|
||||
static LeAudioOffloadInputAudioProvider leaudio_offload_input_provider_instance_;
|
||||
};
|
||||
|
||||
extern "C" IBluetoothAudioProvidersFactory*
|
||||
|
|
|
@ -98,15 +98,9 @@ Return<void> BluetoothAudioProvidersFactory::openProvider_2_1(
|
|||
case V2_1::SessionType::LE_AUDIO_SOFTWARE_ENCODING_DATAPATH:
|
||||
provider = &leaudio_output_provider_instance_;
|
||||
break;
|
||||
case V2_1::SessionType::LE_AUDIO_HARDWARE_OFFLOAD_ENCODING_DATAPATH:
|
||||
provider = &leaudio_offload_output_provider_instance_;
|
||||
break;
|
||||
case V2_1::SessionType::LE_AUDIO_SOFTWARE_DECODED_DATAPATH:
|
||||
provider = &leaudio_input_provider_instance_;
|
||||
break;
|
||||
case V2_1::SessionType::LE_AUDIO_HARDWARE_OFFLOAD_DECODING_DATAPATH:
|
||||
provider = &leaudio_offload_input_provider_instance_;
|
||||
break;
|
||||
default:
|
||||
status = BluetoothAudioStatus::FAILURE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue