fix audiodevice cycle hotkey
[vlc/asuraparaju-public.git] / include / vlc_devices.h
blobba0d5f809007c6a07f8d8c1f91f63ff17cce04cf
1 /*****************************************************************************
2 * vlc_devices.h : Devices handling
3 *****************************************************************************
4 * Copyright (C) 1999-2006 the VideoLAN team
5 * $Id$
7 * Authors: Clément Stenac <zorglub@videolan.org>
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
22 *****************************************************************************/
24 #ifndef VLC_DEVICES_H
25 #define VLC_DEVICES_H 1
27 /**
28 * \file
29 * This file implements functions, structures for probing devices (DVD, CD, VCD)
32 enum
34 DEVICE_CAN_DVD,
35 DEVICE_CAN_CD,
38 enum
40 MEDIA_TYPE_CDDA,
41 MEDIA_TYPE_VCD,
42 MEDIA_TYPE_DVD,
45 struct device_t
47 int i_capabilities;
48 int i_media_type;
49 bool b_seen;
50 char *psz_uri;
51 char *psz_name;
54 struct device_probe_t
56 VLC_COMMON_MEMBERS;
57 int i_devices;
58 device_t **pp_devices;
60 probe_sys_t *p_sys;
61 void ( *pf_run ) ( device_probe_t * ); /** Run function */
64 static inline void device_GetDVD(void)
68 #endif