2acde4e29655106904c51048a6c30e73dfddeac9
[apps/home/volume-app.git] / src / _sound.h
1 /*
2  * Copyright 2012  Samsung Electronics Co., Ltd
3  * 
4  * Licensed under the Flora License, Version 1.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.tizenopensource.org/license
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 __VOLUME_SOUND_H__
19 #define __VOLUME_SOUND_H__
20
21 #include <mm_sound.h>
22
23 int _init_svi();
24 int _init_mm_sound(void *data);
25 int _get_volume_type_max(void);
26 int _get_title(volume_type_t type, char *label, int size);
27 int _get_sound_level(volume_type_t type, int *val);
28 int _get_step(int type);
29 void _play_vib(int handle);
30 void _play_sound(int type, int handle);
31 void _mm_func(void *data);
32 int _set_icon(void * data, int val);
33 int _set_sound_level(volume_type_t type, int val);
34
35 #endif
36 /* __VOLUME_SOUND_H__ */