Eric Laurent | d6dc06b | 2011-07-06 18:18:13 -0700 | [diff] [blame] | 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" |
bryant_liu | c696111 | 2014-06-11 17:17:40 +0800 | [diff] [blame] | 36 | #define OUTPUT_SESSION_PROCESSING_TAG "output_session_processing" |
| 37 | |
Eric Laurent | d6dc06b | 2011-07-06 18:18:13 -0700 | [diff] [blame] | 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" |
Glenn Kasten | e6e2f48 | 2012-01-09 10:43:12 -0800 | [diff] [blame] | 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 |
Eric Laurent | d6dc06b | 2011-07-06 18:18:13 -0700 | [diff] [blame] | 54 | |
bryant_liu | c696111 | 2014-06-11 17:17:40 +0800 | [diff] [blame] | 55 | // audio_stream_type_t |
| 56 | #define AUDIO_STREAM_DEFAULT_TAG "default" |
| 57 | #define AUDIO_STREAM_VOICE_CALL_TAG "voice_call" |
| 58 | #define AUDIO_STREAM_SYSTEM_TAG "system" |
| 59 | #define AUDIO_STREAM_RING_TAG "ring" |
| 60 | #define AUDIO_STREAM_MUSIC_TAG "music" |
| 61 | #define AUDIO_STREAM_ALARM_TAG "alarm" |
| 62 | #define AUDIO_STREAM_NOTIFICATION_TAG "notification" |
| 63 | #define AUDIO_STREAM_BLUETOOTH_SCO_TAG "bluetooth_sco" |
| 64 | #define AUDIO_STREAM_ENFORCED_AUDIBLE_TAG "enforced_audible" |
| 65 | #define AUDIO_STREAM_DTMF_TAG "dtmf" |
| 66 | #define AUDIO_STREAM_TTS_TAG "tts" |
Eric Laurent | d6dc06b | 2011-07-06 18:18:13 -0700 | [diff] [blame] | 67 | |
| 68 | #endif // ANDROID_AUDIO_EFFECTS_CONF_H |