[Mplayer-cvslog] CVS: main/Gui events.c,1.10,1.11 events.h,1.12,1.13 interface.c,1.18,1.19 interface.h,1.12,1.13

Zoltan Ponekker pontscho at mplayerhq.hu
Wed Jul 3 00:32:21 CEST 2002


Update of /cvsroot/mplayer/main/Gui
In directory mail:/var/tmp.root/cvs-serv10383/Gui

Modified Files:
	events.c events.h interface.c interface.h 
Log Message:
add -audiofile support for gui

Index: events.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/events.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- events.c	25 Jun 2002 23:23:32 -0000	1.10
+++ events.c	2 Jul 2002 22:31:48 -0000	1.11
@@ -46,7 +46,8 @@
   { evLoadSubtitle,      "evLoadSubtitle"      },
   { evPlayDVD,		 "evPlayDVD"	       },
   { evPlayVCD,		 "evPlayVCD"	       },
-  { evSetURL,		 "evSetURL"	       }
+  { evSetURL,		 "evSetURL"	       },
+  { evLoadAudioFile,	 "evLoadAudioFile"     }
  };
 
 int evBoxs = sizeof( evNames ) / sizeof( evName );

Index: events.h
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/events.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- events.h	24 Jun 2002 08:54:59 -0000	1.12
+++ events.h	2 Jul 2002 22:31:48 -0000	1.13
@@ -50,6 +50,7 @@
 #define evPlayDVD           39
 #define evPlayVCD	    40
 #define evPlayNetwork       41
+#define evLoadAudioFile	    42
 
 #define evExit              1000
 

Index: interface.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/interface.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- interface.c	2 Jul 2002 13:35:01 -0000	1.18
+++ interface.c	2 Jul 2002 22:31:48 -0000	1.19
@@ -178,13 +178,6 @@
 #endif
 	break;
    case guiReDraw:
-//        if ( audio_out )
-//         {
-//	  float l,r;
- //	  mixer_getvolume( &l,&r );
-//	  guiIntfStruct.Volume=(r>l?r:l);
-//	  printf( "!!! guiIntfStruct.Volume: %.2f   \n",guiIntfStruct.Volume );
-//	 }
 	mplEventHandling( evRedraw,0 );
 	break;
    case guiSetVolume:

Index: interface.h
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/interface.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- interface.h	2 Jul 2002 13:35:01 -0000	1.12
+++ interface.h	2 Jul 2002 22:31:48 -0000	1.13
@@ -91,6 +91,9 @@
 
    char * Othername;
    int    OtherChanged;
+   
+   char * AudioFile;
+   int    AudioFileChanged;
 
    int    SkinChange;
 } guiInterface_t;




More information about the MPlayer-cvslog mailing list