blob: 38bd9bd48ac8e308d6915f81d229b35d4fdf88fa [file] [log] [blame]
Jitendra Naruka1b6513f2014-11-22 19:34:13 -08001/*
2 * (C) 2014 DTS, Inc.
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 EFFECT_UTIL_H_
18#define EFFECT_UTIL_H_
19
20#ifdef DTS_EAGLE
21
22#include <cutils/properties.h>
23#include <sys/stat.h>
24#include <fcntl.h>
25
26enum {
27 EFFECT_TYPE_EQ = 0,
28 EFFECT_TYPE_VIRT,
29 EFFECT_TYPE_BB,
30};
31
32enum {
33 EFFECT_SET_PARAM = 0,
34 EFFECT_ENABLE_PARAM,
35};
36
37
38#define EFFECT_NO_OP 0
39#define PCM_DEV_ID 9
40
41void create_effect_state_node(int device_id);
42void update_effects_node(int device_id, int effect_type, int enable_or_set, int enable_disable, int strength, int band, int level);
43void remove_effect_state_node(int device_id);
44
45#endif /*DTS_EAGLE*/
46
47#endif /*EFFECT_UTIL_H_*/