| /* |
| * 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 bluetooth.fbs.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; |