• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2020 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 AudioSourceType {
23     INVALID = -1,
24     DEFAULT = 0,
25     MIC = 1,
26     VOICE_UPLINK = 2,
27     VOICE_DOWNLINK = 3,
28     VOICE_CALL = 4,
29     CAMCORDER = 5,
30     VOICE_RECOGNITION = 6,
31     VOICE_COMMUNICATION = 7,
32     REMOTE_SUBMIX = 8,
33     UNPROCESSED = 9,
34     VOICE_PERFORMANCE = 10,
35     ECHO_REFERENCE = 1997,
36     FM_TUNER = 1998,
37     /**
38      * A low-priority, preemptible audio source for for background software
39      * hotword detection. Same tuning as VOICE_RECOGNITION.
40      * Used only internally by the framework.
41      */
42     HOTWORD = 1999,
43 }
44