Qt: adv options: fix RTL handling for synchronization
[vlc/solaris.git] / include / vlc_aout_intf.h
blob63dc2631a84281cfdc8e3d397eaf4f7c9cab8a6b
1 /*****************************************************************************
2 * vlc_aout_intf.h : audio output control
3 *****************************************************************************
4 * Copyright (C) 2002-2011 the VideoLAN team
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
19 *****************************************************************************/
21 #ifndef VLC_AOUT_INTF_H
22 #define VLC_AOUT_INTF_H 1
24 /**
25 * \file
26 * This file defines functions, structures and macros for audio output object
29 #define AOUT_VOLUME_DEFAULT 256
30 #define AOUT_VOLUME_MAX 512
32 VLC_API audio_volume_t aout_VolumeGet( vlc_object_t * );
33 #define aout_VolumeGet(a) aout_VolumeGet(VLC_OBJECT(a))
34 VLC_API int aout_VolumeSet( vlc_object_t *, audio_volume_t );
35 #define aout_VolumeSet(a, b) aout_VolumeSet(VLC_OBJECT(a), b)
36 VLC_API int aout_VolumeUp( vlc_object_t *, int, audio_volume_t * );
37 #define aout_VolumeUp(a, b, c) aout_VolumeUp(VLC_OBJECT(a), b, c)
38 #define aout_VolumeDown(a, b, c) aout_VolumeUp(a, -(b), c)
39 VLC_API int aout_ToggleMute( vlc_object_t *, audio_volume_t * );
40 #define aout_ToggleMute(a, b) aout_ToggleMute(VLC_OBJECT(a), b)
41 VLC_API int aout_SetMute( vlc_object_t *, audio_volume_t *, bool );
42 VLC_API bool aout_IsMuted( vlc_object_t * );
44 VLC_API void aout_EnableFilter( vlc_object_t *, const char *, bool );
45 #define aout_EnableFilter( o, n, b ) \
46 aout_EnableFilter( VLC_OBJECT(o), n, b )
48 #endif /* _VLC_AOUT_H */