summaryrefslogtreecommitdiffstats
path: root/include/media/EffectPresetReverbApi.h
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2010-07-08 19:10:46 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-07-08 19:10:46 -0700
commit0f399ec640f223dd372741832b1b98f2ee449379 (patch)
tree75249cd184d7f26974b8a771b117a1e47a2eacf8 /include/media/EffectPresetReverbApi.h
parentbbfe0b2264703c243e2e74631abd26fdf4459e36 (diff)
parentb4b0f67a4743503a024b1dce758acf53d9fb86f7 (diff)
downloadframeworks_base-0f399ec640f223dd372741832b1b98f2ee449379.zip
frameworks_base-0f399ec640f223dd372741832b1b98f2ee449379.tar.gz
frameworks_base-0f399ec640f223dd372741832b1b98f2ee449379.tar.bz2
am b4b0f67a: am fd84f97a: Added JAVA classes to control bass boost, equalizer, reverberation and virtualizer Effects.
Merge commit 'b4b0f67a4743503a024b1dce758acf53d9fb86f7' * commit 'b4b0f67a4743503a024b1dce758acf53d9fb86f7': Added JAVA classes to control bass boost, equalizer, reverberation and virtualizer Effects.
Diffstat (limited to 'include/media/EffectPresetReverbApi.h')
-rw-r--r--include/media/EffectPresetReverbApi.h54
1 files changed, 54 insertions, 0 deletions
diff --git a/include/media/EffectPresetReverbApi.h b/include/media/EffectPresetReverbApi.h
new file mode 100644
index 0000000..34ffffe
--- /dev/null
+++ b/include/media/EffectPresetReverbApi.h
@@ -0,0 +1,54 @@
+/*
+ * Copyright (C) 2010 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ANDROID_EFFECTPRESETREVERBAPI_H_
+#define ANDROID_EFFECTPRESETREVERBAPI_H_
+
+#include <media/EffectApi.h>
+
+#if __cplusplus
+extern "C" {
+#endif
+
+// TODO: include OpenSLES_IID.h instead
+
+static const effect_uuid_t SL_IID_PRESETREVERB_ = { 0x47382d60, 0xddd8, 0x11db, 0xbf3a, { 0x00, 0x02, 0xa5, 0xd5, 0xc5, 0x1b } };
+const effect_uuid_t * const SL_IID_PRESETREVERB = &SL_IID_PRESETREVERB_;
+
+/* enumerated parameter settings for preset reverb effect */
+typedef enum
+{
+ REVERB_PARAM_PRESET
+} t_preset_reverb_params;
+
+
+typedef enum
+{
+ REVERB_PRESET_NONE,
+ REVERB_PRESET_SMALLROOM,
+ REVERB_PRESET_MEDIUMROOM,
+ REVERB_PRESET_LARGEROOM,
+ REVERB_PRESET_MEDIUMHALL,
+ REVERB_PRESET_LARGEHALL,
+ REVERB_PRESET_PLATE
+} t_reverb_presets;
+
+#if __cplusplus
+} // extern "C"
+#endif
+
+
+#endif /*ANDROID_EFFECTPRESETREVERBAPI_H_*/