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