annotate Gui/mplayer/play.h @ 2671:555cb027c7a7

fixed warnings
author michael
date Sun, 04 Nov 2001 03:07:02 +0000
parents b55163894e30
children fd44ecf77f8d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
1
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
2 #ifndef __GUI_PLAY_H
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
3 #define __GUI_PLAY_H
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
4
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
5 #include "./psignal.h"
1795
4dde03edb55e add mplayer.h
pontscho
parents: 1765
diff changeset
6 #include "./mplayer.h"
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
7
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
8 typedef struct
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
9 {
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
10 int x;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
11 int y;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
12 int width;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
13 int height;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
14 } mplResizeStruct;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
15
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
16 typedef struct
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
17 {
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
18 int signal;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
19 char module[512];
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
20 } mplUnknowErrorStruct;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
21
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
22 typedef struct
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
23 {
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
24 int seek;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
25 int format;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
26 int width;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
27 int height;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
28 char codecdll[128];
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
29 } mplVideoStruct;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
30
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
31 typedef struct
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
32 {
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
33 int message;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
34 mplResizeStruct resize;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
35 mplVideoStruct videodata;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
36 mplUnknowErrorStruct error;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
37
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
38 int Playing;
1847
773ae4ba43f5 add voluechanged
pontscho
parents: 1823
diff changeset
39 float Position;
773ae4ba43f5 add voluechanged
pontscho
parents: 1823
diff changeset
40
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
41 float Volume;
1847
773ae4ba43f5 add voluechanged
pontscho
parents: 1823
diff changeset
42 int VolumeChanged;
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
43 float Balance;
1847
773ae4ba43f5 add voluechanged
pontscho
parents: 1823
diff changeset
44 int Mute;
773ae4ba43f5 add voluechanged
pontscho
parents: 1823
diff changeset
45
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
46 int Track;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
47 int AudioType;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
48 int StreamType;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
49 int TimeSec;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
50 int LengthInSec;
1823
a6c67352ccac fix some bug.
pontscho
parents: 1813
diff changeset
51 int FrameDrop;
1813
c68e82514f56 add filenamechanged
pontscho
parents: 1802
diff changeset
52
1743
b266f763cad3 fix playing
pontscho
parents: 1693
diff changeset
53 char Filename[4096];
1813
c68e82514f56 add filenamechanged
pontscho
parents: 1802
diff changeset
54 int FilenameChanged;
1802
82e77faa7341 async reply fix ?
pontscho
parents: 1801
diff changeset
55
82e77faa7341 async reply fix ?
pontscho
parents: 1801
diff changeset
56 int SkinChange;
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
57 } mplCommStruct;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
58
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
59 extern mplCommStruct * mplShMem;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
60 extern char * Filename;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
61
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
62 extern int mplParent;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
63
1765
29913c011d50 normal size
pontscho
parents: 1755
diff changeset
64 extern int moviex;
29913c011d50 normal size
pontscho
parents: 1755
diff changeset
65 extern int moviey;
29913c011d50 normal size
pontscho
parents: 1755
diff changeset
66 extern int moviewidth;
29913c011d50 normal size
pontscho
parents: 1755
diff changeset
67 extern int movieheight;
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
68
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
69 extern mplCommStruct * mplShMem;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
70
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
71 extern void mplMPlayerInit( int argc,char* argv[], char *envp[] );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
72
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
73 extern void mplStop();
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
74 extern void mplFullScreen( void );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
75 extern void mplPlay( void );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
76 extern void mplPause( void );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
77 extern void mplResize( unsigned int X,unsigned int Y,unsigned int width,unsigned int height );
1952
b55163894e30 compile bug fixed.
pontscho
parents: 1858
diff changeset
78 extern void mplResizeToMovieSize( unsigned int width,unsigned int height );
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
79
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
80 extern void mplIncAudioBufDelay( void );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
81 extern void mplDecAudioBufDelay( void );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
82
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
83 extern void mplRelSeek( float s );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
84 extern void mplAbsSeek( float s );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
85 extern float mplGetPosition( void );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
86
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
87 extern void mplPlayFork( void );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
88 extern void mplSigHandler( int s );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
89 extern void mplPlayerThread( void );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
90
1801
e16646a140fd fix skin change
pontscho
parents: 1795
diff changeset
91 extern void ChangeSkin( void );
1802
82e77faa7341 async reply fix ?
pontscho
parents: 1801
diff changeset
92 extern void EventHandling( void );
1801
e16646a140fd fix skin change
pontscho
parents: 1795
diff changeset
93
e16646a140fd fix skin change
pontscho
parents: 1795
diff changeset
94 #endif