Eric Laurent | fd84f97 | 2010-07-08 15:32:51 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2010 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 | #ifndef ANDROID_EFFECTPRESETREVERBAPI_H_ |
| 18 | #define ANDROID_EFFECTPRESETREVERBAPI_H_ |
| 19 | |
| 20 | #include <media/EffectApi.h> |
| 21 | |
| 22 | #if __cplusplus |
| 23 | extern "C" { |
| 24 | #endif |
| 25 | |
Eric Laurent | ca57d1c | 2010-07-23 00:19:11 -0700 | [diff] [blame] | 26 | #ifndef OPENSL_ES_H_ |
Eric Laurent | fd84f97 | 2010-07-08 15:32:51 -0700 | [diff] [blame] | 27 | static const effect_uuid_t SL_IID_PRESETREVERB_ = { 0x47382d60, 0xddd8, 0x11db, 0xbf3a, { 0x00, 0x02, 0xa5, 0xd5, 0xc5, 0x1b } }; |
| 28 | const effect_uuid_t * const SL_IID_PRESETREVERB = &SL_IID_PRESETREVERB_; |
Eric Laurent | ca57d1c | 2010-07-23 00:19:11 -0700 | [diff] [blame] | 29 | #endif //OPENSL_ES_H_ |
Eric Laurent | fd84f97 | 2010-07-08 15:32:51 -0700 | [diff] [blame] | 30 | |
| 31 | /* enumerated parameter settings for preset reverb effect */ |
| 32 | typedef enum |
| 33 | { |
| 34 | REVERB_PARAM_PRESET |
| 35 | } t_preset_reverb_params; |
| 36 | |
| 37 | |
| 38 | typedef enum |
| 39 | { |
| 40 | REVERB_PRESET_NONE, |
| 41 | REVERB_PRESET_SMALLROOM, |
| 42 | REVERB_PRESET_MEDIUMROOM, |
| 43 | REVERB_PRESET_LARGEROOM, |
| 44 | REVERB_PRESET_MEDIUMHALL, |
| 45 | REVERB_PRESET_LARGEHALL, |
Eric Laurent | a7e5648 | 2010-08-24 14:21:57 -0700 | [diff] [blame] | 46 | REVERB_PRESET_PLATE, |
| 47 | REVERB_PRESET_LAST = REVERB_PRESET_PLATE |
Eric Laurent | fd84f97 | 2010-07-08 15:32:51 -0700 | [diff] [blame] | 48 | } t_reverb_presets; |
| 49 | |
| 50 | #if __cplusplus |
| 51 | } // extern "C" |
| 52 | #endif |
| 53 | |
| 54 | |
| 55 | #endif /*ANDROID_EFFECTPRESETREVERBAPI_H_*/ |