[Mplayer-cvslog] CVS: main/DOCS mplayer.1,1.42,1.43 tech-eng.txt,1.12,1.13 tech-hun.txt,1.9,1.10

Berczi Gabor gabucino at users.sourceforge.net
Mon Jun 4 10:06:22 CEST 2001


Update of /cvsroot/mplayer/main/DOCS
In directory usw-pr-cvs1:/tmp/cvs-serv664/DOCS

Modified Files:
	mplayer.1 tech-eng.txt tech-hun.txt 
Log Message:

commitus interruptus


Index: mplayer.1
===================================================================
RCS file: /cvsroot/mplayer/main/DOCS/mplayer.1,v
retrieving revision 1.42
retrieving revision 1.43
diff -C2 -r1.42 -r1.43
*** mplayer.1	2001/06/03 05:04:52	1.42
--- mplayer.1	2001/06/04 08:06:20	1.43
***************
*** 8,11 ****
--- 8,12 ----
  .B mplayer
  .RB [ \-vo\ output\ driver ]
+ .RB [ \-ao\ output\ driver ]
  .RB [ \-vcd\ track\ number ]
  .RB [ \-sb\ byte\ position ]
***************
*** 38,41 ****
--- 39,43 ----
  .RB [ \-nodshow ]
  .RB [ \-sdl\ driver ]
+ .RB [ \-sdla\ driver ]
  .RB [ \-noxv ]
  .RB [ \-forcexv ]
***************
*** 49,52 ****
--- 51,55 ----
  .RB [ \-dvdkey\ key ]
  .RB [ \-stereo\ mode ]
+ .RB [ \-srate\ Hz ]
  .I - or file
  .PP
***************
*** 70,75 ****
  Every "flag" option has "noflag" pair, e.g. -fs opposite is -nofs
  .TP
! .BI \-vo\ output\ driver
! select output driver
  
  you can get the list of available drivers executing
--- 73,78 ----
  Every "flag" option has "noflag" pair, e.g. -fs opposite is -nofs
  .TP
! .B \-vo\ video\ output\ driver
! select video output driver
  
  you can get the list of available drivers executing
***************
*** 77,80 ****
--- 80,90 ----
  
  .TP
+ .B \-ao\ audio\ output\ driver
+ select audio output driver
+ 
+ you can get the list of available drivers executing
+ .I mplayer -ao help
+ 
+ .TP
  .B \-vcd\ track
  play video cd track from device instead of plain file
***************
*** 205,209 ****
  .TP
  .B \-sdl\ driver
! specify SDL driver to use. For example: aalib, dga, fbdev, svga, x11, ggi
  .TP
  .B \-noxv
--- 215,222 ----
  .TP
  .B \-sdl\ driver
! specify SDL video driver to use. For example: aalib, dga, fbdev, svga, x11, ggi
! .TP
! .B \-sdla\ driver
! specify SDL audio driver to use. For example: esd
  .TP
  .B \-noxv
***************
*** 238,241 ****
--- 251,257 ----
          Right channel  2
  
+ .TP
+ .B \-srate Hz
+ specifies Hz to playback audio on. Has effect on playback speed!
  .IP
  .SH "ALPHA/BETA CODE"

Index: tech-eng.txt
===================================================================
RCS file: /cvsroot/mplayer/main/DOCS/tech-eng.txt,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** tech-eng.txt	2001/05/25 17:37:12	1.12
--- tech-eng.txt	2001/06/04 08:06:20	1.13
***************
*** 233,235 ****
--- 233,278 ----
  	 real. This is 'swapbuffers' when double-buffering.
  
+ 6. libao2: this control audio playing
+ 
+   As in libvo (see 5.) also here are some drivers, based on the same API:
+ 
+ statis int control(int cmd, int arg);
+   This is for reading/setting driver-specific and other special parameters.
+   Not really used for now.
+ 
+ static int init(int rate,int channels,int format,int flags);
+   The init of driver, opens device, sets sample rate, channels, sample format
+   parameters.
+   Sample format: usually AFMT_S16_LE or AFMT_U8, for more definitions see
+   dec_audio.c and linux/soundcards.h files!
+ 
+ static void uninit();
+   Guess what.
+   Ok I help: closes the device, not (yet) called when exit.
+ 
+ statis void reset();
+   Resets device. To be exact, it's for deleting buffers' contents,
+   so after reset() the previously received stuff won't be output.
+   (called if pause or seek)
+ 
+ static int get_space();
+   Returns how many bytes can be written into the audio buffer without
+   blocking (making caller process wait). If the buffer is (nearly) full,
+   has to return 0!
+   If it never gives 0, MPlayer won't work!
+ 
+ static int play(void* data,int len,int flags);
+   Plays a bit of audio, which is received throught the "data" memory area, with
+   a size of "len". The "flags" isn't used yet. It has to copy the data, because
+   they can be overwritten after the call is made. Doesn't really have to use
+   all the bytes, it has to give back how many have been used (copied to
+   buffer).
+ 
+ static int get_delay();
+   Has to return how many bytes are in the audio buffer. Be exact, if possible,
+   since the whole timing depends on this! In the worst case, return the size
+   of the buffer.
+ 
+ !!! Because the video is synchronized to the audio (card), it's very important
+ !!! that the get_space and get_delay are working!
  

Index: tech-hun.txt
===================================================================
RCS file: /cvsroot/mplayer/main/DOCS/tech-hun.txt,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** tech-hun.txt	2001/06/03 20:53:27	1.9
--- tech-hun.txt	2001/06/04 08:06:20	1.10
***************
*** 286,289 ****
  
  !!!  Mivel a kep a hanghoz (hangkartyahoz) van szinkronizalva, igy nagyon
! !!!  fontos hogy a get-space ill. get_delay fuggvenyek korrektul legyenek megirva!
  
--- 286,289 ----
  
  !!!  Mivel a kep a hanghoz (hangkartyahoz) van szinkronizalva, igy nagyon
! !!!  fontos hogy a get_space ill. get_delay fuggvenyek korrektul legyenek megirva!
  


_______________________________________________
Mplayer-cvslog mailing list
Mplayer-cvslog at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog



More information about the MPlayer-cvslog mailing list