]> git.sesse.net Git - vlc/blob - include/control.h
Initial revision
[vlc] / include / control.h
1 /*******************************************************************************
2  * control.h: user control functions
3  * (c)1999 VideoLAN
4  *******************************************************************************
5  * Library of functions common to all interfaces, allowing access to various
6  * structures and settings. Interfaces should only use those functions
7  * to read or write informations from other threads.
8  *******************************************************************************
9  * Required headers:
10  *  <pthread.h>
11  *  <sys/uio.h>
12  *  <X11/Xlib.h>
13  *  <X11/extensions/XShm.h>
14  *  "config.h"
15  *  "common.h"
16  *  "mtime.h"
17  *  "input.h"
18  *  "video.h"
19  *  "video_output.h"
20  *  "xconsole.h"
21  *  "interface.h"
22  *******************************************************************************/
23
24 /*******************************************************************************
25  * Prototypes
26  *******************************************************************************/
27 int     intf_CreateVoutThread   ( intf_thread_t *p_intf, char *psz_title, 
28                                   int i_width, int i_height );
29 void    intf_DestroyVoutThread  ( intf_thread_t *p_intf, int i_thread );
30 int     intf_CreateInputThread  ( intf_thread_t *p_intf, input_cfg_t* p_cfg );
31 void    intf_DestroyInputThread ( intf_thread_t *p_intf, int i_thread );
32
33 int     intf_SelectAudioStream  ( intf_thread_t *p_intf, int i_input, int i_id );
34 void    intf_DeselectAudioStream( intf_thread_t *p_intf, int i_input, int i_id );
35 int     intf_SelectVideoStream  ( intf_thread_t *p_intf, int i_input, 
36                                   int i_vout, int i_id );
37 void    intf_DeselectVideoStream( intf_thread_t *p_intf, int i_input, int i_id );
38
39
40