~ubuntu-branches/ubuntu/quantal/linphone/quantal

« back to all changes in this revision

Viewing changes to mediastreamer/msxine.h

  • Committer: Bazaar Package Importer
  • Author(s): Samuel Mimram
  • Date: 2004-06-30 13:58:16 UTC
  • Revision ID: james.westby@ubuntu.com-20040630135816-wwx75gdlodkqbabb
Tags: upstream-0.12.2
ImportĀ upstreamĀ versionĀ 0.12.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
  The mediastreamer library aims at providing modular media processing and I/O
 
3
        for linphone, but also for any telephony application.
 
4
  Copyright (C) 2001  Simon MORLAT simon.morlat@linphone.org
 
5
                                                                                
 
6
  This library is free software; you can redistribute it and/or
 
7
  modify it under the terms of the GNU Lesser General Public
 
8
  License as published by the Free Software Foundation; either
 
9
  version 2.1 of the License, or (at your option) any later version.
 
10
 
 
11
  This library 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 GNU
 
14
  Lesser General Public License for more details.
 
15
 
 
16
  You should have received a copy of the GNU Lesser General Public
 
17
  License along with this library; if not, write to the Free Software
 
18
  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
19
*/
 
20
 
 
21
#ifndef MSXINE_H
 
22
#define MSXINE_H
 
23
 
 
24
 
 
25
#include "ms.h"
 
26
#include "msfilter.h"
 
27
 
 
28
#include <Xlib.h>
 
29
#include <xine.h>
 
30
#include <xine/video_out_x11.h>
 
31
 
 
32
struct _MSXine
 
33
{
 
34
        MSFilter parent;
 
35
        MSQueue *input[1];
 
36
        x11_visual_t vis;
 
37
        vo_driver_t *vo_driver;
 
38
        xine_t *engine;
 
39
};
 
40
 
 
41
 
 
42
typedef struct _MSXine MSXine;
 
43
        
 
44
struct _MSXineClass
 
45
{
 
46
        MSFilterClass parent_class;
 
47
        config_values_t *config;
 
48
        char **video_plugins;
 
49
        
 
50
};
 
51
 
 
52
typedef struct _MSXineClass MSXineClass;
 
53
        
 
54
 
 
55
#define MS_XINE(obj)    ((MSXine*)(obj))
 
56
#define MS_XINE_CLASS(klass)    ((MSXineClass*)(klass))
 
57
        
 
58
void ms_xine_init(MSXine *obj);
 
59
void ms_xine_class_init(MSXineClass *klass);
 
60
void ms_xine_uninit(MSXine *obj);
 
61
 
 
62
MSFilter * ms_xine_new();
 
63
void ms_xine_start(MSXine *obj);
 
64
void ms_xine_stop(MSXine *obj);
 
65
 
 
66
 
 
67
void ms_xine_destroy(MSXine *obj);
 
68
 
 
69
#endif
 
 
b'\\ No newline at end of file'