• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2021 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 package android.media;
17 
18 /**
19  * {@hide}
20  */
21 @Backing(type="int")
22 enum AudioPolicyForcedConfig {
23     NONE = 0,
24     SPEAKER = 1,
25     HEADPHONES = 2,
26     BT_SCO = 3,
27     BT_A2DP = 4,
28     WIRED_ACCESSORY = 5,
29     BT_CAR_DOCK = 6,
30     BT_DESK_DOCK = 7,
31     ANALOG_DOCK = 8,
32     DIGITAL_DOCK = 9,
33     NO_BT_A2DP = 10, /* A2DP sink is not preferred to speaker or wired HS */
34     SYSTEM_ENFORCED = 11,
35     HDMI_SYSTEM_AUDIO_ENFORCED = 12,
36     ENCODED_SURROUND_NEVER = 13,
37     ENCODED_SURROUND_ALWAYS = 14,
38     ENCODED_SURROUND_MANUAL = 15,
39 }
40