]> git.sesse.net Git - vlc/blob - include/stream_output.h
* Fixed a variable overflow bug in the audio output.
[vlc] / include / stream_output.h
1 /*****************************************************************************
2  * stream_output.h : stream output module
3  *****************************************************************************
4  * Copyright (C) 2002 VideoLAN
5  * $Id: stream_output.h,v 1.1 2002/08/12 22:12:50 massiot Exp $
6  *
7  * Authors: Christophe Massiot <massiot@via.ecp.fr>
8  *
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.
13  * 
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.
18  *
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., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
22  *****************************************************************************/
23
24 /*****************************************************************************
25  * sout_instance_t: stream output thread descriptor
26  *****************************************************************************/
27 struct sout_instance_t
28 {
29     VLC_COMMON_MEMBERS
30
31     char * psz_dest;
32     char * psz_access;
33     char * psz_mux;
34     char * psz_name;
35
36     module_t * p_access;
37     module_t * p_mux;
38 };
39
40 /*****************************************************************************
41  * Prototypes
42  *****************************************************************************/
43 #define sout_NewInstance(a,b) __sout_NewInstance(VLC_OBJECT(a),b)
44 VLC_EXPORT( sout_instance_t *, __sout_NewInstance,  ( vlc_object_t *, char * ) );
45 VLC_EXPORT( void,              sout_DeleteInstance, ( sout_instance_t * ) );
46
47 sout_fifo_t *   sout_CreateFifo     ( void );
48 void            sout_DestroyFifo    ( sout_fifo_t * );
49 void            sout_FreeFifo       ( sout_fifo_t * );
50