android_device_peter_gsi/bluetooth/audio/utils/le_audio_configuration_set/audio_set_scenarios.fbs
Peter Cai ddcc0a5fed sysbta: Sync with r29
* Currently not working on my MTK devices. Investigation ongoing.
2024-03-12 22:51:16 -04:00

37 lines
1.5 KiB
Plaintext

/*
* Copyright (c) 2022 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
namespace aidl.android.hardware.bluetooth.audio.le_audio;
/// Scenario represents the use case such as "Media", "Conversation", etc.
/// Each scenario can list any number of codec configurations by their names in
/// the order of preference. That means if the first entry does not meet all
/// the current requirements (such as peer device capabilities etc.) next
/// configurations are being checked.
///
/// The referenced codec configurations are defined by the
/// audio_set_configurations.fbs schema and loaded from a different source file.
/// Multiple scenarios can reference same codec configurations.
table AudioSetScenario {
_comments_: [string];
name: string (key, required);
configurations: [string] (required);
}
table AudioSetScenarios {
_comments_: [string];
scenarios: [AudioSetScenario] (required);
}
root_type AudioSetScenarios;