OSDN Git Service

Merge "Make inlines static"
[android-x86/system-media.git] / audio / include / system / audio_effects / audio_effects_conf.h
1 /*
2  * Copyright (C) 2011 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
17
18 #ifndef ANDROID_AUDIO_EFFECTS_CONF_H
19 #define ANDROID_AUDIO_EFFECTS_CONF_H
20
21
22 /////////////////////////////////////////////////
23 //      Definitions for effects configuration file (audio_effects.conf)
24 /////////////////////////////////////////////////
25
26 #define AUDIO_EFFECT_DEFAULT_CONFIG_FILE "/system/etc/audio_effects.conf"
27 #define AUDIO_EFFECT_VENDOR_CONFIG_FILE "/vendor/etc/audio_effects.conf"
28 #define LIBRARIES_TAG "libraries"
29 #define PATH_TAG "path"
30
31 #define EFFECTS_TAG "effects"
32 #define LIBRARY_TAG "library"
33 #define UUID_TAG "uuid"
34
35 #define PREPROCESSING_TAG "pre_processing"
36 #define OUTPUT_SESSION_PROCESSING_TAG "output_session_processing"
37
38 #define PARAM_TAG "param"
39 #define VALUE_TAG "value"
40 #define INT_TAG "int"
41 #define SHORT_TAG "short"
42 #define FLOAT_TAG "float"
43 #define BOOL_TAG "bool"
44 #define STRING_TAG "string"
45
46 // audio_source_t
47 #define MIC_SRC_TAG "mic"                           // AUDIO_SOURCE_MIC
48 #define VOICE_UL_SRC_TAG "voice_uplink"             // AUDIO_SOURCE_VOICE_UPLINK
49 #define VOICE_DL_SRC_TAG "voice_downlink"           // AUDIO_SOURCE_VOICE_DOWNLINK
50 #define VOICE_CALL_SRC_TAG "voice_call"             // AUDIO_SOURCE_VOICE_CALL
51 #define CAMCORDER_SRC_TAG "camcorder"               // AUDIO_SOURCE_CAMCORDER
52 #define VOICE_REC_SRC_TAG "voice_recognition"       // AUDIO_SOURCE_VOICE_RECOGNITION
53 #define VOICE_COMM_SRC_TAG "voice_communication"    // AUDIO_SOURCE_VOICE_COMMUNICATION
54 #define UNPROCESSED_SRC_TAG "unprocessed"           // AUDIO_SOURCE_UNPROCESSED
55
56 // audio_stream_type_t
57 #define AUDIO_STREAM_DEFAULT_TAG "default"
58 #define AUDIO_STREAM_VOICE_CALL_TAG "voice_call"
59 #define AUDIO_STREAM_SYSTEM_TAG "system"
60 #define AUDIO_STREAM_RING_TAG "ring"
61 #define AUDIO_STREAM_MUSIC_TAG "music"
62 #define AUDIO_STREAM_ALARM_TAG "alarm"
63 #define AUDIO_STREAM_NOTIFICATION_TAG "notification"
64 #define AUDIO_STREAM_BLUETOOTH_SCO_TAG "bluetooth_sco"
65 #define AUDIO_STREAM_ENFORCED_AUDIBLE_TAG "enforced_audible"
66 #define AUDIO_STREAM_DTMF_TAG "dtmf"
67 #define AUDIO_STREAM_TTS_TAG "tts"
68
69 #endif  // ANDROID_AUDIO_EFFECTS_CONF_H