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 PARAM_TAG "param" 37 #define VALUE_TAG "value" 38 #define INT_TAG "int" 39 #define SHORT_TAG "short" 40 #define FLOAT_TAG "float" 41 #define BOOL_TAG "bool" 42 #define STRING_TAG "string" 43 44 // audio_source_t 45 #define MIC_SRC_TAG "mic" // AUDIO_SOURCE_MIC 46 #define VOICE_UL_SRC_TAG "voice_uplink" // AUDIO_SOURCE_VOICE_UPLINK 47 #define VOICE_DL_SRC_TAG "voice_downlink" // AUDIO_SOURCE_VOICE_DOWNLINK 48 #define VOICE_CALL_SRC_TAG "voice_call" // AUDIO_SOURCE_VOICE_CALL 49 #define CAMCORDER_SRC_TAG "camcorder" // AUDIO_SOURCE_CAMCORDER 50 #define VOICE_REC_SRC_TAG "voice_recognition" // AUDIO_SOURCE_VOICE_RECOGNITION 51 #define VOICE_COMM_SRC_TAG "voice_communication" // AUDIO_SOURCE_VOICE_COMMUNICATION 52 53 54 #endif // ANDROID_AUDIO_EFFECTS_CONF_H 55