summaryrefslogtreecommitdiff
path: root/daemon/media.h
blob: 05a0ad7502c24571241cc74f20a6c24c84ba04e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
 * Copyright 2012  Samsung Electronics Co., Ltd
 *
 * Licensed under the Flora License, Version 1.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://floralicense.org
 *
 * 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 __QUICKPANEL_MEDIA_H__
#define __QUICKPANEL_MEDIA_H__

#include <player.h>
#include <feedback.h>

#define QP_PLAY_DURATION_LIMIT 15

void quickpanel_player_play(sound_type_e sound_type, const char *sound_file);
void quickpanel_player_stop(void);
int quickpanel_is_sound_enabled(void);
int quickpanel_is_vib_enabled(void);
void quickpanel_play_feedback(void);
int quickpanel_set_mute_toggle(void);

#endif